Charas-Project

Game Creation => RPG Maker => Topic started by: The Last Draconian on April 25, 2012, 05:57:11 PM

Title: Trouble with minecarts
Post by: The Last Draconian on April 25, 2012, 05:57:11 PM
I started working on a game with RPG Maker 2003 about a week and a half ago, and I've run into a brick wall with my minecart puzzle.  If I make the minecart a vehicle, I can't make it travel on the tracks, no matter how hard I try.  If I make the cart an event, I can't seem to get the hero's sprite to disappear from the map for the cart.  Could someone help me?  I just can't seem to figure out what I'm doing wrong.
Title: Re: Trouble with minecarts
Post by: Prpl_Mage on April 25, 2012, 06:32:35 PM
One way to do this is to change the hero sprite into the minecart sprite. This way you now control the hero (which looks like you're controlling a minecart). I believe the event command is "Change hero sprite association".
Basically make the minecart on top of the track an event. When the hero press the action button remove the minecart event, move the hero forward and change his sprite into a minecart. You could always flash the screen black when this happens if it looks kinda bad.
Then at the end of the track and at the start you add an event that when moved on top - change the hero sprite back to the hero and makes the mine carts appear on both end.
Just let me know if you want a clarification or any other help.
Title: Re: Trouble with minecarts
Post by: Meiscool on April 25, 2012, 06:49:33 PM
You can make events that block movement off of the tracks after the sprite has changed. Switches work great for this. Once you leave the cart, turn the switch back off and the events that block movement off of the cart disappear. You can also change the chipset to make it to where nothing can be moved on except the tracks, then change the chipset back after "leaving" the minecart.
Title: Re: Trouble with minecarts
Post by: The Last Draconian on April 26, 2012, 04:01:02 AM
Thanks for the tips, guys.  With your help, I got it to work!  Thanks! :)