Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Click on Interfaces. on interfaces, then i can see these things:
This is how i made an button that makes my character go move to the left in a platform game.
My folder-project's name. In it it says Full screen, HUD, Inn, Input Code, Loading Screen, Message Box, Save Game Name, Save Load Game, Shop intro.
You want to put field in in "HUD" interface. Doubleclick the field and on "Triggers", then you want to click on Add. Add "Mouse Down" there. And also "Mouse up". Firstly, edit the trigger called "Mouse down" by double clicking it or click on edit script. Here you want to put out an event called "Change Movement X".Liek this:
Start>Changemovement X.
In change movement ex, you want to choose Actor: "main". and also you want it to say "Moving X= -1". Click OK.
Secondly, on mouse up. Edit that and put in "Change movement X " there as well. Choose Actor: "main" there too but in this one you put "Moving X = 0".
Now if you look around in the field, then i have these things checked:
Selectable.
In behavior i have Text/Graphic (don't know if this matters).
When I do this, then it works for me. I make a .apk out of the game and then put it inside the android phone and install it. Now when i click on "<-" with my finger on the touch screen. Then the player will move to the left.
To see if it works, you can always click on "Test Game" before making an .apk file. You should be able to click on that button (<-) with your mouse left click button.
I can do it but i want joystic not buttons gg maker is supposed to have this...