0 votes

I have a game split in two parts. The top part should move with the sprite and the bottom part has controls to alter the movements and so needs to be steady.

I have set up a camera and a sprite with RemoteTransform2D having remote path set to the camera to make the camera move with it. This part works fine.

Now I want to keep the bottom part steady and not move it along with the sprite.
How do I do that?

I tried a different viewport with a separate Camera2D (with current option enabled) but this doesn't seem to work.

Godot version 3.3.2
in Engine by (17 points)

1 Answer

+1 vote
Best answer

If you want to put a HUD on top of a 2D scene, add your HUD as a child of a CanvasLayer node.

by (12,651 points)
selected by
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 Frequently asked questions and 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 [email protected] with your username.