53 minutes ago · Tech · hide

Well, Valve bounced the Eggnob page because of my "comedy" reviews, which was a simple enough fix, meaning Eggnob is now officially on Steam! Flex those fingers, reader, and wishlist Eggnob here! Web Demo Performance Greatly Improved The web demo's always been a little disappointing, perf-wise, which I put down to "the browser", but... It turns out that if you're a dumb-ass, it's trivially easy to slip SDL into a mode where it's busy-waits its frame pacing, instead of using the vsync. Games in the browser don't run in their own loop, they register a function which the browser calls once per display refresh. That should give vsync for free, and it's the only frame limiter the game actually needs. But. The EH500 also asks SDL for vsync, which gets deferred because the browser loop doesn't exist at the point of engine init. SDL then checks if the call worked -- it didn't, because it's deferred -- so SDL concludes vsync is unsupported and then simulates 60hz by spinning for 15ms (Eggnob's…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town