2dcol (DEF): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
Certain low values are already hard-coded, and redefining them will change colors of the default layout. If you know the correct value, you can replace the default colors used for '''all''' the sprites. You truly have the power to customize Mapster32. Lime green 2D mode background, anyone? | Certain low values are already hard-coded, and redefining them will change colors of the default layout. If you know the correct value, you can replace the default colors used for '''all''' the sprites. You truly have the power to customize Mapster32. Lime green 2D mode background, anyone? | ||
See also [[spritecol (DEF)|spritecol]]. | |||
[[Category:DEF commands]] | [[Category:DEF commands]] |
Revision as of 12:50, 21 February 2020
2dcol <colornum> <red> <green> <blue>
2dcol is a definition of a color to be used in the 2D mode of Mapster32, in conjunction with spritecol that works similarly to tint and definetint. <colornum> is a unique identifier, similar to defines and gamevars. <red>, <green>, and <blue> are the RGB color values that are mixed together to get your custom color.
Certain low values are already hard-coded, and redefining them will change colors of the default layout. If you know the correct value, you can replace the default colors used for all the sprites. You truly have the power to customize Mapster32. Lime green 2D mode background, anyone?
See also spritecol.