miniquad
arewegameyet
Our great sponsors
miniquad | arewegameyet | |
---|---|---|
12 | 99 | |
1,367 | 674 | |
- | 0.7% | |
8.0 | 7.0 | |
7 days ago | 9 days ago | |
Rust | SCSS | |
Apache License 2.0 | Creative Commons Attribution 4.0 |
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.
miniquad
-
OpenGL crates: gl vs glow vs glium
You also have Miniquad which is a very cool minimal graphics project. It has almost zero dependencies (only system ones), and compiles under 2 seconds to give you a window with OpenGL on all platforms including mobile very easily. It has a wrapper graphics API but it doesn't try to be modeled after OpenGL at all (after all it might support Metal in the future), so it's gonna be quite different doing your project in it, but it's still the same kind of low level graphics.
-
Please suggest high quality render library
Theirs also https://github.com/asny/three-d or https://github.com/not-fl3/miniquad. Or lower level ones like WGPU or GLOW.
-
Is there a way to use piston with wasm?
In that same rust game jam the second most used engine was macroquad, which was used by 3 games, two of which are playable in the browser. Macroquad is a cross-platform game library inspired by raylib. Macroquad is built on top of miniquad. I think macroquad is a bit more approachable than bevy since macroquad doesn't impose an ECS and tries to be minimal with its features so they are available in all of the platforms it targets.
-
Rust alternative for PyGame ?
(miniquad is a lower level lib https://github.com/not-fl3/miniquad - both miniquad and good-web-game is built on top of it)
-
Tetris Livecoding stream #3: Rendering with SDL2
Nice! Would love to see the same thing done with miniquad though.
-
Show HN: Life Simulation Written in Rust
Looks like it won't work out of the box, unfortunately, since {macro,mini}quad doesn't support a custom X11 parent window :-(
But I've opened an issue upstream to track functionality in the renderer that would allow this[1].
- Question about rust graphics libraries
-
Rust, For GameDev
Single command deploy for both WASM and Android build instructions
-
Minimal graphics crate for Rust
Hi, I am using macroquad. There is an issue with `window_reizable` property. In my archlinux, this property doesn't work when set to `false`. Then I saw here that it is used only for windows. If I am correct, could you let me know the reason for this? Thanks
-
Modern and lightweight 2d graphics engine
If you want to write your own shaders: miniquad.
arewegameyet
-
Is rust suitable for multiplayer games?
arewegameyet
-
Someday, maybe, we will be game. I hope.
"While the ecosystem is still very young, you can find enough libraries and game engines to sink your teeth into doing some slightly experimental gamedev."
-
Egregoria is a city simulation with high granularity
I think Rust for games has come really far. I will cite https://arewegameyet.rs/ "Almost. We have the blocks, bring your own glue.".
All the blocks are there and the language is really well suited to games.
On top of my head:
The pros:
- The crate ecosystem and the package manager makes it really easy to integrate any useful component such as pathfinding, spatial partitioning, graphics backend, audio system.. Most crates take a lot of effort to be cross-platform so I can develop on linux and not spend too much time debugging windows releases.
- The strong typing and algebraic data types makes expressing the game state very pleasant. I also found I was able to develop a very big game without too many bugs even though I don't write many tests.
- Ahead of time compilation + LLVM guarantees you won't have to optimise for weird things around a virtual machine. Rust gives you more control to optimise hot loops as you can go low-level.
- I find wgpu to be the perfect balance between ergonomics and power compared to Vulkan. OpenGL support through wgpu is also a nice addition for lower end devices.
- The Rust community is very helpful, you can often talk directly to crate maintainers
The cons:
- Compilation times, when compared to JITed languages such as C# can be very painful. It can be alleviated by buying a 3950X but I still often get 10-30s iteration times.
- The static nature of Rust means you often need a dynamism layer above to tweak stuff that can be awkward to manage. I made inline_tweak for this purpose but it's really far from how easy Unity makes it. https://github.com/Uriopass/inline_tweak
- Since Rust feels very ergonomic, you are tempted to write almost all game logic within it, so mod support feels very backwards to implement as you cannot really tweak "everything" like in Unity games. Thankfully "Systems" game like Factorio or Egregoria can be theoretically split into the "simulation" and the "entities" so mod can still have a great impact. Factorio is built in C++ so has the same problematic. Their Lua API surface is quite insane to be able to hook into everything. https://lua-api.factorio.com/latest/
Now, I have to talk about Bevy: https://bevyengine.org/. It did not exist when I started but it is a revolution in the Rust gamedev space. It is a very powerful 100% Rust game engine that makes you write game code in Rust too. It has incredible energy behind it and I feel like if I'd used Bevy from the start I wouldn't have had to develop many core engine systems. Its modular design is also incredibly pleasant as you can just replace any part you don't like with your own.
- What is Rust's potential in game development?
-
Struggling to find practical uses for Rust
For practical uses of Rust? Whatever you want to program. People use Rust for game development, GUIs, web dev, and more. Anything where abstraction, speed, concurrency, memory safety, etc. are important, Rust will probably be a good fit.
-
Latest Zen Kernel......
Are we game yet? "Almost. We have the blocks, bring your own glue"
-
Really frustrated. [Warning: Bit of a negative rant]
Not seeing anything else that's close to photo realistic. I'm hitting the tough bugs first all too often. More than half my time has been spent on ecosystem problems.
-
What are some stuff that Rust isn't good at?
I also know of https://arewegameyet.rs/
-
Chrome ships WebGPU, a sort-of successor to WebGL. How soon do you see this being adopted by the game dev community?
Yes — and in fact, Firefox's implementation has been the go-to graphics API for folks trying to make Rust gamedev happen for a long time now. Bevy Engine's renderer is built on it, for example.
-
Are We <Thing> Yet?
They're all/mostly websites about the state of the Rust language ecosystem. For example, can you write games in Rust (https://arewegameyet.rs/) or what's the state of the async (https://areweasyncyet.rs/)
What are some alternatives?
macroquad - Cross-platform game engine in Rust.
Godot - Godot Engine – Multi-platform 2D and 3D game engine
rust-sfml - SFML bindings for Rust
RG3D - 3D and 2D game engine written in Rust [Moved to: https://github.com/FyroxEngine/Fyrox]
raylib - A simple and easy-to-use library to enjoy videogames programming
rust-rdkafka - A fully asynchronous, futures-based Kafka client library for Rust based on librdkafka
pixels - A tiny hardware-accelerated pixel frame buffer. 🦀
GameDev-Resources - :video_game: :game_die: A wonderful list of Game Development resources.
vulkano-examples - Examples of using vulkano
detonator - 2D game engine and editor 💥💣
ggez - Rust library to create a Good Game Easily
awesome-bevy - A collection of Bevy assets, plugins, learning resources, and apps made by the community