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: 419B Width: 16  |  Height: 16  |  Size: 208B

BIN
textures/led_marquee_char_100.png View File

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

BIN
textures/led_marquee_char_101.png View File

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

BIN
textures/led_marquee_char_102.png View File

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

BIN
textures/led_marquee_char_103.png View File

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

BIN
textures/led_marquee_char_104.png View File

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

BIN
textures/led_marquee_char_105.png View File

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

BIN
textures/led_marquee_char_106.png View File

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

BIN
textures/led_marquee_char_107.png View File

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

BIN
textures/led_marquee_char_108.png View File

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

BIN
textures/led_marquee_char_109.png View File

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

BIN
textures/led_marquee_char_110.png View File

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

BIN
textures/led_marquee_char_111.png View File

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

BIN
textures/led_marquee_char_112.png View File

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

BIN
textures/led_marquee_char_113.png View File

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

BIN
textures/led_marquee_char_114.png View File

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

BIN
textures/led_marquee_char_115.png View File

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

BIN
textures/led_marquee_char_116.png View File

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

BIN
textures/led_marquee_char_117.png View File

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

BIN
textures/led_marquee_char_118.png View File

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

BIN
textures/led_marquee_char_119.png View File

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

BIN
textures/led_marquee_char_120.png View File

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

BIN
textures/led_marquee_char_121.png View File

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

BIN
textures/led_marquee_char_122.png View File

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

BIN
textures/led_marquee_char_123.png View File

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

BIN
textures/led_marquee_char_124.png View File

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

BIN
textures/led_marquee_char_125.png View File

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

BIN
textures/led_marquee_char_126.png View File

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

BIN
textures/led_marquee_char_127.png View File

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

BIN
textures/led_marquee_char_128.png View File

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

BIN
textures/led_marquee_char_129.png View File

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

BIN
textures/led_marquee_char_130.png View File

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

BIN
textures/led_marquee_char_131.png View File

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

BIN
textures/led_marquee_char_132.png View File

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

BIN
textures/led_marquee_char_133.png View File

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

BIN
textures/led_marquee_char_134.png View File

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

BIN
textures/led_marquee_char_135.png View File

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

BIN
textures/led_marquee_char_136.png View File

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

BIN
textures/led_marquee_char_137.png View File

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

BIN
textures/led_marquee_char_138.png View File

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

BIN
textures/led_marquee_char_139.png View File

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

BIN
textures/led_marquee_char_140.png View File

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

BIN
textures/led_marquee_char_141.png View File

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

BIN
textures/led_marquee_char_142.png View File

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

BIN
textures/led_marquee_char_143.png View File

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

BIN
textures/led_marquee_char_144.png View File

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

BIN
textures/led_marquee_char_145.png View File

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

BIN
textures/led_marquee_char_146.png View File

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

BIN
textures/led_marquee_char_147.png View File

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

BIN
textures/led_marquee_char_148.png View File

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

BIN
textures/led_marquee_char_149.png View File

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

BIN
textures/led_marquee_char_150.png View File

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

BIN
textures/led_marquee_char_151.png View File

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

BIN
textures/led_marquee_char_152.png View File

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

BIN
textures/led_marquee_char_153.png View File

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

BIN
textures/led_marquee_char_154.png View File

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

BIN
textures/led_marquee_char_155.png View File

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

BIN
textures/led_marquee_char_156.png View File

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

BIN
textures/led_marquee_char_157.png View File

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

BIN
textures/led_marquee_char_158.png View File

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

BIN
textures/led_marquee_char_159.png View File

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

BIN
textures/led_marquee_char_160.png View File

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

BIN
textures/led_marquee_char_161.png View File

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

BIN
textures/led_marquee_char_162.png View File

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

BIN
textures/led_marquee_char_163.png View File

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

BIN
textures/led_marquee_char_164.png View File

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

BIN
textures/led_marquee_char_165.png View File

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

BIN
textures/led_marquee_char_166.png View File

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

BIN
textures/led_marquee_char_167.png View File

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

BIN
textures/led_marquee_char_168.png View File

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

BIN
textures/led_marquee_char_169.png View File

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

BIN
textures/led_marquee_char_170.png View File

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

BIN
textures/led_marquee_char_171.png View File

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

BIN
textures/led_marquee_char_172.png View File

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

BIN
textures/led_marquee_char_173.png View File

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

BIN
textures/led_marquee_char_174.png View File

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

BIN
textures/led_marquee_char_175.png View File

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

BIN
textures/led_marquee_char_176.png View File

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

BIN
textures/led_marquee_char_177.png View File

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

BIN
textures/led_marquee_char_178.png View File

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

BIN
textures/led_marquee_char_179.png View File

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

BIN
textures/led_marquee_char_180.png View File

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

BIN
textures/led_marquee_char_181.png View File

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

BIN
textures/led_marquee_char_182.png View File

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

BIN
textures/led_marquee_char_183.png View File

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

BIN
textures/led_marquee_char_184.png View File

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

BIN
textures/led_marquee_char_185.png View File

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

BIN
textures/led_marquee_char_186.png View File

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

BIN
textures/led_marquee_char_187.png View File

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

BIN
textures/led_marquee_char_188.png View File

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

BIN
textures/led_marquee_char_189.png View File

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

BIN
textures/led_marquee_char_190.png View File

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

BIN
textures/led_marquee_char_191.png View File

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

BIN
textures/led_marquee_char_192.png View File

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

BIN
textures/led_marquee_char_193.png View File

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

BIN
textures/led_marquee_char_194.png View File

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

BIN
textures/led_marquee_char_195.png View File

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

BIN
textures/led_marquee_char_196.png View File

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

BIN
textures/led_marquee_char_197.png View File

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

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

Loading…
Cancel
Save