How to skip frames?

0 favourites
  • 3 posts
From the Asset Store
Selection frame like in RTS games, works both on mobile and desktop devices.
  • I pre-rendered a 3d ball rolling at an extremely slow pace (60fps - 960frame animation) So that I could potentially figure out how to skip every other or 2/3 of frames when the ball is at a higher velocity. To be more specific, the goal is to have 480 frames play when the ball is moving twice as fast as it would with the base amount.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Construct can't play animations at speeds higher than the frame rate (which is a weird limitation in my opinion). So you will have to play the animation by changing frames with events. You can, for example, use Tween behavior - tween a value from 0 to 960 and while the tween is playing, set animation frame to Sprite.Tween("tag").value

  • I found a solution before seeing your reply, but that's good too. Mine was to Set frame to sprite.animationframe + Variable whenever a Boolean or another event is called upon.

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