The Entity Component System (or ECS) pattern is all the rage in the Rust game development community. In this short tutorial we're going to build our own.
This tutorial assumes a little familiarity with Rust, but you'll be able to follow along if you're familiar with similar languages. I'll explain concepts and syntax that are unique to Rust.
Our ECS will be very small and do very few things, but it will be an ECS!
For my WebXR work I needed a development-only server to host a static website over HTTPS. I'd only be accessing the files on my local computer and from an Oculus Quest on the same network.
I wanted a server with the following properties:
Surprisingly it's difficult to find an easily installed webserver that fits the bill!
So I made a tiny development-only server called
devserver is a great tool for local development, but to be completely clear up-front no effort has been made to make it secure for production purposes.
You can check it out on crates.io and github.
In this post I describe the process of building
devserver in pursuit of the above goals.
Ludum Dare, the world's premiere 48 hour solo gamejam, occurred back in April.
Ludum Dare has two tracks: the 'Compo' and the 'Jam'.
The rules of the Compo require you to make a game (other than source code) within 48 hours. At the end your fellow entrants will rate your game and your game will be ranked against your peers.
With everyone quarantined at home due to Coronavirus this April's Ludum Dare had vastly more entrants than usual. A total of 1383 people entered the Compo and there were 3576 entries to the Jam. That's an absurd amount of games!
I've entered the Compo a few times using Unity, but this time around I wanted to write a game purely with the relatively new programming language Rust.
This post started out focused on the experience of using Rust, but turned into a general overview of the technical and design process for the game.
Gamers are the early adopters of VR: they crave visceral action and reflex demanding immersion. They want thrills and blood pumping excitement. The early focus of virtual reality developers has been on existing gamers, but there is enormous untapped potential by appealing to a wider audience.
Video games are a subset of interactive experiences, and yet the focus of VR development has been on creating immersive versions of existing game genres.
Immersive experiences can be so much more.
Technology in our lives is hitting its limit.
At first software developers vied for the user's dollar, then they wanted their eyes, then their time, and now we’ve reached the point where apps and software experiences are competing for a user’s mind.