Help With Simple Actor Movements
OneBlueEyeThree
Member Posts: 1
I downloaded the free version of GameSalad tonight and and am having trouble getting my actors to move the way I want them too. I am creating a game on version 0.10.4.1; this is the windows version. The game is intended to be used on the I-Phone. I want the actor to be stationary along the Y axis and would like to to move along the X axis. I want the movement to be a simple touch, drag and release process.
The actor is a basket, which moves left to right to catch different items.
I have searched online for tutorials but have come up with very little for the Windows version. Please help if you can.
Thanks!
The actor is a basket, which moves left to right to catch different items.
I have searched online for tutorials but have come up with very little for the Windows version. Please help if you can.
Thanks!
Comments
If Touch is Pressed
Constrain self.Position.X to game.Mouse.Position.X
Note that the game.Mouse.Position.X attribute can be found in the attribute drop-down menu of the expression editor under Devices. Both "touch" and "mouse" work consistently for mouse clicks/drags and for mobile device taps/drags.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User