mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add 'random_sub_uv' particle setting
This commit is contained in:
parent
c8187c5f25
commit
86b83a5377
5 changed files with 31 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
|||
function on_block_broken(id, x, y, z, playerid)
|
||||
particles.emit({x+0.5, y+0.5, z+0.5}, 100, {
|
||||
lifetime=1.0,
|
||||
lifetime=2.0,
|
||||
spawn_interval=0.0001,
|
||||
explosion={4, 4, 4},
|
||||
texture="blocks:"..block.get_textures(id)[1]
|
||||
texture="blocks:"..block.get_textures(id)[1],
|
||||
random_sub_uv=0.1
|
||||
})
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue