UPDATE: 10/9/11 player and enemy dmg calculations and effects

Well this week has been a good week for the “hack” progress wise; I have coded in the damage algorithm for all enemy types. This includes:
  • What color they blink when damaged; this utilizes a similar effect to the one in SOTN. I could have duplicated it EXACTLY as it was in SOTN, but due to the fact that GM does not have palette support, this would have involved having GM make about 10000 blinking sprites for me total. Easy & quick to do, but a waste of disk space for something so minor. I assure you that my damage effect is NOT the usual crappy change image blend to color BLAH BLAH effect. πŸ˜‰
  • How much damage they take; this still involves whether they are weak to an element (150% damage), strong to it (50% damage), immune or absorb it.
  • Damage calculation is now str+(str bonus/2)+weapon_damage-enemy_defense. After this is done, any calculations due to elemental weakness or strengths are figured out.
  • Defense is now con+(con_bonus/2)+defense of items equipped. After which any elemental weaknesses or strengths are calculated.
  • Critical hits; the formula is now = critical rate of the weapon+(total luck/4). It then takes this odds out of 255. So if the total for the formula is 150, any value from 1-150 will cause a critical hit. In other words, luck has a small effect, but the main thing that influences it is the weapon. Critical hits do 2x damage
  • Elemental damage is SIMILAR to the original game: each weapon can have up to 3 elements rather than up to two. If the enemy has a weakness, strength, immunity, or absorption to the 1st element, it is the one applied. If there is none (meaning it does normal damage) it moves on to the 2nd and tries the same thing. If not it goes to the third. In this way, you can assign elements in the order that you want them to take priority on the weapon.
  • Unlike in SOTN, you can assign an individual sound for when each weapon hits an enemy.
  • Unlike SOTN, you can now CHOOSE which color a weapon causes the enemy to blink when struck; so now say you have holy water with holy and flame as it’s elements; you can choose to have the enemy blink green or orange or even some other colorΒ  like red, rather than always orange. A small feature, but I actually like it since it gives me more control.
  • Stun is implemented (enemy is hit and stops moving), as is a delay between hits for each weapon. I also set something up so that if you have something like holy water that spawns multiple instances of itself, you can choose to only let one instance of the same attack hit, until the timer wears off. This fixes SEVERAL bugs found in the original game.
  • Enemies now have at least 8 slots for when they are hit by attacks that it keeps track of; rather than 1 or 2. This fixes MANY more bugs in the original game where you could throw out lots of different attacks at once, and they would hit more times than they should (I.E. intro where you use holy water and whip Dracula, scoring a TON hits more than you should).
  • Richter’s pain animations are implemented; he also now blinks all of the colors he should blink when damaged. In the original game only Alucard did this. This means that Richter can now have resistances, weaknesses, be affected by status effects, etc.
  • The player now has about 60 ticks after being damaged of invulnerability; this starts after you can move again once you are damaged. The player blinks just like in Castlevania I,II,III, IV, etc.while this is in effect.


I am actually amazed at how easy (but time consuming) all of the above features were to add in game maker. So far I have yet to find a single bug in any of them; a fact that truly amazes me. I have also set up a weapons chart and enemy chart that it in plain English, and is easily editable by anyone who wishes to customize the game. I still have quite a few things to add (the particle effects for when things like holy or flames hit the player, status effects, some calculations etc.) but this is actually a MASSIVE bit of work that I have gotten done this week. For anyone wondering, hopefully in the next 2 weeks to a month I can put out a demo of the game. I will then be waiting about a month, and releasing the current source code. I will actually be doing some rewrites this week, so that my code is easier to read and follow for the average person.
More updates to come soon, as well as a new video. Keep checking here for them my peoples. πŸ™‚
This entry was posted in General, Player Character Info (Alucard, Maria, Richter, etc.), Sprites (enemies, items, candles, etc.). Bookmark the permalink.

19 Responses to UPDATE: 10/9/11 player and enemy dmg calculations and effects

  1. Oliver says:

    Oh really sorry I forgot to put the link, here it is

    And yes I do have msn messenger…Oliver_Snake@hotmail.com, add me any time

  2. Oliver says:

    Hey Esco!

    I’ve been following your project since its was a psx hack (Glad you you’re redoing the game in Game Maker, its a wonderful program)

    You’ve done humongus ammount of work adn the result look very promising…Keep up the good work and only release it when you’ll be ready

    I know your drill about random people questions but hey ill try…. Are you going to use more 3D objects\enemies in you project? I’ve seen the clock tower and i love it. I’m myself a modeler, surely not the best one in the world, but i can pretty much model\texture anything…

    Here an old prewiew of my 3D demo…have a look if you care
    If you need any help on that leave me a message

    • Esco says:

      That is a good question Oliver; No I will not be using anymore 3d objects, BESIDES THE ONES USED IN THE ORIGINAL SOTN! So if you were asking if I will be making some things 3d, that were not 3d before, I will not be. If you were asking if I intend to keep what was 3d in the original game 3d here as well, then in most cases, yes. πŸ™‚

      I would love to see your demo; but I do not see a link in your comment; but I could definitely use assistance with 3d objects. Do you use msn messenger by any chance?That is how I mainly communicate with all project members.

  3. docj says:

    Great work. I’ve been following for years.

    let us know if you need a donation

  4. I don’t really trust MSN like that, but i do use AIM. SYKSPDER1. You could also hit me on FB. I’m signed in here with it. Just click on my name. But worse comes to worse, I can give MSN a try.

    • Esco says:

      Ok, I have added you on AIM. Though I rarely check it. You really would have better chances if you just set up an MSN messenger screen name.

  5. I guess that works. Fellow New Yorker, Lower East Side, WHOOOO!
    Your Idea is awe-inspiring dude. I wanted to help if i could. Frankensprited a new playable character, Fixed awkward Konami animation frames. Redrew animations for differentiation.
    Adding new moves as i go. If interested Hit me up on FB. If you wanna see Kreiger in action w. voice n’ Special FX, I’m Vyck St.Judas on the OpenBOR engine site, LAVALIT.COM. Really sorry if I broke any rules, I’m not trying to spam or anything. Just wanna help if i can.

    • Esco says:

      Nah you’re good son. Brooklyn over here, and a yeah the sprite looks mad tight. Do you use MSN messenger at all? I can message you on there.

  6. Jack "spliffy" Obama says:

    Very nice πŸ˜€

  7. JVC says:

    Wow,really,you are amazing!!!!!
    Best wishes to you :).

  8. Mico says:

    YAY for new Grand Cross, reminds me when playing PoR with Jap voices and then RICHTER says “IMA CHARGING MY CROSSU!!!”

  9. BullockDS says:

    Wow, this is all really exciting; I can’t wait to try this out! Good job, sir!

  10. Gekomees says:

    “Unlike SOTN, you can now CHOOSE”
    Choose what?

    • Esco says:

      Whoops, the sentence somehow got deleted! Thanks for pointing it out. Here is the entire paragraph copy and pasted for you. πŸ™‚

      Unlike SOTN, you can now CHOOSE which color a weapon causes the enemy to blink when struck; so now say you have holy water with holy and flame as it’s elements; you can choose to have the enemy blink green or orange or even some other color like red, rather than always orange. A small feature, but I actually like it since it gives me more control.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s