Need help resizing Parallax layers with screen size

Godot Version



I need to figure out how to resize the parallax layers based on the size of the screen. Currently all the UI fits the screen size and is locked on the center but for some reason it doesn’t work with a parallax layer. I’m using a Hbox container for the UI.

UI is designed to be anchored to the screen, but ParallaxLayers are not. You probably need to read this page: Multiple resolutions — Godot Engine (stable) documentation in English

I know but I have seen people who have parallax layers that resize with their screen but I’m not sure how they do it.

They probably set the stretch settings in their project like the page says to.

Btw thanks for the documentation. I found some settings in the display section that can still keep my game aspect ratio the same

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.