use masking:

glyph images are now used as masks over the "leds_on" image
instead of the glyphs themselves looking like they're made of LEDs.

Makes font files much simpler, easier to draw, makes LEDs easier
to re-texture.

White for "on" LEDs, black for "off"

Also optimized all images (optipng, pngcrush)
This commit is contained in:
Vanessa Dannenberg 2019-05-25 03:43:00 -04:00
부모 df30ce9477
커밋 da1deecb4c
232개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -369,11 +369,11 @@ for i = 31, 255 do
local groups = { cracky = 2, not_in_creative_inventory = 1}
local light = LIGHT_MAX-2
local description = S("LED marquee panel ("..i..")")
local leds = "led_marquee_char_"..i..".png"
local leds = "led_marquee_char_"..i..".png^[mask:led_marquee_leds_on.png"
if i == 31 then
leds ={
name = "led_marquee_char_31.png",
name = "led_marquee_char_31.png^[mask:led_marquee_leds_on_cursor.png",
animation = {type = "vertical_frames", aspect_w = 32, aspect_h = 32, length = 0.75}
}
end

Binary file not shown.

Before

Width:  |  Height:  |  크기: 419 B

After

Width:  |  Height:  |  크기: 208 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 460 B

After

Width:  |  Height:  |  크기: 89 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 495 B

After

Width:  |  Height:  |  크기: 94 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 485 B

After

Width:  |  Height:  |  크기: 98 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 493 B

After

Width:  |  Height:  |  크기: 92 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 437 B

After

Width:  |  Height:  |  크기: 86 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 449 B

After

Width:  |  Height:  |  크기: 90 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 451 B

After

Width:  |  Height:  |  크기: 88 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 298 B

After

Width:  |  Height:  |  크기: 89 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 420 B

After

Width:  |  Height:  |  크기: 85 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 594 B

After

Width:  |  Height:  |  크기: 91 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 424 B

After

Width:  |  Height:  |  크기: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 429 B

After

Width:  |  Height:  |  크기: 85 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 472 B

After

Width:  |  Height:  |  크기: 87 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 492 B

After

Width:  |  Height:  |  크기: 91 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 441 B

After

Width:  |  Height:  |  크기: 84 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 450 B

After

Width:  |  Height:  |  크기: 89 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 454 B

After

Width:  |  Height:  |  크기: 89 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 416 B

After

Width:  |  Height:  |  크기: 81 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 460 B

After

Width:  |  Height:  |  크기: 87 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 486 B

After

Width:  |  Height:  |  크기: 93 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 473 B

After

Width:  |  Height:  |  크기: 93 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 344 B

After

Width:  |  Height:  |  크기: 86 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 453 B

After

Width:  |  Height:  |  크기: 86 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 445 B

After

Width:  |  Height:  |  크기: 88 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 371 B

After

Width:  |  Height:  |  크기: 79 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 447 B

After

Width:  |  Height:  |  크기: 88 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 400 B

After

Width:  |  Height:  |  크기: 81 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 568 B

After

Width:  |  Height:  |  크기: 93 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 348 B

After

Width:  |  Height:  |  크기: 94 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 338 B

After

Width:  |  Height:  |  크기: 89 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 210 B

After

Width:  |  Height:  |  크기: 76 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 279 B

After

Width:  |  Height:  |  크기: 79 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 262 B

After

Width:  |  Height:  |  크기: 78 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 274 B

After

Width:  |  Height:  |  크기: 78 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 276 B

After

Width:  |  Height:  |  크기: 83 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 268 B

After

Width:  |  Height:  |  크기: 84 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 302 B

After

Width:  |  Height:  |  크기: 83 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 268 B

After

Width:  |  Height:  |  크기: 81 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 451 B

After

Width:  |  Height:  |  크기: 84 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 272 B

After

Width:  |  Height:  |  크기: 83 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 306 B

After

Width:  |  Height:  |  크기: 84 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 305 B

After

Width:  |  Height:  |  크기: 84 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 302 B

After

Width:  |  Height:  |  크기: 81 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 342 B

After

Width:  |  Height:  |  크기: 84 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 268 B

After

Width:  |  Height:  |  크기: 75 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 336 B

After

Width:  |  Height:  |  크기: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 318 B

After

Width:  |  Height:  |  크기: 92 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 314 B

After

Width:  |  Height:  |  크기: 88 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 309 B

After

Width:  |  Height:  |  크기: 88 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 323 B

After

Width:  |  Height:  |  크기: 91 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 316 B

After

Width:  |  Height:  |  크기: 90 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 359 B

After

Width:  |  Height:  |  크기: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 352 B

After

Width:  |  Height:  |  크기: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 244 B

After

Width:  |  Height:  |  크기: 83 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 325 B

After

Width:  |  Height:  |  크기: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 362 B

After

Width:  |  Height:  |  크기: 102 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 379 B

After

Width:  |  Height:  |  크기: 99 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 494 B

After

Width:  |  Height:  |  크기: 102 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 518 B

After

Width:  |  Height:  |  크기: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 500 B

After

Width:  |  Height:  |  크기: 101 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 96 B

After

Width:  |  Height:  |  크기: 71 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 336 B

After

Width:  |  Height:  |  크기: 88 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 367 B

After

Width:  |  Height:  |  크기: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 399 B

After

Width:  |  Height:  |  크기: 102 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 369 B

After

Width:  |  Height:  |  크기: 88 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 332 B

After

Width:  |  Height:  |  크기: 91 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 266 B

After

Width:  |  Height:  |  크기: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 396 B

After

Width:  |  Height:  |  크기: 97 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 203 B

After

Width:  |  Height:  |  크기: 77 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 438 B

After

Width:  |  Height:  |  크기: 101 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 363 B

After

Width:  |  Height:  |  크기: 93 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 293 B

After

Width:  |  Height:  |  크기: 83 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 230 B

After

Width:  |  Height:  |  크기: 81 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 203 B

After

Width:  |  Height:  |  크기: 77 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 461 B

After

Width:  |  Height:  |  크기: 101 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 203 B

After

Width:  |  Height:  |  크기: 79 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 280 B

After

Width:  |  Height:  |  크기: 88 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 297 B

After

Width:  |  Height:  |  크기: 91 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 319 B

After

Width:  |  Height:  |  크기: 90 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 291 B

After

Width:  |  Height:  |  크기: 90 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 250 B

After

Width:  |  Height:  |  크기: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 307 B

After

Width:  |  Height:  |  크기: 85 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 343 B

After

Width:  |  Height:  |  크기: 85 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 216 B

After

Width:  |  Height:  |  크기: 76 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 227 B

After

Width:  |  Height:  |  크기: 78 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 304 B

After

Width:  |  Height:  |  크기: 90 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 345 B

After

Width:  |  Height:  |  크기: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 317 B

After

Width:  |  Height:  |  크기: 83 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 465 B

After

Width:  |  Height:  |  크기: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 435 B

After

Width:  |  Height:  |  크기: 102 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 478 B

After

Width:  |  Height:  |  크기: 103 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 348 B

After

Width:  |  Height:  |  크기: 97 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 408 B

After

Width:  |  Height:  |  크기: 99 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 402 B

After

Width:  |  Height:  |  크기: 100 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 426 B

After

Width:  |  Height:  |  크기: 99 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 413 B

After

Width:  |  Height:  |  크기: 98 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 394 B

After

Width:  |  Height:  |  크기: 97 B

Binary file not shown.

Before

Width:  |  Height:  |  크기: 377 B

After

Width:  |  Height:  |  크기: 98 B

Some files were not shown because too many files have changed in this diff Show More