Spritecol (DEF): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''spritecol''' <tilenum> <normalcolornum> <blockingcolornum> | <span {{code}}>'''spritecol''' <tilenum> <normalcolornum> <blockingcolornum></span> | ||
'''spritecol''' is a definition of the color a sprite will appear in 2D mode, instead of the standard sky blue and hot pink, or another special color (like yellow for hard-coded enemies or white for the [[Special_Sprite_Reference_Guide|special sprites]]). | '''spritecol''' is a definition of the color a sprite will appear in 2D mode, instead of the standard sky blue and hot pink, or another special color (like yellow for hard-coded enemies or white for the [[Special_Sprite_Reference_Guide|special sprites]]). |
Latest revision as of 05:45, 23 February 2020
spritecol <tilenum> <normalcolornum> <blockingcolornum>
spritecol is a definition of the color a sprite will appear in 2D mode, instead of the standard sky blue and hot pink, or another special color (like yellow for hard-coded enemies or white for the special sprites).
<normalcolornum> is the <colornum> of the 2dcol definition of your color for the standard sprite color as defined by <tilenum>. The same goes for <blockingcolornum>, except that this value is for when the sprite has the first bit of cstat set (1) ([']+[B]
keys in Mapster32), which is the blocking flag.
See also 2dcol.