Hi, I have a problem.
1) If I export via NW.js, then the game does not slow down and gives out 144 FPS ( " every tick - set text to - fps" ), good!
2) If I export a clean, empty project-project via webview2, then the game does not slow down and gives out 144 FPS ( " every tick - set text to - fps" ), good!
3) But, if I export my game not through NW.js, but through webview2 using the same Project settings as in the base project (if I create a new clean project), then the game gives out not 144 fps, but 50-55 ...
4) If you lower all the Project settings in the game, such as anisotropic filtering, the frame rate and so on, or turn it off, then you get a fps of 70-85, but not higher.
5) I tried running the game directly in the Microsoft Edge browser and everything worked smoothly there. (I actually use C3 in google chrome)
I don't think the game can consume a lot of video memory or processor resources, in any case, I have a powerful computer, this is not crisis 3 .... any ideas how to help me? I thought, after export, the FPS limiter would be set, but depending on whether several of them are enabled or disabled, the FPS settings may be slightly lower or higher. It turns out that the computer gives 144 fps, the game is 50-70 fps and I see micro-micro freezes (sorry, I use google translator)
My game, you can try to export via webview2 and check if you will have fps 70 - 85 cloud.mail.ru/public/UB6F/6DxgrYrZU
UPD: I found a problem, when I used export via NW.js, then I entered this into the command line '--in-process-gpu --disable-direct-composition --enable-features=nw2' , now I did export with a clean command line and everything is fine