0.2.1 • Published 2 years ago

spritez v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Spritez

Simple sprite implementation to draw into any canvas. This is just my playground with browser canvas animations, there are plenty other mature implementations available or frameworks for gaming development, consider searching for them if you are in a real game dev situation.

Requirements

  • Node v10 or higher;
  • NPM v6 or higher.

Features

  • Multi sprite support;
  • Only one instance is necessary for different animations of the same object;
  • Highly configurable.

Samples

Code samples are available in samples/ folder.

Sprites

Got all sprites for free on itch.io and adjusted them with Piskel. Sprites in use:

Running

Run npm run dev to watch and build all source files. For sample running execute npm run samples together.

0.2.1

2 years ago

0.2.0

3 years ago

0.1.1

3 years ago