Is there a way to prevent collision from not working properly with bullets and other movable objects at low fps (~20-30)?
When I shoot a bullet 60 fps, it always hits the target, but if the fps is low, it just passes right through.
Develop games in your browser. Powerful, performant & highly capable.
i have the same problem with detecting colision on enemies when jumping on them...on my desktop everything is working as it should. however on mobile, sometimes my character gets hurt when jumping on enemy. This is extremly annoying and altough i plan to use wkwebview in my game, i would expect the collisions to work around 20 fps ! Did you found any solution??
marcel1980 - it's not ideal, but the best way I could figure out was to increase the collision size to make sure it would overlap. I just made the bullet longer (not the image, though, just the collision box)