mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
move particles to gfx.particles
This commit is contained in:
parent
48add86120
commit
fdbe8ca9c6
3 changed files with 19 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
function on_block_broken(id, x, y, z, playerid)
|
||||
particles.emit({x+0.5, y+0.5, z+0.5}, 64, {
|
||||
gfx.particles.emit({x+0.5, y+0.5, z+0.5}, 64, {
|
||||
lifetime=1.0,
|
||||
spawn_interval=0.0001,
|
||||
explosion={4, 4, 4},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue