Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: kirbylover on August 28, 2006, 09:32:29 PM

Title: Up/down cursor
Post by: kirbylover on August 28, 2006, 09:32:29 PM
I've been working on this game, its been on and off and last time I worked on it was like last year so my knowledge of rpgmk 2k is just about dead.

so my question is,
If anyone could please give me a good tutorial on up/down cursors
or post a pic of the script so I can copy it...
thanks.
*EDIT* er.. a Picture-based cursor
Title:
Post by: DragonBlaze on August 28, 2006, 10:07:41 PM
Key input process
If [key] = 1
 -variable [position] +1
 -if [possition] > (the maximum options you want)
 --move cursor picture to the first possition
 --set [position] = 1
 - else
 -- move cursor picture down 1
If [key] = 4
 -variable [possition] -1
 -if [possition] < 1
 --move cursor to the bottom possition
 --set [position] = (the maximum options you want)
 -else
 -- move cursor picture up 1

If [key] = 5
- If [position] = 1
-- (preform action for first option)
- If [position] = 2
-- (preform action for second option)
etc..