Game Development Reference
In-Depth Information
we want. We can, in other words, build an entire test game with one tiny image.
Which is what we'll proceed to do now.
5. So, to finish up here, add these last lines:
_terrain = Terrain::create();
_gameBatchNode->addChild(_terrain, kMiddleground);
_player = Player::create();
_gameBatchNode->addChild(_player, kBackground);
Search WWH ::




Custom Search