Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [ID] Topic: Another "Useless" CV3 trivia tidbit  (Read 4427 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:
Another "Useless" CV3 trivia tidbit
« on: July 03, 2015, 10:40:26 AM »
0
The crumbling ledges in CV3 crack at different speeds, in case you didn't notice. It takes 16 "steps" (Game Maker users know what I'm talking about) of contact with a crumbling ledge to normally crack the block, and 80 steps (roughly 1.25 second uninterrupted) to force it to collapse. However, in the Catacombs and mountains (stages 7 and 10 in the coding), ledges crumble twice as fast - it takes 8 "steps" to crack and 40 steps (roughly 3/4 a second) to collapse.

Also, only the last 14 tiles per screen (256 pixels or 16 tiles) may be crumbling ledges. The two leftmost tiles of a room cannot crumble and are always walls. Because the RAM addresses are reserved for other things, this rule applies for all screens. Also, the tiles are sorted by x-coordinates, so no two tiles can vertically overlap. Note in a vertical stage the rules are slightly different.

So this is acceptable (O is solid, X is crumbling, _ is skipped):

OO_XXO__XXOO__OO________________
________________OOOOOOOOOOOOOOOO
______________XX________________


But this is not:

XXOO__X_X_OO_XXXXXXX__OOOOOOOOOO
______XXXXXX____X_XX_X________OO


For vertical rooms, I think the addressing is a composite of the x and y coordinates. I haven't actually tackled that part yet, since I did all my testing in the Catacombs and it's purely horizontal.

Leaving one screen such that a crumbled tile is no longer visible will reset that tile, but the crumble counter for that tile will not be reset. Perhaps this was due to an oversight on Konami's part, or it could be that the tiles start at 4 instead of 12 for this very reason. Since the counter does not reset, if the counter was 3 steps away from collapsing the ledge before leaving the screen, it will now be 3 steps away from the first crack, which in the grand scheme of things is a negligible amount of time. This also means one tile's crumble counter will affect the any other tiles using the same crumble counter.


Guess it's not useless trivia for anyone recreating CV3.

(it's too hot to sleep, so i went back to cracking code and noticed this_)


To give a rough idea of how the ledges were handled:

find tile map cell for tile under player
-if it is 4 (fresh) or greater than 11 (cracking)...
--find the player's x coordinate in the screen
---divide by 16 and use that value to index the timer
----add 1 to the timer, if it reaches the limit...
-----change tile map to 12 or increase by 1 if greater than 11
------if it's 16 (#10), then destroy that tile
« Last Edit: July 03, 2015, 11:51:07 AM 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: Another "Useless" CV3 trivia tidbit
« Reply #1 on: July 03, 2015, 03:40:22 PM »
+1
CVIII sure is a mess of code isn't it  :P
"Spirituality is God's gift to humanity...
Religion is Man's flawed interpretation of Spirituality given back to humanity..."

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: Another "Useless" CV3 trivia tidbit
« Reply #2 on: July 03, 2015, 10:57:36 PM »
0
Some of it makes sense at 2AM in the morning. When I'm actually "awake" it's just a jumbled mess of numbers.
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 Inccubus

  • Wannabe Great Old One
  • Master Hunter
  • *****
  • Posts: 3287
  • Gender: Male
  • Warrior
  • Awards The Retro Gamer: Has a heated passion for the oldschool VG Titles. SuperOld Dungeonite: Members who have been around since the oldOLD days. Permanent Resident: Seems to always be around to post/reply.
    • Awards
  • Favorite Game: Vampire Killer (MSX)
  • Likes:
Re: Another "Useless" CV3 trivia tidbit
« Reply #3 on: July 04, 2015, 01:43:53 AM »
0
I still find this all terribly fascinating.
"Stuff and things."

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: Another "Useless" CV3 trivia tidbit
« Reply #4 on: July 04, 2015, 03:03:43 AM »
0
Quote
Some of it makes sense at 2AM in the morning. When I'm actually "awake" it's just a jumbled mess of numbers.

LOL! You should be drowzy more often then eh?
"Spirituality is God's gift to humanity...
Religion is Man's flawed interpretation of Spirituality given back to humanity..."

Offline lesomaface

  • Abandon All Hope
  • Hunter in Training
  • **
  • Posts: 24
  • Gender: Male
  • This castle is a creature of chaos...
    • Awards
  • Favorite Game: Castlevania: Symphony of the Night (PS1/SS)
  • Likes:
Re: Another "Useless" CV3 trivia tidbit
« Reply #5 on: July 09, 2015, 12:49:27 AM »
0
Still doesn't make the game easier.

Good knowledge though.
"Die monster! You don't belong in this world!"


Tags:
 

anything