[Behavior] LiteTween

  • Updated to 1.5.1, added tween target to object... Please tell me if you found any bug

  • https://dl.dropbox.com/u/666516/r103easetweenPropertybug.capx

    Lots of weird stuff going on with the updates.

    Expected behavior for the capx is to "tween" from "current" to target x, and y.

    Had other issues just setting that up. Sometimes would warp to the correct target and slowly ease into position.

    Other times would just disappear.

  • newt, Sorry for the inconvenience, was changing alot of things, wasn't sure which case was broken with each successive 'patches'. :(

    Thank you very much for helping by testing this behavior... :)

    I think this one fixed it.

    PS: The speedup that happened when we drag the sprite in midtween was caused by a side effect that the behavior tried to keep the end time consistent with the start time. If you don't like that, I think you could put stop (at current position) action onDragStart.

  • Ok. Thanks, that works now.

  • Sweet! I really need something like this. I like the demo and I'm going to try it out now.

  • I'm still loving EaseTween, but my employers say that it causes lag on iOS so I had to remove it from their projects. Might there be code somewhere that could be optimized for performance? I would love to get your behavior working for products rather than basic straight movements!

  • <img src="smileys/smiley19.gif" border="0" align="middle" />

    I just finnished creating my Slides with Lerp, and then this piece of awesome comes along!

    Sight.. back and improve I guess..

    Thx for this great thing

    <img src="smileys/smiley41.gif" border="0" align="middle" />

  • Ok, This is insane!

    I just replaced my Lerp Slider with this, and it uses a fraction of events to do it way cooler !

    Awesome But GRRRR ! :D

  • This is just lame <img src="smileys/smiley36.gif" border="0" align="middle" />

    My Lerp Buttons:

    <img src="http://imageshack.us/a/img819/3166/mylonglerp.png" border="0" />

    Buttons with your EaseTween:

    <img src="http://imageshack.us/a/img684/5782/tweenbuttonsftw.png" border="0" />

    And Consider that my Version does not even apply any effects !

  • bWard

    Actually i find that rather strange, because I tried on my android project (1Ghz Xperia Arc) processor and it did not cause any lagg at all, but I haven't tried it on iOS. Are you deploying it using phonegap, in that case it will cause lagg. I recommend cocoonjs cloud compiling for speed, they really are fast. But I will also look at my codes and see if there're things i could strip down from the tick() method, I might make it faster that way.

    Ah, btw I found this blog by ashley extremely helpful

    scirra.com/blog/85/the-great-html5-mobile-gaming-performance-comparison

    Schoening

    I'm glad you liked my behavior... :> Many-many-many thanks for mentioning the behavior on your tutorial. :)

  • No problem!

    We should all try to improve the C2 games out there :D

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Very interesting. A great behavior indeed!

  • I made a project with EaseTween Behavior since 6/13/2012.

    After twice updates of this behavior,

    this project 3 months ago can't be opened today, it shows some action ID lost.

    It seems that the new version of EaseTween is incompatible with old ones.

    Fortunately I found the oldest version of EaseTween in my computer, so I can fix it.

    Maybe it will be better if there's a list of downloadable versions of this plugin,

    especially when there's any breaking change.

    Thanks, I love EaseTween.

    Keep the great work!

  • lunarray

    The incompatible was very huge between 1.0 and 1.5 -- they look like two different plugins I thought. It might better to change 1.5 to a new plugin (EaseTween2) I thought.

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)