When minecart crashes a user defined common event is run instead of game over.
Player can get on/off minecart at rail end tile instead of crashing.
Better help section.
Setup
Download the plugin and include in your project. Build a map with rail tracks. Under the tileset settings be sure to assign a terrain tag to your rail tracks. If you need a 2 way branching track download the Dungeon_D.png tileset and place in your img/tilesets folder.
Under event editing mode select the tile where you want the minecart to start at. Look at the bottom right of the editor window in the status bar for the coordinates. Record the map ID and the x, y coordinates. Go into the GIL_Minecart.js plugin parameters and change Start Map ID, Start X, and Start Y to the location you recorded. Change Railroad Terrain Tag to the value given to the rail tracks. Assign a common event ID to Minecart Crash Event, this will be your crash event handler. If you'd like you can also change the default BGM and Minecart Speed. You're all done! Enjoy!
Feel free to message me if you need further help setting up the plugin!
Future Plans
Different operating modes such as:
An in game train! Automatically travels the track and waits briefly at stations for the player to board. (I may need to request a station tile from one of the many artists out there).
Current mode, where the train moves forward automatically but the player must steer around corners or crash.
Player mode, where it simply adds the minecart vehicle to the game and the player must operate it.
Would love to hear more ideas from the community!
Screenshots
How to Use
Download the demo project for implementation ideas.
Terms of use and Credits
Free to use in any project.
Credit me as Gilgamar if you use this!
If you used the train battleback included in the demo credit Sinweaver