remance / Masendor

Open source educational and historical battle action game, All helps accepted
MIT License
142 stars 31 forks source link

added profiler and try to optimize some code #41

Closed coppermouse closed 1 year ago

coppermouse commented 1 year ago

Here how I implemented a Profiler. Not sure how you want it to be structured so please review and/or modify code.

Press F8 to show profiler (only works in battle)

Once open it can not be hidden yet (I will implement that later)