Introduction to First Game with Rust

Get a brief introduction to what you’ll learn in this chapter.

We'll cover the following

This section puts our knowledge to use and walks us through developing our first game, Flappy Dragon, an imitation of the popular mobile game, Flappy Bird.

What will you learn?

We’ll start by adding a game engine to our project dependencies, which we’ll use to implement our game loop. We’ll then test the game loop with a simple “Hello” program.

From there, we’ll implement basic program flow with a state machine, add a player, simulate gravity, and make the player’s dragon flap its wings.

Finally, we’ll add obstacles and scorekeeping to the game. By the end of this chapter, you’ll have a complete game, built entirely with Rust.

Get hands-on with 1400+ tech skills courses.