Just like moving platforms, but ADVANCED!
How is it advanced, you ask?
Well these moving platforms are capable of carrying more than just one little object. Your player can now push crates onto them, or have other characters ride at the same time!
The way I have designed the system gives you absolute control over what the platform does. You simply feed the script the required variables, and it will handle the rest. It even returns a true or false value depending on whether it managed to move or not so that you can decide what to do, for example: Stop, change direction, explode or whatever else you want it to do.
To demonstrate the systems flexibility, I have included examples of platforms moving vertically, horizontally and following a path.
A system like this may experience some performance issues, especially on older computers, if you pile too many instances onto a platform. Future updates will include optimizations where I can find them, and the code is commented in a very very detailed way to make it as easy as possible for you to follow what is happening.
You can download an example of the system in use to get an idea of how it will work in your game Here.
Also, feel free to contact me if you have any queries, concerns or ideas to further improve the system by using the "contact publisher" link.
Version 1.0.0. Published October 1, 2015
Created with GameMaker: Studio v1.4.1657
You can only review assets you've bought.
this is a very nice since it is basic clean code. thanks!!!
Awesome, just what I was looking for!
Had to modify it a little bit to work with higher speed moving platforms. Works great! I could never get collisions such as this quite right until now.