Vertical rain

This commit is contained in:
khonkhortisan 2013-09-07 09:51:59 -07:00
parent c38edd5678
commit 7124aaaf05
1 changed files with 7 additions and 7 deletions

View File

@ -13,12 +13,12 @@ minetest.register_globalstep(function(dtime)
local vel = {x=0, y= -4, z=0}
local acc = {x=0, y=-9.81, z=0}
minetest.add_particlespawner(25, 0.5,
minp, maxp,
vel, vel,
acc, acc,
0.8, 0.8,
25, 25,
false, "weather_rain.png", player:get_player_name())
minetest.add_particlespawner({amount=25, time=0.5,
minpos=minp, maxpos=maxp,
minvel=vel, maxvel=vel,
minacc=acc, maxacc=acc,
minexptime=0.8, maxexptime=0.8,
minsize=25, maxsize=25,
collisiondetection=false, vertical=true, texture="weather_rain.png", player=player:get_player_name()})
end
end)