0
0

Does anyone know how to move a platform right or left then back to its original position kind've something like https://itunes.apple.com/us/app/dash-up!/id910959738?mt=8 (dash up)?

  • You must to post comments
0
0

We'll make use of the logic transform function. Your platform should initially have a linear value which makes it move either to the left or right. Simply add the transform function in the scene editor at the point you want your platform to reverse its position, declare the asset it affects (which in your case is the platform) and reverse its linear value (adding - or +) When you run your game, the platform collides with the transform function and it starts going the opposite direction. Add a sleep distance to stop it or add another transform function at the opposite end to make it move back and forth. Hope this helped :) Also, Check out my game, Climb The Squares

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.