Game
Ix and the Dark Mage
9 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

This Satuday we invite to watch another #speedpainting of our artist Daniel Faiad.

How great is this scene of #Pecaminosa?

#ScreenShotSaturday | #IndieDev | #DigitalArt

🍒Did you like the game? A demo is available for free on Steam.

✌️ Thanks for playing IndieGameiacs!

⚙️ Free Demo: http://bit.ly/UniDuni

📺 Full Video: https://youtu.be/5qEbVXg7GaQ

#steam #uniduni #clops #screenshotsaturday

The whole squad is here!

Interested? Follow me!

Horror WIP A track that will be featured in a future horror game soundtrack! Stay tuned!

Likes appreciated ✌️

#gamedev #composer #horrorgame #indiegame #IndieGameDev #soundtrack

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Shuiro Haname. #Commission

Commission for @ShuHaname

If you’ve played the Vault demo and enjoyed it, please consider ‘liking’ the game page here on Gamejolt and/or leave a comment!

Also please consider tossing Vault on your Wishlist, I really appreciate your support!

https://store.steampowered.com/app/1251800

I did this on my 3DS ^^ #Kirby

it happens

Subscribe to technoblade