-
Notifications
You must be signed in to change notification settings - Fork 3
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
Debug overlay #70
Comments
This seems sensible. How do we want to do the UI for this? I was thinking that at some point we might want a 2D UI library tailored for game HUDs etc, this may want to use that if I ever get round to starting it :-P |
Probably a function in each entity that lets you draw lines and stuff on an overlay. But it doesn't do anything if the mode isn't enabled. |
Yeah that's fine for a simplistic implementation. I was thinking something more like what flashpunk has i.e. memory usage, how many entities in the world at the current time etc. For implementing that we might need a UI library. |
I think that starting simple is the way forward. We can always add stuff to the overlay later. |
Sure, I was just posting here to keep my thoughts in the open :-P. I should probably post a separate issue about a UI library. |
I think some kind of overlay, that lets you view collision boxes and the like, would be useful. It should be easy to add more meta data too. Possibly should only be enable-able in debug mode?
The text was updated successfully, but these errors were encountered: