Easier way to make a joystick?!?!

AfterBurnettAfterBurnett Member Posts: 3,474
edited November -1 in Working with GS (Mac)
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.

Comments

  • chosenonestudioschosenonestudios Member Posts: 1,714
    Considering Codemonkey created the joypad, if there was an easier way of doing it, I'm sure it would've been documented by now. When I first looked at it, I couldn't make heads or tails of it, but eventually if you look at it long and hard enough, it'll just click one day, considering you have enough sleep and coffee admittently ( is that a word? Haha). Unfortunately this seems to be the most efficient way... Just keep trying!
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Waaaaaah... okay, thanks :)
  • jstrahanjstrahan Member Posts: 498
    Inside joystick actor
    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
  • AfterBurnettAfterBurnett Member Posts: 3,474
    LOL... I kinda get it. Longer dumbed down version would be great if you have the time! You'll get a credit in the game too. LOL.
  • jstrahanjstrahan Member Posts: 498
    Give me ur email and I'll send you a tutorial it has 3 actors 4attributes and 4 rules real simple to include jstrahan73 at gmail dot com
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Email sent! Here's mine just in case. karl@polygame.co.nz

    Also, just wondering, why does no one post their email addresses the normal way on here? Apart from me.... lol.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    POLYGAMe said:
    Also, just wondering, why does no one post their email addresses the normal way on here? Apart from me.... lol.

    They're frightened of spam fritters.

    :-)

    ---------------------------------------------------------------
    Spiral Gyro Games

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • AfterBurnettAfterBurnett Member Posts: 3,474
    Mmmm... SPAM.
Sign In or Register to comment.