New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify the drawing code? #16

Open
tomassedovic opened this Issue Sep 7, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@tomassedovic
Owner

tomassedovic commented Sep 7, 2016

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment