Help with controls.

EthanKayserEthanKayser Member Posts: 5
edited April 2012 in Working with GS (Mac)
I need help on how to change a laptop's controls to a ipad or ipod.

Answers

  • patapplepatapple Member Posts: 873
    can you give us more informations? what controls? what they do?

    cheers
  • EthanKayserEthanKayser Member Posts: 5
    Ok I got the main character. It is set for moving with just left and right, and shooting with space. The rest don't need anything.
  • patapplepatapple Member Posts: 873
    You must use images: one for left, one for right, one for the shoot

    Create three new boolean attributes: left, right, shoot

    In each button/actor -> touch is pressed = change attribute left OR right OR shoot (what action do you want) to TRUE

    In each button/actor -> touch is released = change attribute left OR right OR shoot (what action do you want) to FALSE

    Now in the main character say when left OR right OR shoot is TRUE "now put your old rules"


    Hope this help

    Cheers

Sign In or Register to comment.