+2 votes

Hello. I have a parallax background which contain of 20 air particles image, randomly floating in the screen. When the air particle move out from the screen, I wants to re-position that air particle. However, screen exited signal from visibilityNotifier2D does not work well here (screen exited signal get triggered even when air particle does not exit game screen yet).

Anyone please guide me on this.

in Engine by (69 points)
edited by

1 Answer

0 votes

i have the same problem, I have a parallax background which contains a fireplace(2d Node) with 2d CPUparticles2D. i want when the player gets closer to the fireplace the CPUparticles start emitting and when he exits it stops playing, but the visibilitynotifier2D emits the entered signal even before reaching the fireplace 2d node, it solves the problem when i place the fireplace out side of the parallax layer.

enter image description here

by (18 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.