Animation speed by Speed?

0 favourites
  • 5 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hello!

    Wondering if anyone knew of a way to set an animation speed, based off the speed of the sprites movement (in platform) Thanks!

  • To set a sprite animation you use the action:

    Sprite - Set animation speed (in the actions dialog it is in the section "Animation", "Set speed".

    Considering a sprite with a platform behavior, you can set said action to:

    Sprite.Platform.Speed

    Having a look at the sprite manual entry might provide assistance.

  • To set a sprite animation you use the action:

    Sprite - Set animation speed (in the actions dialog it is in the section "Animation", "Set speed".

    Considering a sprite with a platform behavior, you can set said action to:

    Sprite.Platform.Speed

    Having a look at the sprite manual entry might provide assistance.

    I understand how to set the speed of an animation, but I am wondering if it is possible to set the speed of the animation, based off the speed of the sprite when moving. Hope that clarifies. Thanks again!

  • <img src="https://dl.dropbox.com/u/36472942/construct/forumhelp/Set_animation_speed_to_platform_speed.PNG" border="0" />

    Hope it clarifies my previous instructions.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah ha! I understand. Thank you so much.

    So that "Sprite.Platform.Speed" is saying Target sprite, platform, speed of, right? Can I use this type of coding for all sort of different actions?

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