- New parameter:
randomize_seed
- To let the user randomize the seed, or not. Default is set tofalse
. - New parameter:
collision_one_way
- To setone_way_collision
to the blocks. Default is set tofalse
. - Each block now has a different mass depending on its size.
- Set a maximum of 10 blocks per side.
yield(get_tree().create_timer(time), timeout)
function for a manually created timer because it was throwingResumed after yield, but class instance is gone
errors when freeing the blocks.
- Check if
object.can_detonate
before actually detonating.
- Fake particles to simulate an explosion.
- New parameter:
explosion_delay
- Adds a delay of before settingobject.detonate
tofalse
. - New parameter:
fake_explosions_group
- To rename the group's name of the fake explosion particles. - Better debugging.
PackedScene.new()
forduplicate()
.apply_impulse()
forapply_central_impulse
.- Default settings to be consistent with the new
apply_central_impulse()
function.
- Remove the parent node after the last block is gone (for better performance).
- Remove the
self
element when it's not needed it anymore (for better performance).
add_torque()
.
- New parameter:
remove_debris
- To control whether the debris stays or disappears.
- Tweaked the applied torque a little bit.
- Released stable version.