Re: Spectacles: Bruce's Story
Reply #34 –
Yeah, NEO, if you want a bit of insight into how my engine works without having to sift through too much code, just turn the console on: Open main.js and change:
var DBG_SHOW_CONSOLE = false;
...to true. That'll let you see what the battle engine and AI is doing behind the scenes. I actually built the vast majority of the battle engine with just the console output alone, I only started on the UI once most of the framework was already in place. Even with full UI the console is still invaluable for me; it comes in real handy when trying to diagnose weird bugs!
At some point I should probably implement logging though, if I keep going at the pace I've been I'm going to have so much console output that I won't be able to see it all at once!