re-implemented the respawning blocks + items fix, and got rid of a few annoying prints + removed the warning from the resource pack menu in the settings, as its no longer needed

This commit is contained in:
JoeMama
2025-10-10 11:26:09 +01:00
parent 437f98884d
commit 57a659ba34
6 changed files with 154 additions and 40 deletions

View File

@@ -24,12 +24,16 @@ func collect() -> void:
$Sprite.queue_free()
else:
queue_free()
if get_parent() is TileMapLayer:
get_parent().erase_cell(get_parent().local_to_map(position))
func summon_block_coin() -> void:
var node = spinning_coin_scene.instantiate()
node.global_position = global_position
add_sibling(node)
queue_free()
if get_parent() is TileMapLayer:
get_parent().erase_cell(get_parent().local_to_map(position))
func summon_particle() -> void:
var node = COIN_SPARKLE.instantiate()