
Recently I’ve been diving more into game design and development and learning Unreal Engine. I’ve always wanted a low-key driving game where I could just get on and drive forever, with no timers or missions or races. I set out to see if I could create it for myself as a small project.
The first task was to figure out how to generate (and destroy) terrain on the fly as I drive. I started with the “Vehicle” template game included with Unreal Engine and then created my own empty level. After some (ok, a lot) of trial and error I was able to write a script that continuously loads chunks around the player given a specific chunk size and load distance. It also unloads chunks that are far enough away from the player that they are no longer needed.
Obviously the chunk size and load distance would be greater than in the above image in an actual game, but I made them small so I could see what was happening.
Next, I’ve been exploring noise algorithms to procedurally generate terrain.
Comments are disabled here because tracking multiple sites is agonizing. If you want to chat about this, join me on Discord.