Difference between revisions of "Cv4/graphic"

From Castlevania Speedrunning
Jump to: navigation, search
(Spirte Assembly Format and Tutorials)
(Format)
Line 14: Line 14:
 
===Format===
 
===Format===
  
Assembly
+
ROM
 
Address Frame 1                 Frame2
 
Address Frame 1                 Frame2
 
20af4  04 fd 09 06 28    ed 09 04 28    f8 f9 02 28  f5 e9 00 28    03  f8 09 0c 28  f7 f9 0a 28    f5 e9 08 28
 
20af4  04 fd 09 06 28    ed 09 04 28    f8 f9 02 28  f5 e9 00 28    03  f8 09 0c 28  f7 f9 0a 28    f5 e9 08 28

Revision as of 19:45, 25 August 2019

Graphic Assets and Formats

  • 2bbp
  • 4bbp
  • 8bpp (Mode7)
  • 15 bpp 555 BGR (Palettes)

All this Formats can be edited easy with Tilemolester and Bogaa's resource file


Spirte Assembly Format and Tutorials

Format

ROM Address Frame 1 Frame2 20af4 04 fd 09 06 28 ed 09 04 28 f8 f9 02 28 f5 e9 00 28 03 f8 09 0c 28 f7 f9 0a 28 f5 e9 08 28 ss aa bb cc dd aa bb cc dd aa bb cc dd aa bb cc dd ss aa bb cc dd aa bb cc dd aa bb cc dd

ss=Size Number of 2x2 queuers to use. 00 Is not a number and will overload.

aa=Offset (01 move one pixel right 80 will wrap) bb=Offset (01 move one pixel down 80 will wrap) cc=Tile Pick Tile Square 2x2 .. dd=Orientation and Palettes First byte: 2=Normal 6-7=Mirror A-B=Flip E-F=MirrorFlip BadNumbers=0 1 3 4 8 c d

Second byte 0=Pal 0 2=Pal 1 4=Pal 2 6=Pal 3 8=Pal 4 a=Pal 5 c=Pal 6 e=Pal 7