|
|
|
|
|
by dariusk
4580 days ago
|
|
Hi, author of the site here. Spelunky was made using GameMaker 8, and I ported it to GameMaker Studio and used its HTML5 exporter to get it working in Chrome, then I modded the core game from there for this tool. So: the reason it's constantly redrawn is because GameMaker redraws the whole screen. But also, it's important to note that GameMaker is meant to be general purpose game engine. Dirty rectangles work great if you're building very specific kinds of games where only small portions of the screen are updating at any time. For a game like Spelunky, which is a platformer where the whole screen moves (aka there's fast "camera" motion), it doesn't provide very large performance boosts at all. I don't work on GM so I can only guess but I'm pretty sure it's a combination of a super-legacy engine (GM is 15 years old and hasn't had a complete rewrite ever) as well as a need to be as flexible as possible. |
|