Godot Version
4.3
Question
Hi all.
I am making my first game and I dont have much experience in programming so maybe my question will sound funny.
I am making 2d platform game. There are coins than player can collect. Coins are 2dAreas with Sprite2d an collision shape. I used _on_body_entered func for player to collect coins. There i have queue_free() command to remove coin from the scene when player collected it. If player dies, scene is reloaded with code get_tree().reload_current_scene(). and collected coins are there again. How can I make coins collected coins to not show in scene when player dies and scene is reloaded.
Thanks