zig-gamedev
Dev repo for @zig-gamedev libs and sample applications (by zig-gamedev)
HandmadeMath
A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify. (by HandmadeMath)
zig-gamedev | HandmadeMath | |
---|---|---|
55 | 4 | |
2,669 | 1,421 | |
0.8% | 1.3% | |
8.6 | 4.3 | |
21 days ago | 6 months ago | |
Zig | C | |
MIT License | Creative Commons Zero v1.0 Universal |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zig-gamedev
Posts with mentions or reviews of zig-gamedev.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-15.
-
Zig for gamedev?
Two game frameworks in the making: https://github.com/michal-z/zig-gamedev & https://github.com/hexops/mach
-
Projects / areas of specialization for learning zig
I did a hangman game, I'm doing a file compression tool next. I asked bing chat to recommend beginner projects for zig and that's what it told me. It also suggested a cli calculator and a cli text editor, but I didn't want to do that. My next thing will be something using https://github.com/michal-z/zig-gamedev
- zig-gamedev project: Monthly Progress Report - Feb 2023 (zflecs, zsdl, zopengl and more)
- zig-gamedev project: Monthly Progress Report (January 2023)
- zig-gamedev project: zphysics v0.0.4 - Zig API and C API for Jolt Physics
-
Just found out about Zig and wonder what would be the best graphics library to pair with it?
This repo may be useful. It isn't an engine or a renderer, but rather a collection of useful libraries if you do end up writing your own tools. https://github.com/michal-z/zig-gamedev
-
Is C++ still the language when entering 3D programming in 2023?
Something like vulkano in Rust or zig-gamedev in zig might be a much more enjoyable approach: They're similarly bare metal languages but have a lot of advantages over C++ (borrow checker's safety, simpler syntax). However, they're not commonly used by big studios.
-
Gamedev in zig
I've been working on a gamedev project in zig, using zig-gamedev. It has many libraries you can use, though my game is 2D. Feel free to check out my project if you want to see how I set things up. https://github.com/foxnne/aftersun
- zig-gamedev project - progress report
- Goodbye to the C++ Implementation of Zig
HandmadeMath
Posts with mentions or reviews of HandmadeMath.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-14.
-
Trouble calculating projection matrix
If you don't like using heavy libraries such as glm, I recommend looking at HandmadeMath. It is a single file c/c++ math library for graphics programming. You can just drop it into your project. It's lightweight and will save you a lot of time implementing the math yourself. In a lot of cases, it actually uses optimized solutions to save computation time (same with the glm).
- Handmade Math A simple math library for games and computer graphics
- Matrix multiplication in C
-
mgmath - Header only vector/matrix math library
HandmadeMath does that for example, so you can take a look at how they've done it: https://github.com/HandmadeMath/Handmade-Math
What are some alternatives?
When comparing zig-gamedev and HandmadeMath you can also consider the following projects:
mach - zig game engine & graphics toolkit
cglm - 📽 Highly Optimized 2D / 3D Graphics Math (glm) for C
vos - Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
nbnet - single header C(99) library to implement client-server network code for games
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
rayfork - C99 Game Library. XNA-like. Platform Independent. Allocator Aware.