This way, everything will be crisp… until we all get super 4k HD mega-monitors :/Īlso of note, curious if anyone has a monitor refresh rate of something other than 60 hertz. If you’re like me, you’re not a fan of the blurry text when in fullscreen due to the stretching. I had wanted to code two separate ‘behind the scenes’ handles for 60fps and 30fps, and add a toggle in the options, but with this way, the game will simply appear the same regardless the fps.įull screen is 1080 resolution, windowed is 720. I think this is the ultimate solution regarding slower computers. In theory, this means if you move the character or look at an animation, it will take the same amount of time as it would if the fps were any other number.
My computer takes 129 (complex multi-part + animating) sprites or 2,100 small (single-image) sprite objects.ĭelta is the time, shown in seconds here, between screen refreshes. From here, you can stress test: press up or right to create sprites until the FPS drops below 60. My computer hits 174 fps, am sure you can beat me. In theory, to get MAX FPS, fullscreen + turn off grid + press 5 to max out desired framerate. delta, what online games use so game time always runs consistently regardless of the fps.
Quick game I made to test several things: