Navigation

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

    Need help with sprite animation

    Beginners
    3
    10
    346
    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.
    • poof92
      poof92 last edited by

      So I made a bow sprite I want the stro g to be pulled back and the return to normal every time I press a!

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

        I should be clear want the string to stretch when I press a

        1 Reply Last reply Reply Quote 0
        • LinkCraft
          LinkCraft F last edited by LinkCraft

          Like you want the animation to run every time you press a?

          poof92 1 Reply Last reply Reply Quote 0
          • poof92
            poof92 @LinkCraft last edited by

            @LinkCraft yes

            waldron 1 Reply Last reply Reply Quote 0
            • waldron
              waldron F @poof92 last edited by

              @poof92 it depends on the way you'v set up your animations and buttons,but the way i would do it is when A is pressed and held the string gets pulled back
              then i'd have when A released it would fire if this is what your after and need help implementing it im happy to help you set it up

              poof92 1 Reply Last reply Reply Quote 1
              • poof92
                poof92 @waldron last edited by

                @waldron Yeah I'd like that thanks.

                waldron 3 Replies Last reply Reply Quote 0
                • waldron
                  waldron F @poof92 last edited by

                  @poof92 cool il set something up and share it as an example give me 10 minutes :)

                  1 Reply Last reply Reply Quote 0
                  • waldron
                    waldron F @poof92 last edited by

                    @poof92 ok done iv set it up in a very simple way using sprite properties if you want me to add anything to the project to help give me a shout, i can submit it or do you want my friend code so i can share straight away either is fine with me ?

                    1 Reply Last reply Reply Quote 0
                    • waldron
                      waldron F @poof92 last edited by waldron

                      @poof92 iv submitted it (for p92) code;N2EUVMND5U
                      if c.zl then setspriteanimmation(plr,1,1,0) else setspriteanimmation(plr,0,0,0) endif
                      this is a simple way of doing it usually making a state engine for animations is best but for fast results this doe's the job.

                      poof92 1 Reply Last reply Reply Quote 1
                      • poof92
                        poof92 @waldron last edited by

                        @waldron Cool thanks I'll check it out!

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