2022-05-19 19:05:11 +02:00
|
|
|
dofile("../tga_encoder/init.lua")
|
|
|
|
|
|
|
|
local _ = { 1 }
|
|
|
|
local K = { 0 }
|
|
|
|
local W = { 255 }
|
|
|
|
|
|
|
|
local pixels = {
|
|
|
|
{ _, K, K, K, K, K, _ },
|
|
|
|
{ _, K, W, W, W, K, _ },
|
|
|
|
{ K, K, W, W, W, K, K },
|
|
|
|
{ K, W, W, W, W, W, K },
|
|
|
|
{ _, K, W, W, W, K, _ },
|
|
|
|
{ _, _, K, W, K, _, _ },
|
|
|
|
{ _, _, _, K, _, _, _ },
|
|
|
|
}
|
|
|
|
tga_encoder.image(pixels):save("textures/maps_arrow.tga")
|
|
|
|
|
|
|
|
local pixels = {
|
|
|
|
{ _, _, _, _, K, _, _ },
|
|
|
|
{ K, K, _, K, W, K, _ },
|
|
|
|
{ K, W, K, W, W, W, K },
|
|
|
|
{ K, W, W, W, W, K, _ },
|
|
|
|
{ K, W, W, W, K, _, _ },
|
|
|
|
{ K, W, W, W, W, K, _ },
|
|
|
|
{ K, K, K, K, K, K, _ },
|
|
|
|
}
|
|
|
|
tga_encoder.image(pixels):save("textures/maps_arrow_diagonal.tga")
|
2022-05-20 00:37:15 +02:00
|
|
|
|
|
|
|
local pixels = {
|
|
|
|
{ _, _, K, K, K, _, _ },
|
|
|
|
{ _, K, W, W, W, K, _ },
|
|
|
|
{ K, W, W, W, W, W, K },
|
|
|
|
{ K, W, W, W, W, W, K },
|
|
|
|
{ K, W, W, W, W, W, K },
|
|
|
|
{ _, K, W, W, W, K, _ },
|
|
|
|
{ _, _, K, K, K, _, _ },
|
|
|
|
}
|
|
|
|
tga_encoder.image(pixels):save("textures/maps_dot_large.tga")
|
|
|
|
|
|
|
|
local pixels = {
|
|
|
|
{ _, _, _, _, _, _, _ },
|
|
|
|
{ _, _, K, K, K, _, _ },
|
|
|
|
{ _, K, W, W, W, K, _ },
|
|
|
|
{ _, K, W, W, W, K, _ },
|
|
|
|
{ _, K, W, W, W, K, _ },
|
|
|
|
{ _, _, K, K, K, _, _ },
|
|
|
|
{ _, _, _, _, _, _, _ },
|
|
|
|
}
|
|
|
|
tga_encoder.image(pixels):save("textures/maps_dot_small.tga")
|