I love to implement procedural logic; here, we generate a space base.
Here's what we have:
Legs that connect modules to the ground
New modules snap to free doors of another module
Modules may be connected at different heights
A configurable generator where we specify a list of pods and the number of airlocks
Doors between modules
Here is a purely procedural animation for a big robot. I couldn't find a good animation for a mech, so I decided to make it procedural.
What do we have here:
Simple movement
Feet that snap to the ground
Rotation in place and on the move
I love survival games, so this was my first attempt to create a co-op zombie survival game.
Here's what we have:
An animated third-person character
Weapons that have different skins and parameters
Very simple AI for zombies that chase you
Here, I implemented server rewind logic, which may be useful for cyber sport disciplines.
What do we have here:
Syncing time between client and server
Storing snapshots of player positions for the last N seconds
Just for fun, I used AI to create a simple cover-based shooter.
Here's what we got:
A very basic cover generator system that spawns covers and calculates possible cover points
Combat decision logic that helps pawns find the best cover based on the current state of the battlefield
A simple weapon system that fires projectiles with spread
A custom sight system for pawns. I was truly shocked that such an essential feature as sensing enemies is so poorly implemented in Unreal Engine. It deserves a separate post. 😄
A basic pawn that is capable of holding a weapon and using all the systems above to defeat its enemy
Things to improve:
Multiple pawns try to take the same cover, so they become easy targets
Friendly fire; nobody cares about killing an ally
Pawns always try to get new cover instead of holding a good position
Weapon reloading would add some tactical moments
More weapons and shields would also add more tactical options