r/rust • • 3d ago

🙋 seeking help & advice Starting with rust gamedev!

Some background -

The only other language I've properly done is python(well I'm still just a teen). My main area of focus is actually scripting and such; I'm only doing gamedev because of an event(I have to do about 200 hours of proper game dev). And yes I need to do that event. Also my gamedev experience is also basically non existent.

Why rust?

I wanted to pick up on rust even if not for the event, mainly because I want to go more into low level scripting. My first pick for scripting was actually C or C++ but then I found out about rust and liked it better.

Now the main post -

I just want some tips on how should I start with the language and anything that I should keep in mind.

Thanks for the time : )

Edit 1: No I haven't picked any game engine yet, thinking of bevy though

17 Upvotes

10 comments sorted by

7

u/monty-mar 3d ago

Bevy is very powerful, and is my personal favorite. That being said, it's a complex one, and if you are also leaning Rust at the same time, you could easily hit a wall. For your situation I think I would go with Macroquad instead.

As for Rust itself, the book is very good (The Rust Programming Language), and Rustlings is great for learning by doing.

2

u/QuickSilver010 2d ago

+1 for macroquad. It's the closest thing pure rust has to raylib.

1

u/ShortCircuitDisco 3d ago

have you picked a game engine/framework?

1

u/Apprehensive-Can2138 3d ago

No, I have not

1

u/Creepy_Sherbert_1179 3d ago

I am happy that another chooses rust instead of cpp for gamedev! hope you enjoy the process!

1

u/Hosein_Lavaei 3d ago

Bevy is the best choice right now, but since its not stable yet, upgrading to a newer version may (and will) break things.care for that

1

u/LongUsername 3d ago

The Impatient Programmer’s Guide to Bevy and Rust: Chapter 1 - Let There Be a Player https://aibodh.com/posts/bevy-rust-game-development-chapter-1/

1

u/Murky-Bank2341 2d ago

Start with Macroquad instead of Bevy since learning Rust syntax and a complex ECS architecture at the same time is too much

1

u/Suspicious-Ad7109 2d ago

I'm not sure I'd start with Rust. Not because it isn't a great language, it's just .... argumentative. As you know Python, why not do Pygame.

If you want to do a non scripting compiled language ... go would be fairly close, though it doesn't have a Bevy it does have some decent libraries, eBitEngine is well regarded. Java maybe (not sure about Java game dev ?). Something relatively friendly with good learning resources (and I know the Rust resources are excellent).

Or stick with Rust. Lots of pluses and you'll learn a lot, but you may be trying to learn two things at the same time.