Gaming grantshandy.github.io

Write a first person game in 2kb with Rust  ↦

On first glance, making a first person game without an engine or a graphics API seems like an almost impossible task. In this post I’ll show you how to do that using an algorithm called ray casting.

My goal here is to show how something that looks complicated can be broken down into simple pieces, and if I’ve done my job right, it should feel like you’ve discovered how the game works.

Write a first person game in 2kb with Rust

Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00