Skip to content
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

Open
Anstow opened this issue May 4, 2014 · 5 comments
Open

Debug overlay #70

Anstow opened this issue May 4, 2014 · 5 comments

Comments

@Anstow
Copy link
Contributor

Anstow commented May 4, 2014

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?

@DavidTruby
Copy link
Contributor

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

@Anstow
Copy link
Contributor Author

Anstow commented May 4, 2014

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.

@DavidTruby
Copy link
Contributor

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.

@Anstow
Copy link
Contributor Author

Anstow commented May 4, 2014

I think that starting simple is the way forward. We can always add stuff to the overlay later.

@DavidTruby
Copy link
Contributor

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.
Edit: Issue #71

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

No branches or pull requests

2 participants