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


Continue reading


My perspective about Software Architecture

In this article, I will like to discuss about two perspectives of Software Architecture that I learnt from my works and books;

The two perspectives are:

  • Macro Software Architecture: A high level view describing the overall system of the software service;
  • Micro Software Architecture: A lower level view describing the internal structure of a software;

Credit: satyricon86

Continue reading