Number Entry Scenes

Upload your games here. Download other people's games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
SwordPlay
Chemical Slime
Posts: 966
Joined: Sun Jan 22, 2017 9:32 am
Location: London, England
Contact:

Number Entry Scenes

Post by SwordPlay »

INPUT WORKS WITH ARROW KEYS AND ENTER
Selecting "OK" makes you exit
Selecting "Del" deletes the last digit entered
I attempted to make this without global variables or lookups.

EDIT:
I cleaned up the scripts somewhat.
There are 2 input modes, numpad and ticker. Excuse the titling.
There are 2 input events. Random and Listed.

If you want to use the scripts, you need to set the input mode by setting "Keypad Input Event" to
1, for numpad
2, for ticker

Then you can call an event. Namely "Random Target" or "Listed Targets"

You are responsible for suspending player, gameplay etc., while an input occurs.
I have used a menu to do this here.


I might add a variant ticker that rolls over into the next column when you change it enough
And maybe a variant ticker that respects a quantity limit, displays your quantity, and you can input any number below the quantity limit.

edit: minor fix to listed targets
Attachments
numpad.rpg.zip
NUMPAD! THE RPG!
(63.93 KiB) Downloaded 162 times
numpad0006.gif
numpad0006.gif (62.96 KiB) Viewed 1810 times
Last edited by SwordPlay on Wed Mar 03, 2021 9:23 pm, edited 11 times in total.
"Imagination. Life is your creation."
Post Reply