Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Seems weird. But, this might be due to the screen resolution. Not sure.

What was your browser and screen resolution?

I'll maybe fix that in the post jam version :)

Tried Chrome and Firefox, 1080p screen.  Watching XBeowulf earlier on Twitch, his game seemed to be running at 50% the speed

Now I get it. I developed the game without any engine and my game depends on the FPS rather than depending upon the time delta. I was wrong in my assumption that HTML Canvas locks the FPS at 60 :(

(+1)

I was just thinking that it felt like PacMan (which tied to CPU freq) on modern computers!  I was also under the assumption that HTML Canvas targeted 60fps, is that no longer true?

(1 edit)

Looks like it. MDN reads,

"The number of callbacks is usually 60 times per second, but will generally match the display refresh rate in most web browsers as per W3C recommendation."

(+1)

Oh and of course my laptop's display is 240hz, lol.  I'll play with it tomorrow, that's good info to know!