Hello,

I'm new to Godot and making my first project. I got an idea to put some Arcade Game I found on YouTube (here:youtu.be/QHTzs50-PLk) into my Platformer Game, so when I interact with some NPCs or enemies the Arcade Game will launch as a mini-game. To do that I put the arcade game into the Platformer Game. When the Arcade mini-game launches I want the main Platformer Game to pause, so I used: get_tree().paused = true.

I white-listed the Arcade Game main node by setting Pause Mode on "Process" - I even tried white-listing all of the nodes of the Arcade mini-game. The whole Arcade mini-game seems to work fine except for Area2Ds. In result, the game becomes pointless because projectiles are not detecting each other. When I turn the pause for the Platformer Game off everything works fine.

I attach a short video to show you the problem.

Projectile sript

Arcade mini-game tree

areaType specifies the projectile color. So, it allows the game to detect whether two interacting projectiles are of the same color or not.

Here's the green projectile example:

And areaType called "Barrier" is the bottom line:

I think the issue is probably because the 2D physics engine is stopped when the game is paused, so the Area2D cannot detect anything. You could try reactivating the 2D physics using the set_active function in the Physics2DServer singleton and see if that fixes the issue.

@TwistedTwigleg said: I think the issue is probably because the 2D physics engine is stopped when the game is paused, so the Area2D cannot detect anything. You could try reactivating the 2D physics using the set_active function in the Physics2DServer singleton and see if that fixes the issue.

That worked! Thanks!

2 years later