Remix.run Logo
Bevy game development tutorials and in-depth resources(taintedcoders.com)
117 points by GenericCanadian 3 days ago | 27 comments
jvuygbbkuurx an hour ago | parent | next [-]

My problem with bevy isn't the basics, but the architecture. I always feel like I'm making wrong decisions on if something should be a component or a field, and how it interacts with other stuff in systems. I just feel like I'm making an unmaintainable mess, but I'm not sure how it could be improved.

vivzkestrel 10 hours ago | parent | prev | next [-]

- since we are on the topic, i wanted to ask people here

- could someone kindly share some resources on c++ game development

- here is what i have

- https://gamedev.net/tutorials/

- https://shader-learning.com/

- https://learnopengl.com/

- https://shaderacademy.com/

- https://www.gabrielgambetta.com/client-server-game-architect...

- https://github.com/0xFA11/MultiplayerNetworkingResources

- just a headsup, i am looking for 3D game development without unreal, unity , godot or any of those engines

tigerlily 10 hours ago | parent | next [-]

https://lazyfoo.net/

krilcebre 8 hours ago | parent | prev | next [-]

Here's a great one: https://pikuma.com/courses/cpp-2d-game-engine-development

ivanjermakov 8 hours ago | parent | prev [-]

Handmade Hero

tyleo 4 hours ago | parent | prev | next [-]

I really want to like bevy but compile times are slow and the output binaries are huge.

I built a few games in WASM and was shocked to see many of the bevy variants larger than the Unity versions.

There’s definitely a market for rust game engines but it seems that no one’s hit the sweet spot yet.

reitzensteinm 3 hours ago | parent | next [-]

Compile times are my biggest struggle, too. I'm vibecoding Bevy with parallel agents, and the bottleneck is often compiling the changes on my 7950X, not getting Codex to write them.

As far as file sizes go, I'd be really interested in how a Rust compiler that didn't monomorphize so much would perform. Right now you have to modify the source code to write polymorphic generic functions, but it doesn't strictly have to be that way (at least as far as I can see).

I wouldn't use Bevy for a web only game either, especially while it's still single threaded on WASM.

0x1ceb00da 3 hours ago | parent [-]

Bevy website has some tips for improving compile times, have you tried them out?

alfiedotwtf an hour ago | parent | prev [-]

I hear Rust being slow to compile is their biggest gripe, but really - look at what you’re gaining for the slowdown!

Bevy gives you a very nice ECS to model your app but compilation can be slower than hand crafted code, while not using it gives you tonnes more code and the complexities that come with it, just to compile faster?

NewsaHackO 10 minutes ago | parent | next [-]

I swear I have only heard about ECS and people trying to show off how good the ECS is when it comes to Bevy, never about an actual game.

tyleo an hour ago | parent | prev [-]

I don’t know what you mean by, “just to compile faster.” Compiling fast is critical to game development. There’s no formula for fun so you have to iterate extensively.

I also don’t think that other solutions are “tonnes more code.” Any code will explode in size if poorly written. The same is true for bevy.

reitzensteinm 10 hours ago | parent | prev | next [-]

This site is excellent. I emailed the author to thank them after reading it cover to cover, and they replied and asked if anything was unclear or if there was anything I wanted to see explored more.

Quite the dedication to a free resource!

michaelteter 9 hours ago | parent | prev | next [-]

Those of us unfamiliar with Bevy can deduce what it might be, but it would be really nice if your introduction included at least a link titled "Bevy game engine" which links to bevy.org.

Then your unfamiliar readers can first hop to bevy.org to see what it's all about.

nextaccountic 12 hours ago | parent | prev | next [-]

> These guides are up to date with Bevy version 0.18

This is huge, thanks. Unfortunately many Bevy resources became stale (the Bevy cookbook was even abandoned, there was little interest in keeping it up to date and so there were many sections for, say, Bevy 0.12)

roflcopter69 9 hours ago | parent | prev | next [-]

There's also ongoing work on the (for now hidden) Bevy Book https://bevy.org/learn/book/intro/

Already seems like a great resource to me but it's still WIP.

Based-A 7 hours ago | parent [-]

As someone who is actively working on the Bevy Book, the next engine release should include the first public release of the Bevy Book. And once it's out, then we'll be doing our best to keep it updated and expand it alongside the Bevy engine.

Tade0 3 hours ago | parent | next [-]

Great news, thanks. I have to say that several times I tried to invent something from scratch only to eventually find, reading the documentation/examples, that Bevy already has that part covered.

I now default to the examples, but a book would greatly help.

dannersy 5 hours ago | parent | prev [-]

This is great news and thank you for work.

Ugvx 5 hours ago | parent | prev | next [-]

This has been on my list to kick off for a while. From previous times I looked at it, these tutorials are the only text based tutorials that are really kept up to date. Love it

jippo 13 hours ago | parent | prev | next [-]

Thank you. Not many free and in-depth resource for Bevy engine. Mostly are paid ones. I am surprised that you switch from Ruby to Rust. Seems a different beast to me.

jaggederest 10 hours ago | parent | next [-]

As a long time ruby enjoyer and now also rust enjoyer, the core syntax and systems of rust are very rubyesque in a lot of ways, you can tell that some of the core contributors liked the language.

nextaccountic 9 hours ago | parent | next [-]

yeah ruby API ideas and the _why poignant guide specifically, they were very influential in programming in general. a number of early rust devs came from ruby as well. all original authors of cargo worked on ruby's bundler earlier. etc

IshKebab 6 hours ago | parent | prev [-]

Really? What do you think comes from Ruby? Rust mostly seems to be inspired by ML and C++.

Actually I just checked the "official" list and they only list the closure syntax which seems pretty minor:

https://doc.rust-lang.org/reference/influences.html

leafario2 5 hours ago | parent [-]

Expression orientation

IshKebab 4 hours ago | parent [-]

That's from functional programming.

nextaccountic 9 hours ago | parent | prev [-]

> Mostly are paid ones.

can someone link to some of those paid resources?

SilentM68 8 hours ago | parent | prev [-]

Thank you :)