+/- Buttons
-
so I thought about implementing a pause screen, and I looked up whether or not it is possible to use the + or - Button. Appearently it's not (I assume it is intended because you use + to exit a program). I wondered if it could be feasible to enable + and - button inputs, and exit a program by double-pressing + or whatever. It's just a minor inconvenience, but it would be cool to be able to use them, as it's the most intuitive way of pausing a game.
-
Yes that is a good idea.
-
I guess you could use L and R instead.
e.g
R being used as start(+) and L being used as select(-) -
Or just holding start for 1.0 sec starts and stops the program?
-
Having read this, I would suggest this approach;
Press
+
to open a FUZE menu about your game, with the options:- Continue
a
- Screenshot
-
- Close
+
While this menu is open, the game should be paused (not executing any lines).
In the future this would allow more to add more options here (without claiming more buttons), for example:- toggle FPS monitoring
- view current global variable values
- maybe even some debugging options (like editing the variable values, stepping through code and then see variable values in functions as well)
It would already free up the
-
button for use in game.
EDIT or it would free up the+
button, which would be nicer, since you use-
to return to the main menu from your source code, so it feels intuitive to close your game that way (I made multiple accidental screenshots that way) - Continue
-
@PB____ that's a really good approach
-
- and - are reserved for system use.