I little game to teach rust

⚓ Rust    📅 2025-08-15    👤 surdeus    👁️ 5      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: I little game to teach rust

I've made the game here to learn rust https://github.com/hastur-dev/rust-learning-game and I've made it so that you can write your own code in the robot_code.rs that will work in the game with a little example.

My current issue is what should I add next. The idea is that you'll get progressively more difficult levels in the game until the code you have to write is insane to complete. After enemies, items (that you gotta manually pick up because I haven't figured out the auto-grab system yet), and walls that stop any currently running robot code, I don't know what else to add. I've thrown as many item ideas at the wall that I could and I'm realizing there's only some minor things like better enemy pathing and getting everything I've thought of to work. Outside of that idk, but it's free so go ham if you want

There's a level creation system that will let you create your own YAML files that the game should read as levels when you click the button on the start menu.

I'm terrible at level designing, so right now almost everything is just set to random spawns. I'll be adding in some more fine-tuned spawning later.

2 posts - 1 participant

Read full topic

🏷️ Rust_feed