A downloadable Engine

About this project

This is a personal project, that will be used as a foundation for other projects.
This means that things will be done my way, not necessarily the best or most optimal way.
Regardless, feel free to make any suggestions or try to help me, I just can't guarantee that I will respond or address everything.
Also, this project has no regard for safety, use at your own risk. No functions check for failing and any error will just crash the program immediately, leaving the memory deallocation for the operating system to take care of.

Purpose of this project

This was made as a mean of drawing pixels on the screen without any dependencies on frameworks or other languages.
I chose C, because it is a very small and simple language, but other ports will be made in the future. All and any of them will be hosted elsewhere (probably on github).

The idea behind any features is to make this a library capable of building a game or capable of representing algorithms.
Also, it should only provide the minimal necessary conditions for doing so, everything else will be up to you to implement.

Inspirations

The very start of the project was inspired by the Handmade Hero series.
The font drawing idea was taken directly from One Lone Coder's Pixel Game Engine. He (javidx9) also has a YouTube channel covering many useful topics concerning low level graphics and programming in general if you are interested.
The functions structure are taken from Ray's raylib project.
The PNG support is made possible by the stb_image header.
Audio comes from the miniaudio library.

Project Github

The downloadable zip file below includes the main header, both external dependencies and also a very simple snake game which demonstrates it's capabilities. Instructions on how to use the header can be found mostly on the github wiki page which is alluded by the readme file.

Download

Download
Zenibou.zip 822 kB

Leave a comment

Log in with itch.io to leave a comment.