landgreen / n-gon

2-d physics rogue-lite platformer shooter
https://landgreen.github.io/n-gon/
GNU General Public License v3.0
143 stars 205 forks source link

the 7 second stuck at map check can softlock on some maps. #111

Closed Loiccoder closed 10 months ago

Loiccoder commented 10 months ago

Im addicted to this game I don't care ive reported an issue just an hour before this i just want the game to improve. Since checking m being stuck in a map every 7 seconds it was bound to have some issues, either techincal wise or gameplay wise, the changelog even is insecure

Screenshot 2023-11-01 at 4 51 18 PM

A rare case of an insecure changelog

I was playing in the community map RUN, and i managed to enter the final parkour sections, where the blocks flash collition on and off. before they added this update, whenever you are inside the block that just appeared, m usually clipped out of the block in less than a second. This happened to me now, and my luck made it so the second that i was inside the block was the 7 second interval, sending me back to spawn, softlocking me from further progression.

Screenshot 2023-11-01 at 4 47 02 PM

Help me Step-m im stuck

i guess this can happen with other maps such as temple

kgurchiek commented 10 months ago

In my opinion, that check should be optionally enabled in the map code like freefalling so that it doesn't break community maps

landgreen commented 10 months ago

I'll see if I can add a way for the check to see if you are stuck for over 4 seconds.