Keyboard Input attribute?
ReMasteredGames
Member Posts: 101
Hi, my game uses keyboard controls, however I also want to add touch controls.
In rules, I can set "When touch is pressed - Do Keyboard Input"
This seemed like a simple way to do it. But it doesn't ask for a key input, it looks for an attribute.
Is there a simple way to add touch controls, by simply making the actor a "Virtual key" for a keyboard key if you will.
In rules, I can set "When touch is pressed - Do Keyboard Input"
This seemed like a simple way to do it. But it doesn't ask for a key input, it looks for an attribute.
Is there a simple way to add touch controls, by simply making the actor a "Virtual key" for a keyboard key if you will.
Comments
If you want to use a key on the keyboard to do something (like the arrow keys) you would make a rule on an actor that says when actor receives event key (enter what key you want to be pressed) is down: then inside put whatever you would want to happen when that key is day (like move right if key right is pressed)
zweg25
I already have keyboard controls set up, I know how to do that. What I'm not sure about is touch buttons.
I recommend that you Google touch controls gamesalad. There are videos and other resources available in the results.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
http://www.jamie-cross.net/?portfolio=gamesalad-simple-touch-controls
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page