top of page
DevLogStart
Devil Diver - Dev Log

Devil Diver is an endless dungeon crawler shooter with an isometric pov where you fight imps and cult members to get deeper and deeper into the dungeon. We made this game for the Ludum Dare 48 gamejam where the theme was "Deeper and deeper".

Classes and inheritence

The structure of the enemy AI code in Devil Diver is very similar to the one used in Gun Puppeteer. We have the parent script called EnemyBase_ where all the general logic, functionality and structure for the AI is put and then we have a class for each enemy type ( EnemyImp_ and EnemyCultist_)  that inherit from Enemybase_ where the more specific functionality is put.

​

​

States

Just like in my previous project Gun Puppeteer I structured the AI behaviour by using an enum and a switch to switch between the different states.

​

​

enum.png
switch.png
Imp

The "Imp" will get in close and personal and stab at the player with his sharp arms. This enemy has a higher amount of health and will die by 2 hits from fireballs.

Imp.png
Cultist Mage

The "Cultist Mage" will stay at a range and shoot at the player with fireballs that deal high damage. This enemy doesn't have a lot of health however and will die in 1 hit from the player or 

CultistMagician.png
Bottom

Trailer by Joel Ekberg

bottom of page