SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Gamedev Open-Source Projects
-
finish the Godot4 course and try release a game after that.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Project mention: What do you think about using a game engine for UI? | news.ycombinator.com | 2025-01-12
I've recently had a lot of fun/success with Dear ImGui (C++) -- not a game engine, but originally/partly meant for use in them. https://github.com/ocornut/imgui
-
Not a very impressive example yet, it's mainly there for our CI system[1] to ensure that no one accidentally breaks the meshlet feature, but there is an example you can run to get a basic idea of the feature.
You can download Bevy https://github.com/bevyengine/bevy, and run `cargo run --release --examples meshlet --features meshlet`. After it compiles you'll get prompted to download a bunny.meshlet_mesh file. Click the link to download and create and place it in the appropriate folder, and then run the example again.
There's also this video from the Bevy 0.14 release notes demonstrating it, but performance/quality has improved a _lot_ since then: https://bevyengine.org/news/bevy-0-14/many_bunnies.mp4
[1]: https://thebevyflock.github.io/bevy-example-runner
-
phaser
Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
Project mention: Show HN: 1M+ animated GPU sprites in JavaScript | news.ycombinator.com | 2025-01-30This is super cool & I'm impressed that it's working with WebGL.
From reading the code & seeing the examples in the sandbox, it looks like the sprite layer is defined one time (initialization) with specific sprite & animation properties that are exposed to JS via the SpriteGPULayer config https://github.com/phaserjs/phaser/blob/v4.0.0-beta.5/src/ga... , then that class passes the info over to the vertex shader which has ifdefs to determine which animation, other features are enabled for a given SpriteGPULayer - https://github.com/phaserjs/phaser/blob/v4.0.0-beta.5/src/re...
This way you don't end up having to do any updates per frame on the CPU and it remains one draw call for the entire layer right?
Are there other use cases besides from large scale sprite/animated backgrounds that you've thought of?
-
I don’t have a review, but here’s a significant project using it in a complicated cross platform build with different systems dependencies: https://github.com/raysan5/raylib/blob/master/build.zig
They also have a cmakelists.txt to compare against.
One of the nicer things is that if you’re working with less technical folks, they only need to download the zig binary because it bundles the entire toolchain.
-
WaveFunctionCollapse
Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
Project mention: Generating an infinite world with the Wave Function Collapse algorithm | news.ycombinator.com | 2025-01-18https://github.com/mxgmn/WaveFunctionCollapse
As for global repetition, the original repo did have this to say, that selecting tiles is important.
-
Project mention: How to Use the Foreign Function API in Java 22 to Call C Libraries | news.ycombinator.com | 2024-05-08
-
Nutrient
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
-
-
games
:video_game: A list of popular/awesome video games, add-ons, maps, etc. hosted on GitHub. Any genre. Any platform. Any engine.
-
Cocos2d
Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
-
3d-game-shaders-for-beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
-
Project mention: Stripe Black Friday Dashboard (Physical Machine) | news.ycombinator.com | 2024-12-03
Just based off one of the errors in the console, I think it's using A-Frame which is built on top of Three.js https://aframe.io/
-
Project mention: A (not so) small library for terminal based game development | news.ycombinator.com | 2024-07-23
If pygamelib interests you, you might also be interested in Pyxel:
https://github.com/kitao/pyxel
-
bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Project mention: Bgfx: Cross-platform, graphics API agnostic rendering library | news.ycombinator.com | 2025-01-08 -
-
Find and read more about the GitHub repo here.
-
MonoGame: https://www.monogame.net/
-
Project mention: Ask HN: Platform for 11 year old to create video games? | news.ycombinator.com | 2024-09-20
https://github.com/hajimehoshi/ebiten (golang) and https://github.com/gosu/gosu a (ruby) are, IMHO, worth exploring if you want to put some emphasis on coding.
-
Project mention: Rust: Doubling Throughput with Continuous Profiling and Optimization | news.ycombinator.com | 2025-02-14
I'm not sure if this is what you are looking for but I found https://github.com/wolfpld/tracy to work rather well. There is an integration for the tracing crate that can get you very far: https://lib.rs/crates/tracing-tracy. If you're just looking for a very high level report then this might be a bit too much detail.
-
Project mention: Using Jolt with flecs & Dear ImGui: Game Physics Introspection | dev.to | 2024-04-17
EnTT is a popular alternative to flecs for C++, which has different performance/memory characteristics.
-
Project mention: Release Radar · August 2024: Major updates from the open source community | dev.to | 2024-09-05
If you love building games, this one is for you. PlayCanvas is a WebGL and HTML5 game engine. Some of the web's most popular games have been built with PlayCanvas. The latest release has tonnes of breaking changes from removing WebGL1 support along with dozens of other legacy scripts and functions. There are also some new rendering features, materials, and blending tools. Dig into all the changes in the release notes.
-
-
cocos-engine
Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Gamedev discussion
Gamedev related posts
-
Valve releases Team Fortress 2 game code
-
Show HN: First NetPanzer Release since 2017
-
Three-nanite: Unreal Nanite in Three.js
-
Enclave Games Monthly Report: January 2025
-
State of Web Game Development in 2024
-
From C++ to Clojure: New Language Promises Best of Both
-
Report on the current state of Web Game Development in 2024 is out!
-
A note from our sponsor - SaaSHub
www.saashub.com | 19 Feb 2025
Index
What are some of the best open-source Gamedev projects? This list will help you:
# | Project | Stars |
---|---|---|
1 | Godot | 93,937 |
2 | imgui | 63,130 |
3 | bevy | 37,963 |
4 | phaser | 37,530 |
5 | raylib | 24,909 |
6 | WaveFunctionCollapse | 23,732 |
7 | libGDX | 23,729 |
8 | egui | 23,715 |
9 | games | 23,170 |
10 | Cocos2d | 18,389 |
11 | 3d-game-shaders-for-beginners | 18,117 |
12 | A-Frame | 16,850 |
13 | pyxel | 15,839 |
14 | bgfx | 15,400 |
15 | magictools | 14,016 |
16 | GDevelop | 12,890 |
17 | MonoGame | 11,814 |
18 | Ebiten | 11,564 |
19 | tracy | 10,746 |
20 | entt | 10,596 |
21 | engine | 9,925 |
22 | flame | 9,715 |
23 | cocos-engine | 8,391 |