Projects / warfare-chaos · 2018-2020 · Solo developer (art, code, design)
Warfare Chaos
A 3D tank game I built across two and a half years in Unity + C#: custom raycast cameras, hitscan ballistics, HDRP before it was stable.
What it is: My second large project, a 3D tank combat game built from April 2018 to September 2020 in Unity, coded in C#. What it does: you drive a tank, fight enemies that track you precisely, and survive knockback physics, with a camera, ballistics and HUD that I wrote from scratch.
Engineering under the hood
- Hitscan ballistics: no physical projectile; a ray from the barrel answers "did I hit something, and where," spawning the right particle effect at the impact point (plus muzzle smoke).
- Adaptive third-person camera: continuously raycasts to the wall behind the tank and repositions itself, so the vehicle stays framed in tight corridors.
- A barrel with a collider. Most tank games let the turret clip through walls; it always annoyed me, so mine can't, even on the rugged test terrain.
- HUD systems: circular minimap that rotates with the camera view (the first build's square minimap wasn't appealing, so I rewrote it), a circular reload indicator, health bars that read at a glance.
- Everything visual was mine too, 3D modeling and textures included (the pink ramp in old screenshots is an un-retextured casualty of the HDRP migration).
Moving to HDRP before it was ready
Unity's High Definition Render Pipeline was still in preview, buggy and half-documented. Adopting it meant post-processing (fog, vignette) looked great, and constantly re-breaking features I'd already shipped. Maintaining against a moving, unfinished platform taught me more about defensive engineering than any framework choice ever has.
The honest part
A friend was supposed to co-develop, which pushed me onto source control, but he never committed much, and the project lacked a long-term vision, so motivation faded. The pink ramp, the half-integrated dialogue manager, the deprecated Unity source control behind the collab button. This page keeps them visible on purpose. Two lessons stuck: write a minimum-viable-product feature list before starting (I used it on every Dart project after), and finish > features.
Fun fact: I built the movement code in elementary school, before knowing trigonometry, so driving at a 45° angle was faster than straight lines. Diagonal input gave a √2 speed bonus. Classic.
No public repository; happy to walk through the systems on request.







