Movement
ishman777
Member Posts: 32
I'm new to gamesalad and this might come off as a stupid question but how do I make a actor move by pressing other actors, but use accelerometer to change the angle of the actor? also is there a way to make a actor only die if it gets hit on a certain part?
Comments
you should see these first
http://www.youtube.com/user/GameSaladCookbook#p/
make an attribute integer call move, set it 0
when touch is press on an actor, change attribute to1
when attribute equals to 1, move your actor
drag actor a and b to the place you want
make it invisible
when actor a is press change attribute move to 1
when actor b is press change attribute move to 2
when attribute move is 1 move to the place you want
when attribute move is 2 move to the place you want
make another actor and cover half of the actor, and make it invisible
when actor overlaps or collide destroy the actor
check out the wiki, there is a lot of great information. specifically these two sections on movement and controls:
http://gamesalad.com/wiki/how_tos#movement
http://gamesalad.com/wiki/how_tos#controls_iphone_ipad_and_web
They may not fit your requirements exactly, but you should be able to easily modify it.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left