How to make firework effect in a game with TDD

This article is talking about how to add a firework or confetti in a game with TDD.

Here are the content overview:

  • Concept
  • Prepare the firework particle
  • Create a custom view in CocosStudio

  • Create a custom class FireworkView with TDD methodology

  • Import the cocostudio data and Test

  • Bind the particle objects and Test

  • Add method to play specific firework emitter

  • Add logic to play all firework emitter automatically

Demo:

Continue reading

Advertisements

TicTacToe Game using cocos2d-x

iOS Simulator Screen Shot 4 Feb, 2015 10.26.29 am

This is a tic-tac-toe game developed using cocos2d-x 3.x;

If you want to know more about its game design, click here for the detail;
If you want to know more about how to code it, click here for the detail;
Repository :  https://github.com/tklee1975/TicTacToeCcx3

Continue reading