I have read a couple of questions that tackle the same issue, but unfortunately, i couldn’ t solve my my problem. This major issue for me after going far in using defold. I hope you can assist me.
I have a desktop with i7 & GTX680, and i have a laptop with i3 & Intel HD Graphics (not sure what series, but its kinda old 2010). When i run my game on the desktop, its fast and everything is works great. When i run it on my laptop, its slow, and the jumping reaches the ceiling of my level, and most importantly, collision doesn’t work properly as i keep falling through it.
Please note that FPS is set to 60 and variable_dt is checked. Also, i have tried to install the latest driver on my laptop, but same issue. I even tried to deploy on my mobile, but i had the same issues.
Desktop
Laptop
First, i tried to compare to dt variable. In desktop, i got an average value of 0.016499999910593
, and in the laptop i got an average value of 0.050044998526573
.
Second, i tried to run the debugger which displays several statistics on screen. For the desktop, i got a locked 17 fps, but for the laptop, i got an average of 40 fps.
Third, i ran the web profiler. Below are my results:
Desktop
Laptop
Can anyone please assist me on what is happening here? Is it that my code optimization? What am i doing wrong?