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

Version 1 begins with a ground sentinel

The first proposed working slice is a stationary ground enemy that notices the player, pursues horizontally and stops pursuing when the player leaves its configured range or level. It can either stop where it is or return to its home position. This is the first milestone to prove, rather than a claim that every planned behaviour will arrive at once.

Separate noticing and disengagement ranges

Activation and disengagement should be separately configurable. An enemy should not constantly alternate between chasing and stopping when the player stands near one boundary. Vertical tolerance also lets a ground enemy decide whether the player is at a relevant level.

Respect the level while moving

Ground movement should account for walls, floors, ceilings and platform edges. Home position, movement speed and the response to an obstruction belong to the chosen behaviour. The system should be able to wait, stop, turn or return as appropriate.

Configure and control individual enemies

A level chooses which enemies appear and how they behave. Enemies should be enabled, reset or paused, with freezing and resuming available for gameplay such as power-ups. The driver handles movement and behaviour; the game retains scoring, lives, pickups, sound choices and level progression.

Warnings when an enemy approaches

The audio design explicitly requires a notification when an enemy crosses into a chosen distance from the player. enemyControl decides when that happens; audioControl chooses the warning. Repeatedly remaining close should not create repeated warnings. A notification when the enemy moves away is a possible later addition.

Grow through representative behaviours

After the sentinel is stable, I intend to add pursuit in both directions, patrol and edge handling, jump decisions and then scripted routes. These are planned expansions. The full first-release scope will be settled when development resumes.

Later weapons and projectile behaviour

The wider combat plan adds enemy-owned weapons and projectiles with configurable firing patterns, aiming, resources and damage. This is future work beyond the first ground-sentinel milestone, using consistent combat behaviour alongside playerControl and shipControl.