toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Help with controls.
EthanKayser
Member
Posts:
5
April 2012
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
patapple
Member
Posts:
873
April 2012
can you give us more informations? what controls? what they do?
cheers
EthanKayser
Member
Posts:
5
April 2012
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.
patapple
Member
Posts:
873
April 2012
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.
Answers
cheers
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