Cocos2d-x Book: Updated for Version 3.4

and an extra game to boot

Just an update on the book. The code is actually updated to version 3.4, and the book should be coming out later this month.

View

Chopper Command: The GameTile

in cocos2d-x

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.

View

Chopper Command: The Bullet

in cocos2d-x

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

View

Chopper Command: Updating to 3.3

no, not 3.4

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.

View

Chopper Command in Cocos2d-x: The Player

and controls

Adding the player and the controls overlay should be pretty straight forward now. The only major change to the way I’ve coded the game in its previous versions will involve the player bullet, but that will come in the next tutorial. So let’s add the chopper and controls.

View