Log In  

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.

P#35367 2017-01-09 20:04 ( Edited 2017-01-13 11:56)

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

P#35372 2017-01-09 21:37 ( Edited 2017-01-10 02:37)

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!

P#35398 2017-01-10 13:07 ( Edited 2017-01-10 18:07)

_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.

P#35399 2017-01-10 13:15 ( Edited 2017-01-10 18:15)

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.

P#35589 2017-01-13 06:56 ( Edited 2017-01-13 11:56)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-13 13:08:51 | 0.006s | Q:17