Double Flash Studios is my game development studio, founded in 2022. I created this company to manage freelance work as well to develop my own original games. What does Double Flash mean? “Double Flash” refers to the characteristic double flash of a nuclear explosion. A nuclear explosion generates an enormous amount of light, which is ... Read more| VAZGRIZ
This post will cover the use of PID controllers in video games. If you’ve ever used your car’s cruise control, flown a quadrocopter, or piloted a rocket, then there’s a good chance that you’ve used a PID controller. A PID controller is a type of control loop that’s used for automation. PID controllers are flexible ... Read more| VAZGRIZ
There’s a niche genre of music on the internet called “oscilloscope music”. This is electronic music that is designed to be visualized with an oscilloscope. Music visualizers have existed for a long time, but they often just display an image that represents the audio abstractly. Oscilloscope music allows the musician to draw arbitrary shapes using ... Read more| VAZGRIZ
Now that we have the flight mechanics and HUD, we can start working on the weapons and AI. The AI will have all of the same capabilities and limitations as the player. It’s plane will have identical stats and it will use the same weapons. The AI will be simple, but still capable of shooting ... Read more| VAZGRIZ
This article will cover the creation of the plane’s animation, camera, and HUD. It answers one particularly tricky question: how can we make HUD elements line up correctly with a given angle? Flight Sim Part 2 by vazgriz Github at part-2 Animation The animations for the control surfaces are pretty simple. Since the aerodynamic forces ... Read more| VAZGRIZ
I’ve been playing Ace Combat and Project Wingman recently. This inspired me to write my own flight simulator using Unity3D. I wanted to make a flight sim with more depth than the arcade flight sims, while still being accessible. You can think of realism as a spectrum. On one end is Ace Combat and at ... Read more| VAZGRIZ
In this post, I will describe a shader for Unity3D that recreates the look of a reflex sight. A reflex sight projects the image of it’s crosshair to some distance in front of the viewer. Red dot sights holographic sights are both types of reflex sights, they only differ in the crosshair used for aiming. ... Read more| VAZGRIZ
I’ve been playing some roguelikes recently, so I wanted to try writing my own procedural dungeon generator. There are a lot of different ways to approach this problem, but I eventually decided to base mine off of TinyKeep’s algorithm, described here. I extended the algorithm to work in 3D, to create dungeons with multiple floors. ... Read more| VAZGRIZ
This is the third in a series of blog posts about how I wrote and optimized VkColors, a small compute program written using Vulkan. | vazgriz.com
Translating a Fortran F-16 Simulator to Unity3D| vazgriz.com
I recently purchased the textbook “Aircraft Control and Simulation” by Brian L. Stevens, Frank L. Lewis, and Eric N. Johnson1. This book covers the control and simulation of aircraft. It’s really dense and frankly hard to understand. As far as aerodynamics texts go, it’s pretty typical.| vazgriz.com