Skip to content

Commit bf172b8

Browse files
Update setPalette.md
1 parent 8950f64 commit bf172b8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/reference/images/setPalette.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Sets the screen's palette.
88
A color is formed by 3 indices of a buffer.
99

1010
The buffer's size requires to be 48 because
11-
of the engine's 16 colors.
11+
of the engine's 16 colors. While the size
12+
is 48, the color's value automatically is transparent
13+
if the color has not been setted.
1214

1315
## Example
1416
Replace the screen palette's first color.

0 commit comments

Comments
 (0)