itch.io is community of indie game creators and players

Devlogs

Alpha 1.3.1

Mega Man Maverick
A downloadable game for Windows and Linux

It turns out there's a major bug in the previous releases which I never caught until just now. Long story short, when running the Windows build of the game, if you try to move or resize the game window or if you click outside of the game window and then click back inside of it, then Megaman will respawn. Of course, this isn't supposed to happen. 

The reason why I never caught this error until just now is because my personal laptop (which I'm developing the game on) runs Linux, and the Linux builds don't have this issue. While I'm not 100% sure, I think this stems from LWJGL3 applications having a slightly different life-cycle on Windows versus Linux. It seems that on Linux, when the app loses and regains focus, it causes the screen's "show" function to be re-called. In the game screen class, Megaman is spawned within the "show" function, which would explain this weird behavior.

In an attempt to resolve the issue, I've moved the logic for spawning Megaman and starting up the level out of the level screen's "show" function and into its own "start" function. ~~Hopefully, this resolves the issue.~~

For those curious, here's the commit where I made this change: https://github.com/JohnLavender474/Megaman-Maverick/commit/58f799c307709046df3ca...


UDPATE

Sadly, this has NOT fixed the issue. :(

I'll need to do more investigation on how to fix this. Until then, my only advice is... play the game on Linux? :')

Files

  • Megaman-Maverick-alpha-1.3.1-windows64.zip 488 MB
    Mar 01, 2025
  • Megaman-Maverick-alpha-1.3.1-linux64.zip 496 MB
    Mar 01, 2025
Download Mega Man Maverick
Leave a comment