AlexMulkerrin / PocketCiv

Minimal Civilisation-like game. Made a pathfinder and wanting to use it in a project :)
8 stars 3 forks source link

Do optimisations #12

Open AlexMulkerrin opened 7 years ago

AlexMulkerrin commented 7 years ago

Adding mouse controls and cursor hover info has made me realise how inefficient the display refresh code is. It has actually been having an appreciable effect on cpu cycles! D:

Program has to be a lot lower cpu use when waiting for commands. Will fix this by restructuring display module to only update things when game state changes

AlexMulkerrin commented 6 years ago

display module now has a sidebar submodule :) Optimisation is always possible so this ticket shall remain open