offroadJS icon indicating copy to clipboard operation
offroadJS copied to clipboard

Questions on framerate!

Open richi-coder opened this issue 2 years ago • 1 comments

Hey tomo0613. Your work is really good. I was wondering if you have had to deal with low fps.

I am creating a racing game, starting off. But getting only 10 to 15 fps. However, I can access projects from others and get better fps.

richi-coder avatar Jun 25 '23 02:06 richi-coder

I have not really faced frame rate issues so far. (I guess it's because I tend to use low poly 3d models, and primitive 3d shapes) in my other project there are options to enable shadows, and anti-aliasing. On weaker machines, enabling those could result in serious fps drops.

So maybe you are using high detailed, or poorly optimized 3d models (with lot of polygons), or using a ton of models (trees / other cars / buildings / fences...), or shadows, or AA If none of the above, the look around in your the code (requestAnimationFrame)

tomo0613 avatar Jun 25 '23 12:06 tomo0613