Feature request: a _pause() callback that is triggered just before the pause menu is displayed. This would give those of us who are using menuitem() a convenient way of doing a little preparation beforehand. I have a particular case where the contents of the menu may change depending on when it is opened.
btn(6) or btnp(6) can do this exact thing, as that's the pause button.
I use it to play a sound, but in order to use audio in general during the pause menu, I have to use poke(0x5f2f, 2) .
I learned this from another user:
Custom Pause Menu
Oh, no way! I unsuccessfully looked through the manual wondering about that very thing, but never considered that might be another one of those undocumented features. Thanks!
_pause() was originally intended to be a feature and was going to let you customize the pause screen. Not sure why the idea of it was dropped, being able to customize the pause screen visuals in a non-hacky way would have been really useful.
I don't think it's dropped per se, just not completely implemented yet. Remember, this is 0.1.10b, ridiculously low on the version numbers.
[Please log in to post a comment]