Time to add the enemies and the trucks. If you recall, the game is made of 5 game tiles, each with 3 enemies and 3 trucks. These game times scroll as the player moves. I’ll work on the scrolling logic later, though, let’s focus first on building one instance of the game tile.
For the bullet we need an update in two classes. Well, one existing one and a new class for the bullet. In the main game scene I need to add a pool for bullets, and call the update on all the visible bullets
I finally had the chance to go back and finish the Cocos2d-x version of Chopper Command. But first I decided to update the framework. I started with version 3.2 and now it’s already version 3.4. However, I will not use version 3.4 as there are too many issues with the new IDE and the new Framework when working with Lua. Problems creating projects, and publishing to devices.