tomassedovic/roguelike-tutorial

Simplify the drawing code?

Closed this issue · 3 comments

Right now we need to clear all objects manually by calling Object.clear and when we forget to update something, it can stay on the screen indefinitely.

Since all of this is going through opengl anyway, we might as well just clear the game console and draw it all on every update. That result in less code and I doubt it would mean any difference performance-wise. (and if so, let's just add a note to that effect)

iszla commented

I guess this would be resolved once #43 is ready

Fixed via #43

Thanks again @iszla \o/