In this lesson we clean up our existing sprite code and create a dedicated Sprite class for managing, loading, and drawing all game Sprites.
The complete source code, as well as the PNG file used for graphics and a written version of this lesson are all available on my website:
http://technologies4.me/articles/sprites-and-frames-a41/
Music - 'Meadow Thoughts' by Écrivain - http://opengameart.org/content/meadow-thoughts
Download
0 formats
No download links available.
A better Sprite class - Javascript & Canvas 2d gamedev | NatokHD