Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Dave Stewart last won the day on July 10 2014

Dave Stewart had the most liked content!

Dave Stewart

Members
  • Content Count

    100
  • Joined

  • Last visited

  • Days Won

    1

Dave Stewart last won the day on July 10 2014

Dave Stewart had the most liked content!

Community Reputation

31 Newbie

About Dave Stewart

  • Rank
    Advanced Member

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    London, UK

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hey Toppy, I haven't looked at this since the last post in 2014! But thanks, I'm glad you found it interesting, I would like to release the code at some point, I should do that. I don't have any hard and fast advice on how to speed things up actually. Hopefully someone else will be able to help you there, or start a new thread if this one doesn't garner any more interest.
  2. Always thought LoaderMax should have a reporting mode, or complementary reporting class that spits out this kind of info for you. You just set up your files, tell it to load them, then when done it dumps the correct AS calls, XML (as above, but with sizes), or probably best - a standalone map of URL:KB sizes - for LoaderMax to reference next time.
  3. The only think I can think of is using SVG text and tweening the stroke width to fake it.
  4. Hi Carl, Thanks! But thanks even more for your's and Jack's (and everyone else's) help over the last month or so in getting me up to speed with GSAP, and the various peculiarities I seem to be so adept at finding! Could seriously not have got this completed without all the fine input received.
  5. I thought I would post the results of my foray into a JS scene manager. Here’s the final animation, which is entirely DOM based, which I’m pretty pleased with: http://g4s.davestewart.co.uk/animation.html It uses an HTML/JS framework I developed over the course of a few weeks (and I’ll probably work on some more) and the majority of the animation is of course handled by GSAP, along with animated GIFs, animated in Flash, but exported as PNGs then re-exported from PhotoShop (as it does a better job with colors). I had planned to build a spritesheet plugin for TweenMax to export anima
  6. So what you're saying then, is that all the code and UI is there waiting for some hungry community member to get on with it then ...
  7. An ease equation isn't actually isn't that hard to write. Google it, and write your own: https://www.google.co.uk/?q=how%20to%20write%20an%20ease%20equation#q=how+to+write+an+ease+equation
  8. Ha, don't worry! That'll be the last time you forget that one, eh
  9. Hey Jack, You know I set my alarm for 6am each morning, go for a 5 mile run, 50 press-ups, a few squat-thrusts, then settle down in front of the computer to find GreenSock bugs don't you? This comes back to our reset() / preset() / setup() conversation, right? I was thinking about that, and after looking through the API understood your reluctance to change things. My only other thought was to add an extra explicit parameter to set: public function set(target:Object, vars:Object, position:* = +=0, immediateRender:false):* But again, it felt like sticky-tape. And who knows when s
  10. If you place executable code in the head, it will run before the body (and your elements) have loaded, so will run, but won't find any #box elements to animate, so will do nothing. Either place the code in a script tag at the end of your page, after your elements, or use an onLoad handler, most commonly done these days using jQuery: $(function(){ // your code that will run when the page has loaded }); You can place this code before your elements if you need to, as it will be run after the page has loaded. (This is JavaScript learning, not GreenSock learning) Do remember to load jQ
  11. Sweet! All good info there chaps. Weirdly, I still get the clipping, even in 3D. I miss Flash
  12. Thanks Jack! That looks like it should be just the ticket. I've just implemented it into the animation with mixed results though. One part of the timeline paused and unpaused fine. Another, when resuming, seemed to jump back to a previous point in the animation - I'm not sure why. I'm still getting some other bits sorted, so I'll come back to this and give it some more testing at a later point. Really appreciate you taking the time and trouble to understand my requirements and work towards implementing a fix though.
  13. Sorry, that's exactly what I meant - - onUpdate: fired by the plugin on every update - onScroll: fired by the plugin in response to a user scroll Maybe it's a little ambiguous then Maybe onCancel? My thoughts were that "onInterrupt" feels a little wordy. Anyway. Ignore me
  14. Also, I'd probably opt for an event named "onScroll", as that's what's actually happening.
  15. I suspect that you'd only ever have one tween managing a page scroll, rather than 500+ like you might have in a game, so couldn't imagine a single object check for a vars.onInterrupt property would be a killer! Unless of course you're building the latest in hardware-accelerated page-scrolling games
×