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.
Comments
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.