Easier way to make a joystick?!?!
AfterBurnett
Member Posts: 3,474
I may just be dumb but for the life of me I can't work out a word of the official documentation for this one. It is severely lacking. And as for the demo... there looks to be about a million attributes and rules and there also seems to be a heap of redundant objects in there so I have no idea what to use and what not to...
Is there a simple way to make a joystick? I currently have an onscreen joypad set up, which works ok but it's not good enough.
Is there a simple way to make a joystick? I currently have an onscreen joypad set up, which works ok but it's not good enough.
Comments
Rule if touch pressed,if self.position.x is >'ur min x position',
Self.position.x is <'max x pos.', self position.y>'ur min y pos.', and self position.y<'max y pos.'
constrain self.position.x to touches.touch 1.x
Constrain self.position.y to touches.touch 1.y
Otherwise Chang attribute self.position.x and y to ur center location
Next set rules to check the self position x, y and have player move in that direction
If this doesn't help when my Internet is back up I'll post a better description I'm doing all this from my phone and long post don't show right on the acreen
Also, just wondering, why does no one post their email addresses the normal way on here? Apart from me.... lol.
:-)
---------------------------------------------------------------
Spiral Gyro Games
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps