torches now use animated textures instead of particles

This commit is contained in:
kaadmy 2015-10-16 14:29:27 -07:00
parent 549899ae12
commit 15ec77dd72
11 changed files with 8 additions and 6 deletions

View File

@ -295,6 +295,7 @@ minetest.register_abm( -- papyrus grows
end, end,
}) })
--[[ TORCH FLAME IS VERY, VERY SLOW, THERE ARE NOW ANIMATIONS INSTEAD
minetest.register_abm( -- torch flame minetest.register_abm( -- torch flame
{ {
nodenames = {"default:torch", "default:torch_weak"}, nodenames = {"default:torch", "default:torch_weak"},
@ -319,6 +320,7 @@ minetest.register_abm( -- torch flame
}) })
end end
}) })
--]]
minetest.register_abm( -- weak torchs burn out and die after ~3 minutes minetest.register_abm( -- weak torchs burn out and die after ~3 minutes
{ {

View File

@ -1039,7 +1039,7 @@ minetest.register_node(
drawtype = "nodebox", drawtype = "nodebox",
tiles ={ tiles ={
{ {
name = "default_torch_3d_ends.png", name = "default_torch_3d_ends_animated.png",
animation = { animation = {
type = "vertical_frames", type = "vertical_frames",
aspect_w = 16, aspect_w = 16,
@ -1057,7 +1057,7 @@ minetest.register_node(
}, },
}, },
{ {
name = "default_torch_3d.png", name = "default_torch_3d_animated.png",
animation = { animation = {
type = "vertical_frames", type = "vertical_frames",
aspect_w = 16, aspect_w = 16,
@ -1091,7 +1091,7 @@ minetest.register_node(
drawtype = "nodebox", drawtype = "nodebox",
tiles ={ tiles ={
{ {
name = "default_torch_3d_ends.png", name = "default_torch_3d_ends_animated.png",
animation = { animation = {
type = "vertical_frames", type = "vertical_frames",
aspect_w = 16, aspect_w = 16,
@ -1109,7 +1109,7 @@ minetest.register_node(
}, },
}, },
{ {
name = "default_torch_3d.png", name = "default_torch_3d_animated.png",
animation = { animation = {
type = "vertical_frames", type = "vertical_frames",
aspect_w = 16, aspect_w = 16,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 480 B

After

Width:  |  Height:  |  Size: 480 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 403 B

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

View File

@ -188,7 +188,7 @@ minetest.register_abm(
end end
}) })
minetest.register_abm( --[[minetest.register_abm(
{ {
nodenames = {"air"}, nodenames = {"air"},
interval = 2, interval = 2,
@ -223,7 +223,7 @@ minetest.register_abm(
end end
end end
end, end,
}) })--]]
minetest.register_node( minetest.register_node(
"weather:snow", "weather:snow",