CCSpriteBatchNode Archive

  • For v1.0.3 of Trisector, I wanted to add dynamic lighting to the CCSpriteBatchNode layers to enhance the depth of field and to make the scene a bit more visually interesting. This article will discuss a dynamic lighting shader and a dynamic lighting and blur shader used in Trisector.

    Dynamic Lighting Shader with Cocos2d v2.0 and CCSpriteBatchNode

    For v1.0.3 of Trisector, I wanted to add dynamic lighting to the CCSpriteBatchNode layers to enhance the depth of field and to make the scene a bit more visually interesting. This article will discuss a dynamic lighting shader and a dynamic lighting and blur shader used in Trisector.

    Continue Reading...

  • Trisector uses tile maps for the Base terrain layer and the Collision terrain layer. The tiles for each layer are managed using a CCSpriteBatchNode which includes the tiles being displayed in the current viewport. This article will discuss two methods of tile culling for a CCSpriteBatchNode, where the first is […]

    Improved Tile Culling for a CCSpriteBatchNode

    Trisector uses tile maps for the Base terrain layer and the Collision terrain layer. The tiles for each layer are managed using a CCSpriteBatchNode which includes the tiles being displayed in the current viewport. This article will discuss two methods of tile culling for a CCSpriteBatchNode, where the first is […]

    Continue Reading...

  • Trisector uses a custom side scrolling parallax shoot-em-up engine. This article will discuss the making of Trisector’s engine and some of it’s inner workings (aka how I reinvented the side-scrolling shoot-em-up wheel).

    Making of Trisector: Engine

    Trisector uses a custom side scrolling parallax shoot-em-up engine. This article will discuss the making of Trisector’s engine and some of it’s inner workings (aka how I reinvented the side-scrolling shoot-em-up wheel).

    Continue Reading...

  • Trisector uses tile maps for the levels, and each level’s tile map includes a Background, a Base layer, a Collision layer, and an Object layer. This article will talk about the design, creation and structure of the levels and the tile maps.

    Making of Trisector: Maps

    Trisector uses tile maps for the levels, and each level’s tile map includes a Background, a Base layer, a Collision layer, and an Object layer. This article will talk about the design, creation and structure of the levels and the tile maps.

    Continue Reading...

  • Collision detection is the core of any action game, and this article will describe how Trisector handles the mess of bullets, lasers, enemies, terrain, and the player ship colliding with each other.

    Making of Trisector: Collision Detection

    Collision detection is the core of any action game, and this article will describe how Trisector handles the mess of bullets, lasers, enemies, terrain, and the player ship colliding with each other.

    Continue Reading...