mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 01:05:49 +01:00 
			
		
		
		
	Add animation for fire
This commit is contained in:
		@@ -28,3 +28,5 @@ fire_small.ogg sampled from:
 | 
			
		||||
fire_large.ogg sampled from:
 | 
			
		||||
  http://www.freesound.org/people/Dynamicell/sounds/17548/
 | 
			
		||||
 | 
			
		||||
fire_basic_flame_animated.png:
 | 
			
		||||
  Muadtralk
 | 
			
		||||
 
 | 
			
		||||
@@ -2,8 +2,12 @@
 | 
			
		||||
 | 
			
		||||
minetest.register_node("fire:basic_flame", {
 | 
			
		||||
	description = "Fire",
 | 
			
		||||
	drawtype = "glasslike",
 | 
			
		||||
	tiles = {"fire_basic_flame.png"},
 | 
			
		||||
	drawtype = "plantlike",
 | 
			
		||||
	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,
 | 
			
		||||
	groups = {igniter=2,dig_immediate=3},
 | 
			
		||||
	drop = '',
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								mods/fire/textures/fire_basic_flame_animated.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mods/fire/textures/fire_basic_flame_animated.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.2 KiB  | 
		Reference in New Issue
	
	Block a user