Skip to content

Cocos2d-x tutorial: Sprite animation with dynamic light using normal maps - SpriteIlluminator

Notifications You must be signed in to change notification settings

dennyguotf/cocos2d-x-dynamic-lighting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Setup

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.

About

Cocos2d-x tutorial: Sprite animation with dynamic light using normal maps - SpriteIlluminator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 80.8%
  • Objective-C++ 13.7%
  • Objective-C 2.7%
  • GLSL 2.6%
  • C 0.2%