Click to See Complete Forum and Search --> : KeyPress Menu Help Needed


WarVer
12-08-2009, 09:33 PM
Okay, so a friend and I are thinking about and wanting to try and code a lovely little script. The use won't be for our class, but rather a project picked up by various classes taught by the same teacher.

We'd like to make a script that'll boot on start-up. Kind of like how some people has AIM and MSN start right when Windows starts. However, our script could be used to open certain programs.

The project shared across all classes is an arcade system. They already have the arcade box cut out, and are currently in the process of gathering games to play on it [via emulators, of course]. They even have the classic arcade buttons (joystick, red buttons, black buttons) set up as well. All that's left is to get our script ready, and it'll possibly be near completion.

All right, on to the er. . .script help-needed part. We've coded scripts that have selection buttons. Such as when you click them, the page is justified to the left, right, center. . . However, we'd like to make a script that has on KeyPress, you can select a certain game to place. Like:

1. Golden T
2. Super Mario Brothers
3. Kirby
4. Battle Toads

Since it'll be on an arcade system, we might have to cater it a little bit, such as black button A, black button B, etc. There might be several class files needed because we would like to do the same thing when it comes to the games themselves. Such as on ESC it'll bring up a menu that'll have the option to returning to the Game Selection screen.

Help is very much appreciated.