https://github.com/lpg2709/simpleanimatedspriteopengl
Simple example of sprite animation with legacy OpenGL
https://github.com/lpg2709/simpleanimatedspriteopengl
Last synced: 5 months ago
JSON representation
Simple example of sprite animation with legacy OpenGL
- Host: GitHub
- URL: https://github.com/lpg2709/simpleanimatedspriteopengl
- Owner: lpg2709
- Created: 2021-10-15T23:57:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-15T23:58:05.000Z (about 4 years ago)
- Last Synced: 2025-08-25T06:58:34.103Z (5 months ago)
- Language: C
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple sprite animation with legacy OpenGL
Simple example of sprite animation with legacy OpenGL
# Use
After compile, run the executable ```./AnimatedSprit```
To change the animation, use ```j``` to decrease the index and ``` k``` to increase it.
## Dependences
- [Freeglut](http://freeglut.sourceforge.net/)
- [stb_image](https://github.com/nothings/stb)
If you use Windows, I recommend use [MSYS2](https://www.msys2.org/) to compile the code in unix-like environment.
## Third party resource
Sprite image by: