Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Rahl on July 27, 2008, 09:24:11 PM

Title: Defend the Wall Mini Game Tutorial
Post by: Rahl on July 27, 2008, 09:24:11 PM
I was sitting around thinking of my next tutorial today and came up with this mini game, based off of the lord of the rings game where you knock people off of the ladders to keep them off of the wall.

Requirements:
4 open variable slots
6 open switch slots
And forknowledge of scripting help tremendously


The basic Idea is theres a main parallel process on the map that keeps turning on switches and there another that waits so long before it turn off the switches and add points to the enemy, while the player tries to turn them off with an action event in front before they add points to the enemy and adds them to himself first. The switches also changes the grapics of other points on the board to make it look like an enemy has climbed the ladder. The scripts look like this.

This should be the main event somwhere on your page. This is where it is on my page:

(http://i43.photobucket.com/albums/e354/hellroc/ASOver1.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/AS1Main.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/AS1Main2.jpg)

This should be your secondary event that turns off the switches. They should be somewhere on the same page.

(http://i43.photobucket.com/albums/e354/hellroc/ASOver2.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/AS2Secondary1.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/AS2Secondary2.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/AS2Secondary3.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/AS2Secondary4.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/AS2Secondary5.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/AS2Secondary6.jpg)

This should be a common event in your common events tab in your database.

(http://i43.photobucket.com/albums/e354/hellroc/ASCommon.jpg)

These are the events where the player turns on the switches manually and where I put them on my map. Also All these pages should be on your second page while the first page has to be blank.

(http://i43.photobucket.com/albums/e354/hellroc/ASOver3.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/ASKD1.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/ASOver4.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/ASKD2.jpg)
v(http://i43.photobucket.com/albums/e354/hellroc/ASOver5.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/ASKD3.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/ASOver6.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/ASKD4.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/ASOver7.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/ASKD5.jpg)

Remember you have to also set the events that have to change into invaders and change where necssary7 in the script.

You can download the demo here:
http://www.savefile.com/files/1692651

Title: Re: Defend the Wall Mini Game Tutorial
Post by: Phayre on July 27, 2008, 11:30:24 PM
Thank you for all these interesting tutorials. These are great contributions to the community, and I'll probably implement them in some variation or another in my own game.
Title: Re: Defend the Wall Mini Game Tutorial
Post by: Ben on July 27, 2008, 11:34:40 PM
What you are doing is awesome.
These tuts are one of the most practical contributions Ive seen here in a while.
Good work. You win.
Title: Re: Defend the Wall Mini Game Tutorial
Post by: Rahl on July 28, 2008, 12:09:12 AM
Thanks guys