Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Random work for animation

    Beginners
    2
    3
    210
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • waldron
      waldron F last edited by

      Can random work for animations,
      2 different idle animations ?

      1 Reply Last reply Reply Quote 0
      • Martin
        Martin Fuze Team last edited by

        You can certainly use random(2) to decide which of two setSpriteAnimation() commands to run. So yeah, sure.

        waldron 1 Reply Last reply Reply Quote 2
        • waldron
          waldron F @Martin last edited by

          @Martin awesome now I just need to figure out
          Entering a skid or turn animation. guessing I can do it with speed values and direction of player

          1 Reply Last reply Reply Quote 0
          • First post
            Last post