|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|3d Game Shaders For Beginners||15,226||23 days ago||18||bsd-3-clause||C++|
|🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.|
|Bgfx||13,046||8 days ago||1||July 11, 2022||287||bsd-2-clause||C++|
|Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.|
|Openra||12,868||a day ago||1||January 01, 1900||1,582||gpl-3.0||C#|
|Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.|
|Openrct2||11,892||2 days ago||1,519||gpl-3.0||C++|
|An open source re-implementation of RollerCoaster Tycoon 2 🎢|
|Openage||11,782||a day ago||225||other||Python|
|Free (as in freedom) open source clone of the Age of Empires II engine :rocket:|
|Craft||9,547||5 months ago||125||mit||C|
|A simple Minecraft clone written in C using modern OpenGL (shaders).|
|Monogame||9,516||7 days ago||814||other||C#|
|One framework for creating powerful cross-platform games.|
|Sfml||8,727||20 hours ago||1||March 24, 2020||179||zlib||C++|
|Simple and Fast Multimedia Library|
|Duckstation||4,902||19 hours ago||103||gpl-3.0||C++|
|Fast PlayStation 1 emulator for x86-64/AArch32/AArch64|
|Magnum||4,415||2 days ago||91||other||C++|
|Lightweight and modular C++11 graphics middleware for games and data visualization|
Written in Pure C, SDL and OpenGL.
Corange is a library, but to take a quick look at some of the things it does you can Look at some of the Demos. Warning: Some things shown are from a previous version and may not remain the same in this version.
To compile on Windows you need MinGW and then you should be able to run "make" as usual. You will need to have installed SDL, SDL_Mixer and SDL_Net.
To compile on Linux you need to install SDL2. Then you should run "make"
sudo apt-get install libsdl2-dev sudo apt-get install libsdl2-mixer-dev sudo apt-get install libsdl2-net-dev make
I'm a graphics programmer by trade so apologies that most of the demos are graphical apps; they're just what I love!
How is that pronounced?
Rhymes with Purple.
Why not C++?
There are plenty of C++ engines which do what I've done here and better. Pure C game engines on the other hand are much rarer. Corange provided me an outlet to practice my C skills. Of course if you are just linking to it you can still program your game/executable using C++.
What stuff does it do?
I've used it as a platform for trying out all sorts of techniques and effects. These features are not out-of-the-box or plug-in-and-play, but if you are a developer who has knowledge of what they are, you should be able to utilize what I have written. Some are WIP or rough around the edges.
Deferred Rendering / UI Rendering / Text Rendering. Multiple Lights. Post effects. SSAO. Shadow Mapping. Color Correction. Skeletal Animation. Inverse Kinematics. Collision Detection. OpenCL support. Asset / Entity / UI Management. Terrain. File loaders including .dds, .wav, .bmp, .obj, .smd. Maths and Geometry. And More...
Can I use this for 2D stuff?
Certainly. Though Corange doesn't provide a 2D renderer for you. That you can write yourself. Believe it or not, making a generalized 2D renderer can be exceedingly complicated when you have to optimise for different sprites, tile sets, dynamic objects and all sorts of other effects. You're better off writing the rendering code application specific.
Can I contact you about something?
This is still mainly a personal project and so there are going to be lots of bugs, unfinished features and messy bits of code. The engine is heavily WIP and subject to sweeping changes. It isn't really viable to use without also being part of the project development and in communication with me. Rather than a full game engine like Unity, Corange is more of a framework and gives you access to features at about the same level as XNA.
I have a big backlog of Work in Progress changes I need to push up to the repository once they get to a reasonable point so if you are interested in those please contact me.
Saying that, it is a great excuse to practise your C and I very much welcome help. If the project appeals to you here are a couple of quick things that might help get you started.
First take a look at the demos. These give a brief overview of how Corange can be used. The platformer demo is probably the most commented.
There is no real documentation so your first port of call is the header files and your second is the c files. The code has very minimal comments but should be pretty clear most of the time.
Corange doesn't hide anything from you. OpenGL and SDL calls are in the namespace so you've got access to the basics. The corange_init and corange_finish functions are fairly short so it is even possible to not call them and only use the components you want.
Structs are typedefed without their pointer. The reason for this is a personal choice but there are also quite a few data types which are passed by value on the stack (vectors, matrices, spheres, boxes). I didn't want the notion of these to get confused.
Some important parts of the engine are the asset, UI and entity managers. These basically let you access and store assets (models, textures - objects in the file system) and entities (lights, cameras, engine objects) and UI elements. They clean up memory on destruction and let you get pointers from all parts of the code.
Corange mangles the namespace pretty badly, taking names such as "error", "warning", "vec2" and "image". It isn't a general purpose library. But I've still tried to decouple stuff so it should be possible to extract certain code if you need it.