So after finally getting this thing to work I decided my first project with cocos2d-x would be another attempt at a mini rogue-like building off experience with my last project. All seemed roses, started laying the foundations, started reading up on the API reference. Cocos2d-x appears to have a tiled map for efficient rendering of the layout of things. Then I looked closer and saw that whoever wrote the tiled map apparently didn’t consider anyone would ever do anything procedural with it as it only loads pre-built tilemaps created externally….Ah, this might be a problem.
So yeah one of three things are true now:
- We misread the API reference and tilemaps can be created blank to arbitrary sizes and filled in by the execution of game code.
- We read it correctly but there is a work around that won’t take efficiency and give it a thorough kicking.
- We read it correctly, there is no work around and Cocos2d has no support for procedural map generation, thus I should probably try making some other game instead.
So yeah, which of these three is the truth?