Refactoring GameMap (#9, #10, #11)

GameMap is the class where I stored all the logic that ties the declaration of a Tiled map (in JSON) to the actual map logic.


During this period I had a serious issue with circular dependencies. My build script was detecting many of those and couldn't compile the code. I had to do some painful research but in the end I managed to understand many ways in which I can build a TypeScript project and how to use the ES modules in the right way.



I always felt that GameMap needs constant refactor until I fully understand the game architecture.

Splitting the map into custom areas so I can lower the CPU computations.

Here is the full video logs:





© 2017-2020 Gali Interactive

Terms and conditions | Privacy Policy | Code of Conduct | Contact