Gw Temp

Menu

Tutorial - 'Test your strength!' by Master Mog

An item about RPGMaker 2000 posted on

Blurb

Creating a mortal kombat style minigame which involves button bashing and breaking stuff!

Body

This tutorial will teach, or hopefully teach you how to make a Mortal Kombat style minigame, where you have to press the button as fast as you can to break something (could be used for those carnival games where you have to hit the button as hard as you can with a hammer).

First I will start with the coding, then go into the step by step process.
------------------------------------------------------------
Variables Needed:
(????:Test Your Might)
(????:Enter Password)

First create a map, where the game will start, then create an event wich will start it.
EVENT COMMANDS
Messg:Test Your might (press enter rapeditly)

Change Variable: Test your might- 0

Wait:5 seconds

Fork OPT: If variable is at 20

You win!

Else Case:

You lose

Change Variable: Test your might- 0

------------------------------------------------------------
Now create a second event, make it parallel process.

EVENT COMMANDS

Enter Password: Wait until key hit, Confirm (5), enter password into (????:Enter Password)

Fork Opt:(????:Enter Password) is equal to 5

Change Variable: Test your might, +1

------------------------------------------------------------

Okay time to explain:

First create a map, where the game will start, then create an event wich will start it.
EVENT COMMANDS
Messg:Test Your might (press enter rapeditly)

------------------------------------------------------------
Change Variable: Test your might- 0
If you don't put this in, the player can just cheat and press enter a bunch of times before they talk to the clerk

------------------------------------------------------------
Wait:?? seconds
This is the amount of time the player has to press enter. The lower the time, the harder it is.

------------------------------------------------------------
Fork OPT: If variable is at ??
This makes it so that if you pressed enter a certain amount of times, you can either win or lose.
Replace the ?? with a number. (The higher the number the harder the game)

------------------------------------------------------------
You win!

------------------------------------------------------------
Else Case:


You lose

------------------------------------------------------------
Now for the second event:
------------------------------------------------------------Enter Password: Wait until key hit, Confirm (5)
I explained what this is in my other tutorial, various tutorials, in one, check out the jumping section of it to learn what this is!
------------------------------------------------------------
Fork Opt: If the variable (????:Enter Password) is at 5, so it will continue on to the lower events.
------------------------------------------------------------
Change Variable: Test your might, +1
This then increases the test your might variable +1 so that you can win the mini game
------------------------------------------------------------
Now that should work. Email me or add me to msn at ooboo_the_foboo@hotmail.com if you have any problems.