Moving Platform

elnimijogames

  • Posts: 5
Hello I am trying to create a moving platform, one that moves gently from left to right in a repeating fashion. I would like to use tiles for this.

From StencylForge I have found the script 'Elevator Move Horizontal' and I understand what that does.

What i am not clear about however is whether I would be able to apply this to tiles, to make them move back and forth or if I'd need to create an actor to apply this to. Is it possible to convert tiles to actors?

Thank you in advance.

elnimijogames

  • Posts: 5
In case anyone else is confused, this was actually quite easy.

1) Download the script mentioned above from StencylForge.
2) Create a new actor with the image of the tile you want, i.e. so it looks the same.
3) From the 'Elevator Move Horizontal' script, click the 'Attach to Actor Type' and select your actor.
4) Ensure you update the appropriate left and right 'x' values.
5) Place onto your scene.