Game
Ix and the Dark Mage
8 years ago

Ranged enemy combat and blood...


What’s this? 2 devlog entries within a couple of days? Am I feeling okay?
Nothing to panic about, but I just managed to get through another couple of items that I wasn’t sure how long it would be to get implemented.

  1. Ranged attacks for enemies.
    I realised that I had an enemy which only attacks with a ranged weapon, but all of the states and attacking code was specifically written with melee combat in mind, ie: move into close range and start wailing on the player with their melee weapon.
    Unfortunately this does not work for a ranged attack, so I had to revisit the whole attack state processing and work out how to get the ranged attack working properly. This took a bit longer (several hours) than I had expected (under an hour) as I also had to synchronise the projectile creation with a specific frame of the attack animation. However after several hours, and a lot of frustration, I now have my ranged enemy working just fine and not affecting the melee attacks of my other enemies.

  2. Blood!
    This was something I had wanted to put in from the start as I was not happy with the placeholder of the player/enemy just changing colour when hit. Now I have enemies and Ix issue a quick blood spurt when hit. It may not seem to be anything major, but it does actually give a satisfying indication that damage has been done. So far the drawn sprite also changes hue to a red when damaged, and puts the player/enemy into an invincible state so that they just can be hit with a stream of damage-dealing and die within 1 second.
    Not sure about keeping the hue colouring, but that can be dealt with later on during testing as it is only a matter of a couple of lines of code that can be removed to stop it from happening.

Next step is to get the world populated, and then finally I can start to work on the long-overdue Game Save and Game Load processing.



0 comments

Loading...

Next up

Another house i made long time ago.

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

Regional Bulbasaur. #Pokemon

Auto-chess meets Clash Royale in an intense strategic battle. Outsmart your opponent, hide your play and crush their armies! Empire Builder just got another major update, check it out! https://gamejolt.com/games/EmpireBuilder/558901

We're knee deep in multiple large features and "game feel". Quick peek behind the scenes in this weeks Dev Blog: https://bit.ly/2QmmaQM

Got some fun collectibles in our game, Path of Kami!

Respect (Only TLOZ Players Will Understand)

:] me sigue sin gustar

:] I still don't like it