etherealxx / limbo-godot

Godot 4 implementation of Geometry Dash Limbo keys minigame in Windows 10/11
MIT License
27 stars 7 forks source link

Keys only shuffle three times before app freezes #1

Closed Dead-Vortex closed 1 month ago

Dead-Vortex commented 1 month ago

https://github.com/etherealxx/limbo-godot/assets/118923239/17dbc112-7f31-46f8-a466-3f8e0f748a97

blackm1n commented 1 month ago

Had the same issue. Fixed it by turning 16:9 resolution on and transparent background off in the settings, however I feel like that's a band-aid solution and may not work for you.

superkuzia15 commented 1 month ago

yeah, changing both of those settings didn't work. it feels like pure luck whether i'll be able to play this or not

etherealxx commented 1 month ago

thanks both of you three for reporting, i'm aware of this bug, but i'm not sure what caused it, and i can't replicate it on my device. It might have something to do with the processor, like faster processor have lower chance of this occurring (though my processor is just i3 12100f, still better than some old laptop processor though). As far as i'm aware, transparency makes a lot of calculation in the background which might slows things down. So the way the shuffle works is that first it queues all of the pattern, then it tells all the keys to do the first shuffle. then there's a timer every 0.5 second to check if every key has done it's first shuffle (aka moved to the correct position based on the queued pattern). If yes, then do the next shuffle, if not, wait for every key to finish it's first shuffle, which might be what happening here. I'll look forward into this.

CarelessSoul commented 1 month ago

Adding further to this, it seems like having my monitor set to 144hz causes this to happen, but any others (165, 120, 60) work fine for whatever reason

etherealxx commented 1 month ago

Hello everyone. I released a new patch, it should fix the shuffle freezing problem, and some other bugs. https://github.com/etherealxx/limbo-godot/releases/tag/v1.2.0 Feel free to open this issue if the same bugs still happens on your side.✨