Closed BrosterMedia closed 1 year ago
That's mainly a issue to the way the engine gets what key you pressed, media keys are only for, well.. media ofc so pretty sure flixel (or Psych Engine itself) doesn't expect those kinds of keys
Well yeah i understand that, but prior to compiling the experimental branch it worked fine in 0.6.x and older version On top of that i don't have this issue either in the publically released build of 0.7.1h Its kinda frustrating that the game just crashes now whenever i want to quick pause my music that's playing outside of the game
Its kinda frustrating that the game just crashes now whenever i want to quick pause my music that's playing outside of the game
Well, if you really want to fix it just change the source code to support it
Its kinda frustrating that the game just crashes now whenever i want to quick pause my music that's playing outside of the game
Well, if you really want to fix it just change the source code to support it
the problem is that i have no idea where to start, experimental and 0.7.1h use the same exact code there but on the build release of 0.7.1h it works fine but on self compiled it just breaks
it’s an internal OpenFL issue, not an issue with the engine
still would like to know why the exact same code does not crash in the 0.7.1h build release but does when i compile it myself
okay wait my mistake, it’s an internal issue with Flixel, and you seem to be running on a debug build which is how that error is showing up, but basically it’s due to you pressing a key that isn’t valid or not handled within Flixel
wow, that's stupid that it straight up crashes the game just because its a debug build, but i guess as long as it doesn't affect the final build its fine
wow, that's stupid that it straight up crashes the game just because its a debug build, but i guess as long as it doesn't affect the final build its fine
I found this out from here
Describe your bug here.
Pressing one of the media keys on my keyboard (pause, stop, skip forwards and backwards) causes the game to crash.
tested versions: latest experimental (source code) this doesn't seem to happen on 0.7.1h however
Command Prompt/Terminal logs (if existing)
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
made healthbar and timebar changes in PlayState.hx, unrelated to what causes the game to crash