Need Help with Left, Right and jump up
JoeMeister
Member Posts: 602
T-Shirtbooth I checked all your Demos and Tutorials but could't find anything about actors on screen navigating main Actor. Maybe I overlooked something. I've uploaded the game (for everybody to use) under my JoeMeister account.
Need to make the arrows on screen to navigate the little car. (left, right and up for jump).
Any help is much appreciated as always.
Need to make the arrows on screen to navigate the little car. (left, right and up for jump).
Any help is much appreciated as always.
Comments
You need three interger attributes. One named trigger left, one trigger right, and one trigger jump. Set there values to zero. For the actors you want to press to move the car (example: left arrow, right arrow, and up arrow) make a rule so when touch is pressed then add change attribue behavior, navigate to trigger left attribute( ill use left as example so you do this in the left arrow actor) and make it change to one. make another rule when touch is released change trigger left attribute to zero. then go into your car actor and make rule when attribute trigger left=1 then add a move behavior in the left direction. then repeat doing the steps you did in the left arrow actor to the right and up arrow, and add the rest of the rules to the car actor so when trigger right =1 move right and trigger up = 1 move up.
I tried my best to explain. eveerythings always going a mile a minute in my head lol. hope i helped