Open Anstow opened 10 years ago
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. Edit: Issue #71
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?