Page 1 of 1

How does Castlevania 3 render the character switch animation?

Posted: Thu Jun 23, 2022 1:03 am
by mkwong98
When the player switches character in Castlevania 3, character is drawn on alternate scan lines. How does the game do it? It doesn't seem to affect other sprites on same scan lines.

Re: How does Castlevania 3 render the character switch animation?

Posted: Thu Jun 23, 2022 2:34 am
by Fiskbit
I've not looked into it myself, but my understanding is that it swaps out the CHR bank used by the character for one with blank graphics.

Re: How does Castlevania 3 render the character switch animation?

Posted: Sat Jun 25, 2022 4:34 pm
by mkwong98
Thank you! I tried to find it myself by running the Mesen debugger 1 scan line at a time but no success.

What are other ways to render a sprite tile as something other than a standard 8x8 or 8x16 such as this?

Re: How does Castlevania 3 render the character switch animation?

Posted: Sat Jun 25, 2022 7:06 pm
by Dwedit
Klax uses a vertical scrolling trick to get 16x8 size attributes, but that's for background tiles rather than sprites.

Re: How does Castlevania 3 render the character switch animation?

Posted: Sat Jun 25, 2022 10:50 pm
by calima
There are no tricks to affect a single sprite like that. It's all faked by CHR.

Re: How does Castlevania 3 render the character switch animation?

Posted: Mon Jun 27, 2022 5:48 pm
by Marscaleb
So it's just timing its bank switching to go on specific scanlines?
I suppose that isn't too hard since it freezes gameplay, but that still has to be done manually...