3 Commits

Author SHA1 Message Date
cheapie
35f68b0550 Fix crash on 5.14+ (#5)
Co-authored-by: cheapie <no-email-for-you@example.com>
2025-09-21 14:27:38 -04:00
wsor4035
7a8b53474d reemove use_texture_alpha as the texture results are always on a black background, so we dont need to waste transparency rendering performance 2024-12-27 18:25:18 -05:00
Luke aka SwissalpS
528d8b7a58 not ground content (#4) 2024-02-26 15:01:42 +01:00
5 changed files with 2 additions and 3 deletions

View File

@@ -153,7 +153,7 @@ led_marquee.set_timer = function(pos, timeout)
end
led_marquee.scroll_text = function(pos, elapsed, skip)
skip = skip or 1
if type(skip) ~= "number" then skip = 1 end
local meta = minetest.get_meta(pos)
local msg = meta:get_string("last_msg")
local channel = meta:get_string("channel")
@@ -419,9 +419,9 @@ for i = 31, 255 do
},
overlay_tiles = { "", leds },
inventory_image = wimage,
is_ground_content = false,
wield_image = wimage,
palette="led_marquee_palette.png",
use_texture_alpha = "blend",
groups = groups,
paramtype = "light",
paramtype2 = "colorwallmounted",
@@ -463,4 +463,3 @@ minetest.register_craft({
},
})
minetest.log("action", "[led_marquee] loaded.")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 B

After

Width:  |  Height:  |  Size: 115 B