Log In  

TL;DR

the methods to detect or inhibit Pause button apparently do not work using the Web Player Pause button.

More Details:

In my game Amidus I needed to hide the stage during Pause to avoid cheating as it's based on a short time to realise what's the correct path to take.
So I implemented a few methods like checking for btn(6) and even inhibit pause during that short phase with the timer running using poke(0x5f30,1) as you can see in the code (carts below).

As both methods work beautifully using the internal Pause P/Enter, both failed to work using the Web Player Pause button that apparently overrides both checks.

I tried to ask in the Discord #help and they suggested to report the bug here as it's an unexpected behaviour.

On this version you can test the "inhibited Pause" poke(0x5f30,1) method:

Cart #amidus-4 | 2022-06-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

On this version you can test the "Hide stage on Pause" checking for btn(6) during _draw() method:

Cart #amidus-3 | 2022-06-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

P#112673 2022-06-03 13:34


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-19 17:06:23 | 0.011s | Q:18