Feature Overview
MKPAL()
Create a color swap table for use in PAL()
.
- This is useful for creating several color patterns.
- It is not an error if the number of elements in the swap table does not match.
- This function consumes 44 Token.
-- Color swap to darken "blue, white, and green". local p=mkpal({12,7,11},{13,6,3}) -- mkpal('c7b','d63') is also the same. pal(p) spr(1,16,32,2,2) |
This function will be included in the next version(0.14.0) of KNUTIL library.
release note
[Please log in to post a comment]