PLAYERKILLERS Posted December 22, 2020 Share Posted December 22, 2020 Noticed that the game was a bit jumpy on an old laptop. Upon further examination, failIfMajorPerformaceCaveat was causing this behavior. In a previous version this was not the case. Quote Link to comment Share on other sites More sharing options...
obiot Posted December 24, 2020 Share Posted December 24, 2020 yes, but at that point it's either you set `failIfMajorPerformaceCaveat` to false and games won't work on some linux platform (this was one of the issue in the past), or true but then windows machines that don't have a good enough WebGL driver implementation will fallback to canvas.... unless you have a good idea, not much more I can do about this to be honest... PLAYERKILLERS 1 Quote Link to comment Share on other sites More sharing options...
PLAYERKILLERS Posted December 25, 2020 Author Share Posted December 25, 2020 Merry Christmas Obiot! Thanks for the years of support. Was there a change in the GL implementation? I noticed that it was slower even when I bypassed this behavior. There was a point when it worked fine, although I could probably do with a total rewrite of the game's entity code as well. I haven't updated this game in awhile now. I've just been updating the game library. Quote Link to comment Share on other sites More sharing options...
obiot Posted December 26, 2020 Share Posted December 26, 2020 there were a massive rewrite in the version 8 compared to version 7 yes, with better detection and fallback to canvas, and also WebGL2 support, so you should actually see performances improvement but this might be linked the the below changes on older computer with 2 GPU, as browser are all switching to a low-power mode by default, as opposed to the previous "high-performance" Renderer : allow specifying the default powerPreference value for the WebGL Renderer (on Safari and Chrome 80+ default is now low-power) see here for the WebGL specs : https://www.khronos.org/registry/webgl/specs/latest/1.0/ my pleasure and merry Christmas to you too ! I have done anything in a while, between moving house and holiday period, I;ll only be back in January PLAYERKILLERS 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.