Navigation

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

    How do I play diff animations? For one sprite.

    Comments & Feedback
    3
    5
    375
    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.
    • 91Pkay
      91Pkay last edited by

      As I am new, I need more help. So I’m making a little platformer to help my game making skills improve. But idk how to do different animations depending on what buttons your pressing. I need it so only when your walking (or using the joy stick) it plays the running animations, and when your standing still it plays the idle animations. image.jpg

      I’ve tried multiple things but it never worked.

      1 Reply Last reply Reply Quote 0
      • Skullo
        Skullo last edited by

        Hi! Try to create a state machine. To sum up, it would be great to create an array with all the states you want for your character and the animation frames for each state. You can take a look to my project X2A63MND1V if you need more details.

        91Pkay 1 Reply Last reply Reply Quote 1
        • 91Pkay
          91Pkay @Skullo last edited by

          @skullo Thanks for this! How do I get to your project?

          Skullo 1 Reply Last reply Reply Quote 1
          • waldron
            waldron F last edited by waldron

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Skullo
              Skullo @91Pkay last edited by

              @91pkay Hi! You can download it from the projects menu, by pressing X and then introducing the download code I cited on my last comment. I've just submitted a new version of my game yesterday so it is possible is not live at this moment (I can not check the current game status because I'm out from home these days).

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