Game
The Cardinal Crusade
7 years ago

New Enemy: The Core Guards


Hi and welcome to this weeks devlog!

This week I’ve been programming an enemy that we posted about a few weeks ago, the Core Guards!

These enemies are designed to be a bit more capable than other enemies in the game so far. Equipped with both a shield and a large sword, they are much more challenging to bypass and kill.

Player prediction

I started with getting them to predict an incoming attack from the player.

5d0a108f46fba.gif

This works by testing things like if the player is facing them and/or moving towards them. If the player is moving towards an enemy, there is a high chance for an attack so it makes sense to shield and walk backwards away from the danger.

Attacking the player

Next up was being able to attack the player with their sword!

5d0a1092813ce.gif

As you can see in the GIF above, the player is able to block an incoming attack with the shield.
The sword’s collision shape was set up per frame to provide a precise and fair collision against the player. No one likes taking damage when it looks like they didn’t get hit.
Below you can see the red sword overlay that I used to position the lines precisely with each attack frame.

5d0a1095e23d4.gif

After some testing we realized it was still too easy to simply double jump up and over the core guards. We want this enemy to be a challenge so we extended the length of the sword to make it harder to jump over an attack.
Of course this put the collision lines I had set up out of sync as you can see bellow so I had to do them all again from scratch.

5d0a1098a9832.png

Reacting to damage

The final step was making them react to damage from the player.

5d0a1099b7181.gif

The player has two methods of attack; front on, or from above using a downwards stab. The core guards react differently to both types.

  • For a front on attack they react with their shield in order to prevent any more damage.

  • For a downwards stab they react by swinging their sword over their head to prevent the player from being able to do further damage from above.

That was it for all the basic functionalities. They can deal damage, block incoming damage and react appropriately to any damage they happen to take. There is still polish left to do on things like damage effects but we didn’t get to that this week.

We hope you enjoyed this devlog. Thanks for reading!



0 comments

Loading...

Next up

Devlog: Behind the scene look at: The Brain Blaster enemy

The Control update!

We've update the controls in Eldritchvania to make it more enjoyable.

Check the article for details!

The Last Five Months in The Cardinal Crusade

Bug Fixes!

Since the last Eldritchvania update we've been reading feedback and watching game play videos; which lead us to witnessing and fixing more bugs.

Check the article for the list of fixes

Hi all!

A huge thanks to everyone who has played and left feedback for Eldritchvania so far!

This first update is all bug fixes and you can see exactly whats been fixed in the article below.

We're back with another update to Eldritchvania!

The focus here was accessibility, namely the flashing effects included throughout the game.

We've added the option to turn off flashing effects!

Woah!

Thanks all!

Don't forget to Wishlist Eldritchvania!

https://store.steampowered.com/app/2423710/Eldritchvania/

We took @Benallen 's suggestion and improved the map view even more by changing the colour of rooms you've entered, further clarifying where you've been so far; and thus where you might want to go next.

#Eldritchvania

Joining the 10Y club