|11 months ago||13 days ago|
|MIT License||MIT License|
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.
I made my first GL project using Piston.
4 projects | dev.to | 29 Jan 2022
Check out their homepage, https://piston.rs, they even show off some great examples of how their library has been used!4 projects | dev.to | 29 Jan 2022
So, I made a Tweet not too long before I made this post, and it was me showing off my first OpenGL project using Piston. And I attached two images.
Emulating the Sega Genesis - Part II
5 projects | dev.to | 12 Jan 2022
Before I could implement the display output, I needed something to draw the images onto. There are quite a few Rust crates available to create a GUI window and update it with 2D graphics. Most of these are of course intended for making games, and also include ways of getting key presses as input, which I'll also need. I looked at Piston, which I've used before on other projects, Macroquad, which also supports web assembly as well as desktop targets, Pixels, which is intended specifically for 2D games, and Minifb, which is also specifically for 2D applications, but is much simpler. I also tried out libretro, which is specifically made for video game emulation, but I found it much more restrictive than the others because of it's narrow focus.
I'm a "low-level, terminal-only" kind of developer, completely new to the game dev world. I've been working on a 2D platformer in my spare time. Can you explain to me what I'm missing out on, by not using a "game engine"?
3 projects | reddit.com/r/gamedev | 23 Sep 2021
Depends on my goals. I year ago I wanted to learn rust, so I used piston for a gamejam. (There are several rust engines including bevy, piston, amethyst. They probably vary in quality, features, and constraints.) Piston was a terrible experience because compilation is slow even on that tiny project.
Question about rust graphics libraries
4 projects | reddit.com/r/rust | 25 Jun 2021
Rust Game Engines (again)
6 projects | reddit.com/r/rust | 4 May 2021
I would like a simple, but abstracted, drawing library
4 projects | reddit.com/r/rust | 10 Jul 2022
it seems like what you are looking for is sdl2 bindings
C++ coders, why do you stick with the language?
3 projects | reddit.com/r/cpp | 26 May 2022
*and* SDL2-sys *and* Rust-SDL23 projects | reddit.com/r/cpp | 26 May 2022
In Rust you would need libSDL2 *and* SDL2-sys *and* SDL2 *and* libc *and*
Hey Rustaceans! Got a question? Ask here! (21/2022)!
9 projects | reddit.com/r/rust | 24 May 2022
The SDL2 crate had something like this, and it's an option I'm considering. However, if possible, I'd prefer a different, simpler GUI library, so if there's an input-specialized crate out there that does this, I'd love it.
What do you think about using SDL2 bindings for a simple game?
2 projects | reddit.com/r/rust_gamedev | 19 May 2022
After a quick look onto the SDL2 bindings, https://github.com/Rust-SDL2/rust-sdl2, it seems quite mature and the sample code I'm reading uses very basic Rust features, nothing too fancy. Which makes sense, since we're binding to a C library.
[Media] Fish Fight v0.3: Level Editor; Overhauled modding system; How-to (gameplay, modding, gamedev) Book
4 projects | reddit.com/r/rust | 11 Dec 2021
This fails to build on Fedora due to an issue with sdl2-sys.
Epic funds next-gen SDL API for Vulkan
7 projects | news.ycombinator.com | 12 Nov 2021
I agree wgpu is great, but wgpu isn't a substitute for SDL. The Rust project that replaces SDL is called winit
One can use wgpu with winit (which is more common) or, if they prefer, wgpu with sdl2. Here is an example:
[HELP] I'm trying to make egui_sdl2_gl and sdl2's canvas work together
2 projects | reddit.com/r/rust | 3 Oct 2021
Found the answer: the problem was that SDL's Canvas is caching opengl calls until you call present(), which was preventing egui calls to be in the same frame. Calling SDL_RenderFlush fixed it. Opened a PR to rust-SDL2: https://github.com/Rust-SDL2/rust-sdl2/pull/1153
Mimic: A Gameboy emulator written in Rust that can be played on the command line
2 projects | reddit.com/r/rust | 1 Oct 2021
This project makes use of SDL2, check the README for instructions on linking it from Rust here
Hey Rustaceans! Got an easy question? Ask here (38/2021)!
7 projects | reddit.com/r/rust | 21 Sep 2021
You could try https://crates.io/crates/tuikit - not sure if this fits with what you intend to do. https://crates.io/crates/sdl2 Will also allow you to handle key events. But if you are trying to capture key events that happened outside your focused application, you it will be more OS dependant, and may require escalated privileges
What are some alternatives?
bevy - A refreshingly simple data-driven game engine built in Rust
Amethyst - Data-oriented and data-driven game engine written in Rust
winit - Window handling library in pure Rust
rust-sdl - SDL bindings for Rust
ggez - Rust library to create a Good Game Easily
Crayon - A small, portable and extensible game framework written in Rust.
Pinky - An NES emulator written in Rust
Vcpkg - C++ Library Manager for Windows, Linux, and MacOS
raylib - A simple and easy-to-use library to enjoy videogames programming
challonge-rs - Challonge REST API Client