001 Game Creator

001 Game Creator

View Stats:
ADEB Aug 16, 2015 @ 1:20am
Android virtual Joystick (touchscreen controle)
hw can i add joytick for android game

thank y
< >
Showing 1-3 of 3 comments
iXeGi_88 Aug 16, 2015 @ 7:10am 
It was very difficult for me to figure this out, even when I got plenty of help. Still I was not able to compelety make it work. But this might help you along the way.
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.
Last edited by iXeGi_88; Aug 16, 2015 @ 7:12am
ADEB Aug 16, 2015 @ 8:56am 
Thank y

I can do it but i want joystic not buttons gg maker is supposed to have this...
Cipher Dec 25, 2016 @ 5:51am 
you can just run a loop script wait for player to use action key then have it go to cursor. All you need to do is add left mouse click to action undr controls. That lets you use left mouse to walk anywhere and use left click as an action key. :)
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Aug 16, 2015 @ 1:20am
Posts: 3