License from €75 Log in
DE EN FR ES IT CZ

Need Help about creating a sort of slower/faster animation button

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 8 years ago
    I got this nice code:
    Animations["anim1"].AnimationPause = 100

    Now instead of that "100" a need to put a value from "set value", I've attached a screenshot to clearify better. How I do that?

    • Image in post
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 8 years ago
    this should do the trick :

    Animations["anim1"].AnimationPause = Values["name_of_VS_value"].Int
    
  4. · 8 years ago
    this should do the trick :

    Animations["anim1"].AnimationPause = Values["name_of_VS_value"].Int
    
    It works. Thank you very much.

  5. · 8 years ago
    You should wrap it in an if query so that the value is only incremented/decremented if the value if less than max or greater than min.
  6. · 8 years ago
    You should wrap it in an if query so that the value is only incremented/decremented if the value if less than max or greater than min.

    I'll put 3 buttons, slower, faster, and normal. The player will be able to play as slow as he want. But thank you anyway
  7. · 8 years ago
    fastest is 16ms (60fps), guess for slow you can do up to whatever you want.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?