Log In  

it would be nice to select where the pause menu should appear. Also the possiblity to draw a custom background for the pause.

For example for a RPG. It would be useful to draw the player-status on screen and the pause-menu on the right button of the screen. In combination with the menuitem-command it would be an easy and "cheap" possibility to create a status-menu. Or display a map of the current level, an inventory and so on.

Suggestion:

menustyle([<position>[,<draw-function>]])

position could be 0=top left, 1=top, 2 top right, 3 left, 4 center (default), 5 right, 6 bottom left, 7 bottom, 8 bottem right
And draw-function is a function which is called direct before the pause-menu appears.

P#99173 2021-10-26 18:26

Custom background is possible! Use 'btn(6)' to detect if Pause is pressed and change your world or screen to what you want. Custom menu is also possible.

https://pico-8.fandom.com/wiki/Btn#Undocumented_buttons

P#99197 2021-10-27 01:30

the problem is: undocumented.
And a custom menu will take many tokens - to move the original menu to one corner would be much more simpler.

P#99203 2021-10-27 04:19

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 14:43:05 | 0.005s | Q:10