|Topic was automatically imported from the old Question2Answer platform.
I have created my main scene with a player and other kinematic bodies2D that disappear when their Area2D is entered.
On another scene of a control node, I created a countdown timer.
I would want to connect the timer and the kinematic bodies so when their Area2D is entered, they don’t just disappear but it also adds a bonus time to the countdown (it won’t stop it, just adds few more seconds).
I am not sure how to do this to make it work. Should I instance the control-node scene to the main scene? Does it have to be instanced specifically as a child of the kinematic bodies? How to write the function in code? How to connect the nodes and scenes so they react to one another?
I will be really glad for any help, I am really lost.