The Evader

Portfolio | CV

In this program, there are 11 agents involved. An evader and 10 chasers shown in Red colour and white colour.

By default, the program will starts in Self-Driven mode, where the evader will try to escape from the attacks of enemies while the enemies will wandering around to search for the evader. However, user can choose to change the mode by pressing "W".

State Machine used to make the decision on whether the enemies should search for the evader, prepare to attack, attack the evader, or try to avoid laser. On the other hand, the evader will switch between run away from the enemies and wandering around.

Steering behaviours involved in this program are seek, pursuit, wander, flee, and separation. Combination of these behaviours are decided by the state machine.

The Evader v_1.0

To make this demo looks more interesting, some controls have been added.

Controls:

  • Keyboard "W" - Change state from Self-Driven to Prepare, Attack, Wander
  • Keyboard "S" - Toggle separation steering behaviour
  • Space Bar - Randomly kill an enemy and respawn it
  • Enter / Return - Shoot laser from the evader in random direction
  • Mouse drag and drop - Move the evader
Techniques implemented:
  • Steering behaviours (Wander, Arrive, Seek, Separation)
  • State Machine

To download demo(*.zip) please click here.

Video:

The Evader v2.0

All of the controls for version 2.0 are the same to version 1.0. The differences in this demo 2.0 are:

New Features:

  • 2 types of enemies added - Fighters(White and Green), Carrier(Blue)
  • White Fighters will respawn from Carrier and outside screen
  • Green Fighters will respawn only from outside the screen
  • Carrier will releases White Fighters when player ship is near

Techniques Implemented:

  • Steering Behaviours (Wander, Arrive, Seek, Flee, Separation)
  • States for different enemies(Laser Avoidance, Prepare, Attack, Global State, Clamp)

To download demo(*.zip), please click here.

Video:

Links

Academic Projects

   

Self-study projects 

 

Code

   

Competitions  

   

Articles

 

  

Curriculum Vitae