Skip to content
Cocos2d-x tutorial: Sprite animation with dynamic light using normal maps - SpriteIlluminator
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Cocos2d-x dynamic lighting demo

This simple Cocos2d-x project demonstrates how to

  • load sprite frames from a sprite sheet
  • create an animation
  • initialize a point light effect with a normal map
  • and enlighten your animation

Here's the full tutorial: 2d dynamic lighting with Cocos2d-x

Normal Mapped Sprite with 2D Dynamic Lighting, Point Light


To keep the repository size small we haven't added Cocos2d-x itself to the repo. Please copy the cocos2d-x-3.6 installation directory to LightingDemo/cocos2d after cloning.

You can’t perform that action at this time.