Browse Source

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)
tags/2019-05-25
Vanessa Dannenberg 1 year ago
parent
commit
da1deecb4c
100 changed files with 2 additions and 2 deletions
  1. +2
    -2
      init.lua
  2. BIN
      textures/led_marquee_base.png
  3. BIN
      textures/led_marquee_char_100.png
  4. BIN
      textures/led_marquee_char_101.png
  5. BIN
      textures/led_marquee_char_102.png
  6. BIN
      textures/led_marquee_char_103.png
  7. BIN
      textures/led_marquee_char_104.png
  8. BIN
      textures/led_marquee_char_105.png
  9. BIN
      textures/led_marquee_char_106.png
  10. BIN
      textures/led_marquee_char_107.png
  11. BIN
      textures/led_marquee_char_108.png
  12. BIN
      textures/led_marquee_char_109.png
  13. BIN
      textures/led_marquee_char_110.png
  14. BIN
      textures/led_marquee_char_111.png
  15. BIN
      textures/led_marquee_char_112.png
  16. BIN
      textures/led_marquee_char_113.png
  17. BIN
      textures/led_marquee_char_114.png
  18. BIN
      textures/led_marquee_char_115.png
  19. BIN
      textures/led_marquee_char_116.png
  20. BIN
      textures/led_marquee_char_117.png
  21. BIN
      textures/led_marquee_char_118.png
  22. BIN
      textures/led_marquee_char_119.png
  23. BIN
      textures/led_marquee_char_120.png
  24. BIN
      textures/led_marquee_char_121.png
  25. BIN
      textures/led_marquee_char_122.png
  26. BIN
      textures/led_marquee_char_123.png
  27. BIN
      textures/led_marquee_char_124.png
  28. BIN
      textures/led_marquee_char_125.png
  29. BIN
      textures/led_marquee_char_126.png
  30. BIN
      textures/led_marquee_char_127.png
  31. BIN
      textures/led_marquee_char_128.png
  32. BIN
      textures/led_marquee_char_129.png
  33. BIN
      textures/led_marquee_char_130.png
  34. BIN
      textures/led_marquee_char_131.png
  35. BIN
      textures/led_marquee_char_132.png
  36. BIN
      textures/led_marquee_char_133.png
  37. BIN
      textures/led_marquee_char_134.png
  38. BIN
      textures/led_marquee_char_135.png
  39. BIN
      textures/led_marquee_char_136.png
  40. BIN
      textures/led_marquee_char_137.png
  41. BIN
      textures/led_marquee_char_138.png
  42. BIN
      textures/led_marquee_char_139.png
  43. BIN
      textures/led_marquee_char_140.png
  44. BIN
      textures/led_marquee_char_141.png
  45. BIN
      textures/led_marquee_char_142.png
  46. BIN
      textures/led_marquee_char_143.png
  47. BIN
      textures/led_marquee_char_144.png
  48. BIN
      textures/led_marquee_char_145.png
  49. BIN
      textures/led_marquee_char_146.png
  50. BIN
      textures/led_marquee_char_147.png
  51. BIN
      textures/led_marquee_char_148.png
  52. BIN
      textures/led_marquee_char_149.png
  53. BIN
      textures/led_marquee_char_150.png
  54. BIN
      textures/led_marquee_char_151.png
  55. BIN
      textures/led_marquee_char_152.png
  56. BIN
      textures/led_marquee_char_153.png
  57. BIN
      textures/led_marquee_char_154.png
  58. BIN
      textures/led_marquee_char_155.png
  59. BIN
      textures/led_marquee_char_156.png
  60. BIN
      textures/led_marquee_char_157.png
  61. BIN
      textures/led_marquee_char_158.png
  62. BIN
      textures/led_marquee_char_159.png
  63. BIN
      textures/led_marquee_char_160.png
  64. BIN
      textures/led_marquee_char_161.png
  65. BIN
      textures/led_marquee_char_162.png
  66. BIN
      textures/led_marquee_char_163.png
  67. BIN
      textures/led_marquee_char_164.png
  68. BIN
      textures/led_marquee_char_165.png
  69. BIN
      textures/led_marquee_char_166.png
  70. BIN
      textures/led_marquee_char_167.png
  71. BIN
      textures/led_marquee_char_168.png
  72. BIN
      textures/led_marquee_char_169.png
  73. BIN
      textures/led_marquee_char_170.png
  74. BIN
      textures/led_marquee_char_171.png
  75. BIN
      textures/led_marquee_char_172.png
  76. BIN
      textures/led_marquee_char_173.png
  77. BIN
      textures/led_marquee_char_174.png
  78. BIN
      textures/led_marquee_char_175.png
  79. BIN
      textures/led_marquee_char_176.png
  80. BIN
      textures/led_marquee_char_177.png
  81. BIN
      textures/led_marquee_char_178.png
  82. BIN
      textures/led_marquee_char_179.png
  83. BIN
      textures/led_marquee_char_180.png
  84. BIN
      textures/led_marquee_char_181.png
  85. BIN
      textures/led_marquee_char_182.png
  86. BIN
      textures/led_marquee_char_183.png
  87. BIN
      textures/led_marquee_char_184.png
  88. BIN
      textures/led_marquee_char_185.png
  89. BIN
      textures/led_marquee_char_186.png
  90. BIN
      textures/led_marquee_char_187.png
  91. BIN
      textures/led_marquee_char_188.png
  92. BIN
      textures/led_marquee_char_189.png
  93. BIN
      textures/led_marquee_char_190.png
  94. BIN
      textures/led_marquee_char_191.png
  95. BIN
      textures/led_marquee_char_192.png
  96. BIN
      textures/led_marquee_char_193.png
  97. BIN
      textures/led_marquee_char_194.png
  98. BIN
      textures/led_marquee_char_195.png
  99. BIN
      textures/led_marquee_char_196.png
  100. BIN
      textures/led_marquee_char_197.png

+ 2
- 2
init.lua View File

@@ -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


BIN
textures/led_marquee_base.png View File

Before After
Width: 16  |  Height: 16  |  Size: 419 B Width: 16  |  Height: 16  |  Size: 208 B

BIN
textures/led_marquee_char_100.png View File

Before After
Width: 64  |  Height: 64  |  Size: 460 B Width: 64  |  Height: 64  |  Size: 89 B

BIN
textures/led_marquee_char_101.png View File

Before After
Width: 64  |  Height: 64  |  Size: 495 B Width: 64  |  Height: 64  |  Size: 94 B

BIN
textures/led_marquee_char_102.png View File

Before After
Width: 64  |  Height: 64  |  Size: 485 B Width: 64  |  Height: 64  |  Size: 98 B

BIN
textures/led_marquee_char_103.png View File

Before After
Width: 64  |  Height: 64  |  Size: 493 B Width: 64  |  Height: 64  |  Size: 92 B

BIN
textures/led_marquee_char_104.png View File

Before After
Width: 64  |  Height: 64  |  Size: 437 B Width: 64  |  Height: 64  |  Size: 86 B

BIN
textures/led_marquee_char_105.png View File

Before After
Width: 64  |  Height: 64  |  Size: 449 B Width: 64  |  Height: 64  |  Size: 90 B

BIN
textures/led_marquee_char_106.png View File

Before After
Width: 64  |  Height: 64  |  Size: 451 B Width: 64  |  Height: 64  |  Size: 88 B

BIN
textures/led_marquee_char_107.png View File

Before After
Width: 64  |  Height: 64  |  Size: 298 B Width: 64  |  Height: 64  |  Size: 89 B

BIN
textures/led_marquee_char_108.png View File

Before After
Width: 64  |  Height: 64  |  Size: 420 B Width: 64  |  Height: 64  |  Size: 85 B

BIN
textures/led_marquee_char_109.png View File

Before After
Width: 64  |  Height: 64  |  Size: 594 B Width: 64  |  Height: 64  |  Size: 91 B

BIN
textures/led_marquee_char_110.png View File

Before After
Width: 64  |  Height: 64  |  Size: 424 B Width: 64  |  Height: 64  |  Size: 82 B

BIN
textures/led_marquee_char_111.png View File

Before After
Width: 64  |  Height: 64  |  Size: 429 B Width: 64  |  Height: 64  |  Size: 85 B

BIN
textures/led_marquee_char_112.png View File

Before After
Width: 64  |  Height: 64  |  Size: 472 B Width: 64  |  Height: 64  |  Size: 87 B

BIN
textures/led_marquee_char_113.png View File

Before After
Width: 64  |  Height: 64  |  Size: 492 B Width: 64  |  Height: 64  |  Size: 91 B

BIN
textures/led_marquee_char_114.png View File

Before After
Width: 64  |  Height: 64  |  Size: 441 B Width: 64  |  Height: 64  |  Size: 84 B

BIN
textures/led_marquee_char_115.png View File

Before After
Width: 64  |  Height: 64  |  Size: 450 B Width: 64  |  Height: 64  |  Size: 89 B

BIN
textures/led_marquee_char_116.png View File

Before After
Width: 64  |  Height: 64  |  Size: 454 B Width: 64  |  Height: 64  |  Size: 89 B

BIN
textures/led_marquee_char_117.png View File

Before After
Width: 64  |  Height: 64  |  Size: 416 B Width: 64  |  Height: 64  |  Size: 81 B

BIN
textures/led_marquee_char_118.png View File

Before After
Width: 64  |  Height: 64  |  Size: 460 B Width: 64  |  Height: 64  |  Size: 87 B

BIN
textures/led_marquee_char_119.png View File

Before After
Width: 64  |  Height: 64  |  Size: 486 B Width: 64  |  Height: 64  |  Size: 93 B

BIN
textures/led_marquee_char_120.png View File

Before After
Width: 64  |  Height: 64  |  Size: 473 B Width: 64  |  Height: 64  |  Size: 93 B

BIN
textures/led_marquee_char_121.png View File

Before After
Width: 64  |  Height: 64  |  Size: 344 B Width: 64  |  Height: 64  |  Size: 86 B

BIN
textures/led_marquee_char_122.png View File

Before After
Width: 64  |  Height: 64  |  Size: 453 B Width: 64  |  Height: 64  |  Size: 86 B

BIN
textures/led_marquee_char_123.png View File

Before After
Width: 64  |  Height: 64  |  Size: 445 B Width: 64  |  Height: 64  |  Size: 88 B

BIN
textures/led_marquee_char_124.png View File

Before After
Width: 64  |  Height: 64  |  Size: 371 B Width: 64  |  Height: 64  |  Size: 79 B

BIN
textures/led_marquee_char_125.png View File

Before After
Width: 64  |  Height: 64  |  Size: 447 B Width: 64  |  Height: 64  |  Size: 88 B

BIN
textures/led_marquee_char_126.png View File

Before After
Width: 64  |  Height: 64  |  Size: 400 B Width: 64  |  Height: 64  |  Size: 81 B

BIN
textures/led_marquee_char_127.png View File

Before After
Width: 64  |  Height: 64  |  Size: 568 B Width: 64  |  Height: 64  |  Size: 93 B

BIN
textures/led_marquee_char_128.png View File

Before After
Width: 64  |  Height: 64  |  Size: 348 B Width: 64  |  Height: 64  |  Size: 94 B

BIN
textures/led_marquee_char_129.png View File

Before After
Width: 64  |  Height: 64  |  Size: 338 B Width: 64  |  Height: 64  |  Size: 89 B

BIN
textures/led_marquee_char_130.png View File

Before After
Width: 64  |  Height: 64  |  Size: 210 B Width: 64  |  Height: 64  |  Size: 76 B

BIN
textures/led_marquee_char_131.png View File

Before After
Width: 64  |  Height: 64  |  Size: 279 B Width: 64  |  Height: 64  |  Size: 79 B

BIN
textures/led_marquee_char_132.png View File

Before After
Width: 64  |  Height: 64  |  Size: 262 B Width: 64  |  Height: 64  |  Size: 78 B

BIN
textures/led_marquee_char_133.png View File

Before After
Width: 64  |  Height: 64  |  Size: 274 B Width: 64  |  Height: 64  |  Size: 78 B

BIN
textures/led_marquee_char_134.png View File

Before After
Width: 64  |  Height: 64  |  Size: 276 B Width: 64  |  Height: 64  |  Size: 83 B

BIN
textures/led_marquee_char_135.png View File

Before After
Width: 64  |  Height: 64  |  Size: 268 B Width: 64  |  Height: 64  |  Size: 84 B

BIN
textures/led_marquee_char_136.png View File

Before After
Width: 64  |  Height: 64  |  Size: 302 B Width: 64  |  Height: 64  |  Size: 83 B

BIN
textures/led_marquee_char_137.png View File

Before After
Width: 64  |  Height: 64  |  Size: 268 B Width: 64  |  Height: 64  |  Size: 81 B

BIN
textures/led_marquee_char_138.png View File

Before After
Width: 64  |  Height: 64  |  Size: 451 B Width: 64  |  Height: 64  |  Size: 84 B

BIN
textures/led_marquee_char_139.png View File

Before After
Width: 64  |  Height: 64  |  Size: 272 B Width: 64  |  Height: 64  |  Size: 83 B

BIN
textures/led_marquee_char_140.png View File

Before After
Width: 64  |  Height: 64  |  Size: 306 B Width: 64  |  Height: 64  |  Size: 84 B

BIN
textures/led_marquee_char_141.png View File

Before After
Width: 64  |  Height: 64  |  Size: 305 B Width: 64  |  Height: 64  |  Size: 84 B

BIN
textures/led_marquee_char_142.png View File

Before After
Width: 64  |  Height: 64  |  Size: 302 B Width: 64  |  Height: 64  |  Size: 81 B

BIN
textures/led_marquee_char_143.png View File

Before After
Width: 64  |  Height: 64  |  Size: 342 B Width: 64  |  Height: 64  |  Size: 84 B

BIN
textures/led_marquee_char_144.png View File

Before After
Width: 64  |  Height: 64  |  Size: 268 B Width: 64  |  Height: 64  |  Size: 75 B

BIN
textures/led_marquee_char_145.png View File

Before After
Width: 64  |  Height: 64  |  Size: 336 B Width: 64  |  Height: 64  |  Size: 95 B

BIN
textures/led_marquee_char_146.png View File

Before After
Width: 64  |  Height: 64  |  Size: 318 B Width: 64  |  Height: 64  |  Size: 92 B

BIN
textures/led_marquee_char_147.png View File

Before After
Width: 64  |  Height: 64  |  Size: 314 B Width: 64  |  Height: 64  |  Size: 88 B

BIN
textures/led_marquee_char_148.png View File

Before After
Width: 64  |  Height: 64  |  Size: 309 B Width: 64  |  Height: 64  |  Size: 88 B

BIN
textures/led_marquee_char_149.png View File

Before After
Width: 64  |  Height: 64  |  Size: 323 B Width: 64  |  Height: 64  |  Size: 91 B

BIN
textures/led_marquee_char_150.png View File

Before After
Width: 64  |  Height: 64  |  Size: 316 B Width: 64  |  Height: 64  |  Size: 90 B

BIN
textures/led_marquee_char_151.png View File

Before After
Width: 64  |  Height: 64  |  Size: 359 B Width: 64  |  Height: 64  |  Size: 96 B

BIN
textures/led_marquee_char_152.png View File

Before After
Width: 64  |  Height: 64  |  Size: 352 B Width: 64  |  Height: 64  |  Size: 95 B

BIN
textures/led_marquee_char_153.png View File

Before After
Width: 64  |  Height: 64  |  Size: 244 B Width: 64  |  Height: 64  |  Size: 83 B

BIN
textures/led_marquee_char_154.png View File

Before After
Width: 64  |  Height: 64  |  Size: 325 B Width: 64  |  Height: 64  |  Size: 95 B

BIN
textures/led_marquee_char_155.png View File

Before After
Width: 64  |  Height: 64  |  Size: 362 B Width: 64  |  Height: 64  |  Size: 102 B

BIN
textures/led_marquee_char_156.png View File

Before After
Width: 64  |  Height: 64  |  Size: 379 B Width: 64  |  Height: 64  |  Size: 99 B

BIN
textures/led_marquee_char_157.png View File

Before After
Width: 64  |  Height: 64  |  Size: 494 B Width: 64  |  Height: 64  |  Size: 102 B

BIN
textures/led_marquee_char_158.png View File

Before After
Width: 64  |  Height: 64  |  Size: 518 B Width: 64  |  Height: 64  |  Size: 105 B

BIN
textures/led_marquee_char_159.png View File

Before After
Width: 64  |  Height: 64  |  Size: 500 B Width: 64  |  Height: 64  |  Size: 101 B

BIN
textures/led_marquee_char_160.png View File

Before After
Width: 64  |  Height: 64  |  Size: 96 B Width: 64  |  Height: 64  |  Size: 71 B

BIN
textures/led_marquee_char_161.png View File

Before After
Width: 64  |  Height: 64  |  Size: 336 B Width: 64  |  Height: 64  |  Size: 88 B

BIN
textures/led_marquee_char_162.png View File

Before After
Width: 64  |  Height: 64  |  Size: 367 B Width: 64  |  Height: 64  |  Size: 95 B

BIN
textures/led_marquee_char_163.png View File

Before After
Width: 64  |  Height: 64  |  Size: 399 B Width: 64  |  Height: 64  |  Size: 102 B

BIN
textures/led_marquee_char_164.png View File

Before After
Width: 64  |  Height: 64  |  Size: 369 B Width: 64  |  Height: 64  |  Size: 88 B

BIN
textures/led_marquee_char_165.png View File

Before After
Width: 64  |  Height: 64  |  Size: 332 B Width: 64  |  Height: 64  |  Size: 91 B

BIN
textures/led_marquee_char_166.png View File

Before After
Width: 64  |  Height: 64  |  Size: 266 B Width: 64  |  Height: 64  |  Size: 82 B

BIN
textures/led_marquee_char_167.png View File

Before After
Width: 64  |  Height: 64  |  Size: 396 B Width: 64  |  Height: 64  |  Size: 97 B

BIN
textures/led_marquee_char_168.png View File

Before After
Width: 64  |  Height: 64  |  Size: 203 B Width: 64  |  Height: 64  |  Size: 77 B

BIN
textures/led_marquee_char_169.png View File

Before After
Width: 64  |  Height: 64  |  Size: 438 B Width: 64  |  Height: 64  |  Size: 101 B

BIN
textures/led_marquee_char_170.png View File

Before After
Width: 64  |  Height: 64  |  Size: 363 B Width: 64  |  Height: 64  |  Size: 93 B

BIN
textures/led_marquee_char_171.png View File

Before After
Width: 64  |  Height: 64  |  Size: 293 B Width: 64  |  Height: 64  |  Size: 83 B

BIN
textures/led_marquee_char_172.png View File

Before After
Width: 64  |  Height: 64  |  Size: 230 B Width: 64  |  Height: 64  |  Size: 81 B

BIN
textures/led_marquee_char_173.png View File

Before After
Width: 64  |  Height: 64  |  Size: 203 B Width: 64  |  Height: 64  |  Size: 77 B

BIN
textures/led_marquee_char_174.png View File

Before After
Width: 64  |  Height: 64  |  Size: 461 B Width: 64  |  Height: 64  |  Size: 101 B

BIN
textures/led_marquee_char_175.png View File

Before After
Width: 64  |  Height: 64  |  Size: 203 B Width: 64  |  Height: 64  |  Size: 79 B

BIN
textures/led_marquee_char_176.png View File

Before After
Width: 64  |  Height: 64  |  Size: 280 B Width: 64  |  Height: 64  |  Size: 88 B

BIN
textures/led_marquee_char_177.png View File

Before After
Width: 64  |  Height: 64  |  Size: 297 B Width: 64  |  Height: 64  |  Size: 91 B

BIN
textures/led_marquee_char_178.png View File

Before After
Width: 64  |  Height: 64  |  Size: 319 B Width: 64  |  Height: 64  |  Size: 90 B

BIN
textures/led_marquee_char_179.png View File

Before After
Width: 64  |  Height: 64  |  Size: 291 B Width: 64  |  Height: 64  |  Size: 90 B

BIN
textures/led_marquee_char_180.png View File

Before After
Width: 64  |  Height: 64  |  Size: 250 B Width: 64  |  Height: 64  |  Size: 82 B

BIN
textures/led_marquee_char_181.png View File

Before After
Width: 64  |  Height: 64  |  Size: 307 B Width: 64  |  Height: 64  |  Size: 85 B

BIN
textures/led_marquee_char_182.png View File

Before After
Width: 64  |  Height: 64  |  Size: 343 B Width: 64  |  Height: 64  |  Size: 85 B

BIN
textures/led_marquee_char_183.png View File

Before After
Width: 64  |  Height: 64  |  Size: 216 B Width: 64  |  Height: 64  |  Size: 76 B

BIN
textures/led_marquee_char_184.png View File

Before After
Width: 64  |  Height: 64  |  Size: 227 B Width: 64  |  Height: 64  |  Size: 78 B

BIN
textures/led_marquee_char_185.png View File

Before After
Width: 64  |  Height: 64  |  Size: 304 B Width: 64  |  Height: 64  |  Size: 90 B

BIN
textures/led_marquee_char_186.png View File

Before After
Width: 64  |  Height: 64  |  Size: 345 B Width: 64  |  Height: 64  |  Size: 96 B

BIN
textures/led_marquee_char_187.png View File

Before After
Width: 64  |  Height: 64  |  Size: 317 B Width: 64  |  Height: 64  |  Size: 83 B

BIN
textures/led_marquee_char_188.png View File

Before After
Width: 64  |  Height: 64  |  Size: 465 B Width: 64  |  Height: 64  |  Size: 106 B

BIN
textures/led_marquee_char_189.png View File

Before After
Width: 64  |  Height: 64  |  Size: 435 B Width: 64  |  Height: 64  |  Size: 102 B

BIN
textures/led_marquee_char_190.png View File

Before After
Width: 64  |  Height: 64  |  Size: 478 B Width: 64  |  Height: 64  |  Size: 103 B

BIN
textures/led_marquee_char_191.png View File

Before After
Width: 64  |  Height: 64  |  Size: 348 B Width: 64  |  Height: 64  |  Size: 97 B

BIN
textures/led_marquee_char_192.png View File

Before After
Width: 64  |  Height: 64  |  Size: 408 B Width: 64  |  Height: 64  |  Size: 99 B

BIN
textures/led_marquee_char_193.png View File

Before After
Width: 64  |  Height: 64  |  Size: 402 B Width: 64  |  Height: 64  |  Size: 100 B

BIN
textures/led_marquee_char_194.png View File

Before After
Width: 64  |  Height: 64  |  Size: 426 B Width: 64  |  Height: 64  |  Size: 99 B

BIN
textures/led_marquee_char_195.png View File

Before After
Width: 64  |  Height: 64  |  Size: 413 B Width: 64  |  Height: 64  |  Size: 98 B

BIN
textures/led_marquee_char_196.png View File

Before After
Width: 64  |  Height: 64  |  Size: 394 B Width: 64  |  Height: 64  |  Size: 97 B

BIN
textures/led_marquee_char_197.png View File

Before After
Width: 64  |  Height: 64  |  Size: 377 B Width: 64  |  Height: 64  |  Size: 98 B

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

Loading…
Cancel
Save