newbie needs help!

rex45rex45 Member Posts: 42
edited November -1 in Working with GS (Mac)
so im trying to make button to make a person walk and shoot. so how do i do this? (there 2two different buttons.)

Comments

  • rex45rex45 Member Posts: 42
    rex45 said:
    so im trying to make button to make a person walk and shoot. so how do i do this? (there two different buttons.)

  • rex45rex45 Member Posts: 42
    HELLLLP
  • simo103simo103 Member, PRO Posts: 1,331
    create two attributes one Walk one Shoot, integers value 0. In walk button put rule when touch is pressed change attribute Walk to 1. In Shoot button rule when touch is pressed change attribute Shoot to 1.

    In walking/shooting actor put rule when Walk =1 then the movement action and animate character. Also a rule when Shoot attribute is 1 then spawn the bullet actor.

    you need a bullet actor and movement behaviors in it.
Sign In or Register to comment.