(no title)
dariusk | 12 years ago
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.
girvo|12 years ago
wreegab|12 years ago
Ok. It's because from here nothing moves. Using Chrome 30 on Linux Mint.
dariusk|12 years ago