DYSTOPIANPIXEL

enemyControl Driver

Angled scarlet and steel blue assembly code beside an enemy behaviour schematic
Conceptual Z80N assembly artwork for the planned enemyControl Driver.

Last updated: · Not started

Enemies built from reusable behaviours

enemyControl is intended to give enemies configurable ways to notice the player, move, stop pursuing and return. Combining those choices should allow different enemies without creating a completely separate routine for every variation.

The Lost Caverns comes first

The immediate requirements are those of the current platform game. Ground enemies, flying threats and creatures that ignore scenery need different movement rules, but should be able to share useful behaviour such as pursuit or a return to their starting point.

A clear starting point

I have inspected the existing game and established an initial approach. Development is on hold until playerControl is complete and the game has been updated. The platform game comes first; wider reuse should grow from a system that serves it well.

Weapons and combat for enemies

Future enemy weapons and projectiles will use the same intended firing, projectile and damage behaviour as playerControl and shipControl. enemyControl will retain enemy AI, movement and attack decisions, so a shared weapon model does not make every enemy behave the same way.