Quote: (@BlackRaven) I didn't... mystic did... bitch | ...
blade2k » articles & tutorials

jump to:
Tutorials » Game Creation » RPG Maker 2000

Image Map


Reading Article
Author: losl
Posted on 08/02/2004
print :: back to list

C

omplex Image Maps For RM2k

You'll Need To Know:
1.) Varibles
2.) Fork Conditons

You'll Need The Following
1.) A cursor (an image)
2.) The Buttons You Want to use.

Goal:
Create a menu System that when finished can use a cursor that is not the size of a character and has full motion control.

Creation:
1. First setup all you buttons. Note their X and Y Coordinates and their height and width.
To figure out if the cursor is on the button were going to use fork conditons:
Fork: If (Button press) = 5
Fork: If Cursor X = X coord - 1/2 of the pic width
Fork: If Cursor Y = Y coord - 1/2 of pic height
Fork: If Cursor X = X coord + 1/2 of the pic width
Fork: If Cursor Y = Y coord + 1/2 of pic height
*Preform Menu Action*
Just repeat all of that over and over again.

Moving the Cursor:

Label 2
Enter Password: (1,2,3,4,5) % (Button Press)
Label 1
Fork: If Button Press = 1
Cursor X + 1
Wait 0.1 {Helps Keep Lag Low}
Goto Label 1

[Repeat That for 1-4]

Then...

Fork: If Button Press = 0
Wait 0.1
Goto Label 2