Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [ID] Topic: Anyone know how/where to find Trevor's hitbox dimensions?  (Read 3920 times)

0 Members and 1 Guest are viewing this topic.

Offline TheouAegis

  • Amateur Auteur of GMvania
  • Master Hunter
  • *****
  • Posts: 1861
  • Gender: Male
  • Awards The Retro Gamer: Has a heated passion for the oldschool VG Titles. The Great Defender will always defend the object of his or her fandom. Hack Master makes creations out of CV parts. (S)he makes Dr. Frankenstein proud.
    • GMvania Developer's Blog
    • Awards
  • Likes:
Anyone know how/where to find Trevor's hitbox dimensions?
« on: April 13, 2012, 06:29:34 PM »
0
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.
« Last Edit: April 13, 2012, 07:03:00 PM by TheouAegis »
Your mom has had more floppies put in her than a Commodore 64!


Follow my lack of progress on my game at my blog:
http://gmvania.blogspot.com

Offline X

  • Xenocide
  • Master Hunter
  • *****
  • Posts: 9354
  • Gender: Male
  • Awards SuperOld Dungeonite: Members who have been around since the oldOLD days. The Unfazed: Never loses his/her calm, even in the most heated arguments. The Retro Gamer: Has a heated passion for the oldschool VG Titles.
    • Awards
  • Favorite Game: Super Castlevania IV (SNES)
  • Likes:
Re: Anyone know how/where to find Trevor's hitbox dimensions?
« Reply #1 on: April 13, 2012, 10:47:55 PM »
0
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.
"Spirituality is God's gift to humanity...
Religion is Man's flawed interpretation of Spirituality given back to humanity..."

Offline Sumac

  • Legendary Hunter
  • ****
  • Posts: 956
  • Logic dominates. Fools must be controlled.
  • Awards The Great Defender will always defend the object of his or her fandom. The Retro Gamer: Has a heated passion for the oldschool VG Titles.
    • Awards
  • Likes:
Re: Anyone know how/where to find Trevor's hitbox dimensions?
« Reply #2 on: April 14, 2012, 09:24:17 PM »
0
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.

Offline TheouAegis

  • Amateur Auteur of GMvania
  • Master Hunter
  • *****
  • Posts: 1861
  • Gender: Male
  • Awards The Retro Gamer: Has a heated passion for the oldschool VG Titles. The Great Defender will always defend the object of his or her fandom. Hack Master makes creations out of CV parts. (S)he makes Dr. Frankenstein proud.
    • GMvania Developer's Blog
    • Awards
  • Likes:
Re: Anyone know how/where to find Trevor's hitbox dimensions?
« Reply #3 on: April 15, 2012, 01:58:28 AM »
0
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...
Your mom has had more floppies put in her than a Commodore 64!


Follow my lack of progress on my game at my blog:
http://gmvania.blogspot.com

Tags: