I have my keyboard input grouped as an OR statement with the is touching object input, object set to the custom graphic I've drawn up for this game. The Keyboard portion of the IF-Than-OR statement is functioning Perfectly. Sadly I am having trouble adjusting the event to properly function as keyboard input as well as touch-screen capabilities input. Should I separate the two input methods or what would fix the issue?
-Thanks
Tha-Bomb
Develop games in your browser. Powerful, performant & highly capable.
Yeah, sometimes it's better to use separate events for each trigger, rather than a single OR-block. If they should run the same code, move it to a function, and call this function from each trigger.