Book

Game Development with Rust and WebAssembly

Game Development with Rust and WebAssembly will teach you all about 2D game development by helping you create an endless runner game from scratch. The book will help you take advantage of all the benefits of a statically typed compiled language, with the speed boost of WebAssembly and the ubiquitous distribution of the web browser.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

15h52m

Language

English

About Book

Who Is This Book For?

This game development book is for developers interested in Rust who want to create and deploy 2D games to the web. Game developers looking to build a game on the web platform using WebAssembly without C++ programming or web developers who want to explore WebAssembly along with JavaScript web will also find this book useful. The book will also help Rust developers who want to move from the server side to the client side by familiarizing them with the WebAssembly toolchain. Basic knowledge of Rust programming is assumed.

Book content

chapters 15h52m total length

Hello WebAssembly

Drawing Sprites

Creating a Game Loop

Managing Animations with State Machines

Collision Detection

Creating an Endless Runner

Sound Effects and Music

Adding a UI

Testing, Debugging, and Performance 

Continuous Deployment

Further Resources and What’s Next?

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required