Differences between screen touch and button press

micmamicma Member Posts: 66

Hey Gamesalad Community,
I'm making a game right now and for testing purposes on the computer, you are able to press a button on the keyboard to make your character jump, but when you click the button on the screen, it no longer works and the game glitches. I'm using the same code for both events, but I am pretty sure the reason is because the button press on the keyboard is a single command inside the actor while the touch on the screen is calling the command to happen from a different actor and something is going wrong. Sorry if this is hard to understand because I'm not sure of any clearer way to put it. :\

Thanks,
micma

Comments

Sign In or Register to comment.