1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

Add animation for fire

This commit is contained in:
PilzAdam 2012-11-25 14:18:06 +01:00
parent 24d8d79ea1
commit 24939c299b
3 changed files with 8 additions and 2 deletions

View File

@ -28,3 +28,5 @@ fire_small.ogg sampled from:
fire_large.ogg sampled from: fire_large.ogg sampled from:
http://www.freesound.org/people/Dynamicell/sounds/17548/ http://www.freesound.org/people/Dynamicell/sounds/17548/
fire_basic_flame_animated.png:
Muadtralk

View File

@ -2,8 +2,12 @@
minetest.register_node("fire:basic_flame", { minetest.register_node("fire:basic_flame", {
description = "Fire", description = "Fire",
drawtype = "glasslike", drawtype = "plantlike",
tiles = {"fire_basic_flame.png"}, tiles = {{
name="fire_basic_flame_animated.png",
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1},
}},
inventory_image = "fire_basic_flame.png",
light_source = 14, light_source = 14,
groups = {igniter=2,dig_immediate=3}, groups = {igniter=2,dig_immediate=3},
drop = '', drop = '',

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB