A tiny game engine with zero dependencies in C that I made for myself to make tiny games. It's great for game jams. It is also my kōhai course in simplicity and a tribute to my senpai and friend rxi.
punity.h
all ready for you to start working. (maybe also grab build.bat
when you're at it)stb_image
. (see Integration below)stb_vorbis
. (see Integration below)record.gif
file).example-platformer.c
).build sdl
, see lib/punity-sdl.c
).On an average machine, a game 33 grams utilizing previous version of Punity runs in 240x240 at ~20μs per frame (equivalent of ~50000 FPS). On GCW Zero, the same game in 320x240 runs between 0.7ms to 2ms per frame (equivalent of ~500-1500 FPS).
One of the most important parts of Punity is that it's made to be changed and edited as you need. That way the code can be really simple only giving you basic features and doesn't need to worry about customizations and abstractions.
Please, see the documentation in Wiki.
lib/stb_image.h
- Optional library to load images.lib/stb_vorbis.c
- Optional library to load ogg audio files.lib/gifw.h
- Optional library to record and save GIFs.build.bat
- MSVC and MinGW build batch file.main.c
- Minimal template for jump-start game development.main.rc
- Part of the template.punity.h
- Punity's header/implementation file.In case you use MinGW, then you'll also need these:
mingw/_mingw_unicode.h
& mingw/dsound.h
- Provided for your convenience to be able to build with default MinGW installation. This file is taken from MinGW-W64 project.To everyone who gives Punity it a try, plus these awesome guys:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4