-
Notifications
You must be signed in to change notification settings - Fork 1
A webgl sprite engine with two goals - simplicity and speed (Apache 2 licensed). Please feel free to join me in making this fun project more awesome! To get started please look at the README at the bottom of the page. To see some inspiring demos, please go to (Chrome 9+ and Firefox 4+ only):
License
wjlgryx/WebGLSpriteEngineJS
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
FEATURES - Single javascript file to add WebGL sprite engine to any page - Tint the color and alpha of sprites extremely quickly - Rendering text from font maps ( uses font maps made from https://fontmap.nodester.com/index.html) - Built in keyboard/mouse support to reduce having to make common code GETTING STARTED 1) Download the compiled javascript library at: https://github.com/downloads/richardanaya/WebGLSpriteEngine/SpriteEngine-min.js 2) Go through the simple tutorials at: https://github.com/richardanaya/WebGLSpriteEngine/wiki/Tutorials 3) Check out some working demos at: https://2d.nodester.com/index.html COMPILING To compile the javascript library correctly, you'll need some dependencies: - Java ( https://www.java.com/en/download/index.jsp ) - Python ( https://www.python.org ) Once you have these, from commandline in the root directory run ./setup.sh (for osx/linux) or setup.bat (for windows) TESTING You can run a temporary server in any of the example directory by running ./run_server.sh after you have compiled TODO LIST: - improve how inputs work - figure out a good solution for preloading images - experiment with ways to do glow and blur - animated spritesheets - add layering
About
A webgl sprite engine with two goals - simplicity and speed (Apache 2 licensed). Please feel free to join me in making this fun project more awesome! To get started please look at the README at the bottom of the page. To see some inspiring demos, please go to (Chrome 9+ and Firefox 4+ only):
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published