Why are my headphones buzzing whenever I run my game?
Background
Background
In part 1 we have learned how to set up WebAssembly VM to run a simple rust program that can add two numbers and print the result to stdout. In part 2 we will go over Debugging and Binary size.
Most WebAssembly tutorials and examples you will find online focus on using it inside the browser in order to accelerate various functionality of a website or web app. However, there is an area where WebAssembly is really powerful but not talked too much about: outside the browser usage scenarios. That is what we’ll focus on in this series of posts.
I wish today’s games would have accurate temperature simulation…
Github has added CI workflows with github actions and I decided to try it after I saw how well it worked for my colleague, Yakov. I am doing a game in Rust and I need to test it on Windows, Linux and MacOS. While Windows and Linux tests are easy to run with the help of WSL on my machine, I don’t own a Mac so that platform was never tested until now.
Usually videogame developers have three possible approaches to testing: Hire armies of people to do it for you. Early access. Hope all is fine.
Pathfinding gave me a lot of problems as I went with the clasic A* approach for my game. This worked well except one case. When you don’t have a path to a certain point, you might end up traversing all the blocks of a world desperately trying to find one. This can be quite time consuming, and even for a relatively small 100x100 world, you might spend 7ms searching for a path that doesn’t exist.…
In my spare time I am working on a dwarf colony management game that’s written in rust. I started this project about one year ago and since it has reached this milestone and I didn’t abandon it I think it’s a good time to look at the curent status.
Rust is excellent for performance crucial applications that run on multi-processor architectures and these two aspects are also critical for game development. Rust has already seen a bunch of interest from games developers like Chucklefish, Embark Studios, Ready at Dawn, etc. - but in order to really excel I’d love to organize some structured efforts to improve the ecosystem and I think it would…
While I didn’t post anything on my blog I have been working on a lot of fun projects in my spare time. Most notably, I have been learning Rust. Part of doing that resulted in a few neat side-projects that I will talk about here in more detail. This is mostly my journey on learning a new language, I am sure there are other ways, but this worked for me. I started with the rust book and then I…