|
|
|
|
|
by deckarep
3330 days ago
|
|
I largely echo the sentiment of using Rust for game development. The world doesn't need another Flappy Bird clone but that's what I wrote because I ended up porting a Go version that was using SDL originally by Francesc Campoy from the Golang team: https://github.com/campoy/flappy-gopher I was able to build the Rust version fast, and the SDL library is actually quite usable/stable for most things. Flappy-Rust has particle effects, the beginnings of parallax-scrolling and basic collision detection. The rust code ended up being pretty reasonable however I'm quite sure there are a few places I could have simplified the sharing of assets. If anyone is interested in this space check out my repo: https://github.com/deckarep/flappy-rust Also please see the README.md where I talk a bit more in-depth about how the Rust version differs from the Go version. Here is a .gif preview of the first iteration of the game: https://github.com/deckarep/flappy-rust/blob/master/flappy-r... |
|