Castlevania Dungeon Forums

The Castlevania Dungeon Forums => General Castlevania Discussion => Topic started by: TheouAegis on April 13, 2012, 01:29:34 PM

Title: Anyone know how/where to find Trevor's hitbox dimensions?
Post by: TheouAegis on April 13, 2012, 01:29:34 PM
A lot of NES games I think just set the hitbox to be a whole 8x8px area or combo thereof (the diamond bullets in Gradius II were 8x8px but their hitbox was 8x16 for some sick reason). But sometimes the programmers actually adjusted hitboxes to be closer to the sprite. Trevor in CV3 was one such case. From what I've noticed from slow-mo gameplay, his hitbox seems to go from his feet up to his eyes, but that would translate to an odd-valued hitbox height. If I round up the dimensions to be divisible by 4, the hitbox would be at his eyebrows but then I would have to change the Bone Dragon Pillar's fireball attack's hitbox to be sprite-based and not byte-based. Now, that may be the actual case, but I don't know where to look in the ROM or CPU to verify this.

So does anyone else know where hitbox dimensions might be stored in CV3?

Edit: I just confirmed it is indeed at his eyes and not his eyebrows. The only explanation I have for why it'd be an odd-valued hitbox height is that Trevor's hitbox actually starts below his feet and not at his feet, which is why he stands ABOVE ground while enemies and torches are in the ground.
Title: Re: Anyone know how/where to find Trevor's hitbox dimensions?
Post by: X on April 13, 2012, 05:47:55 PM
You should check out Simon's hitbox in Castlevania 2. Simon can receive a standard hit anywhere on him like normal, but once you're on the stairs you can actually avoid enemies with almost half of your body making contact with them. This happens when you're half-way off the stairs and onto the next floor. The enemies will pass right through you rather then you taking a hit like in CV1 or 3.
Title: Re: Anyone know how/where to find Trevor's hitbox dimensions?
Post by: Sumac on April 14, 2012, 04:24:17 PM
As far as I remember,when on the stairs, Tevor's hitbox starts right at his hair.
Bone Pillars's fireballs could graze right at the edge of Trevor's head and don't damage him.
Title: Re: Anyone know how/where to find Trevor's hitbox dimensions?
Post by: TheouAegis on April 14, 2012, 08:58:28 PM
I meant his hitbox location in the ROM or CPU.

I was afraid I'd have to test each frame of his sprite. It's not so bad, since I saved the bytes for the Axe Knight's axe when I put him in the first room using ReVamp; I can alter the axe's height 1 px at a time and keep reloading the game until it hits or doesn't hit Trevor, since I know the axe uses the full sprite dimensions (16x16) for its hitbox.

It's just tedious...