From 365a9d0f267ce43de6a0ce050470166fcb9e9517 Mon Sep 17 00:00:00 2001 From: kastaldi Date: Sun, 19 Mar 2023 17:50:28 +0100 Subject: [PATCH 1/2] Full Rect option in Background section Corrected the "Full Rect" option location in Background section because it was wrong in Godot 4. --- getting_started/first_2d_game/07.finishing-up.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting_started/first_2d_game/07.finishing-up.rst b/getting_started/first_2d_game/07.finishing-up.rst index 05216a9e8..58ad97d84 100644 --- a/getting_started/first_2d_game/07.finishing-up.rst +++ b/getting_started/first_2d_game/07.finishing-up.rst @@ -15,7 +15,7 @@ The default gray background is not very appealing, so let's change its color. One way to do this is to use a :ref:`ColorRect ` node. Make it the first node under ``Main`` so that it will be drawn behind the other nodes. ``ColorRect`` only has one property: ``Color``. Choose a color you like and -select "Layout" -> "Full Rect" so that it covers the screen. +select "Layout" -> "Anchors Preset" -> "Full Rect" so that it covers the screen. You could also add a background image, if you have one, by using a ``TextureRect`` node instead. From 6c424ed6ad6e217974fe02a94e8ef0990dbbcd07 Mon Sep 17 00:00:00 2001 From: Max Hilbrunner Date: Thu, 23 Mar 2023 04:36:44 +0100 Subject: [PATCH 2/2] Update getting_started/first_2d_game/07.finishing-up.rst --- getting_started/first_2d_game/07.finishing-up.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting_started/first_2d_game/07.finishing-up.rst b/getting_started/first_2d_game/07.finishing-up.rst index 58ad97d84..116f2286c 100644 --- a/getting_started/first_2d_game/07.finishing-up.rst +++ b/getting_started/first_2d_game/07.finishing-up.rst @@ -15,7 +15,7 @@ The default gray background is not very appealing, so let's change its color. One way to do this is to use a :ref:`ColorRect ` node. Make it the first node under ``Main`` so that it will be drawn behind the other nodes. ``ColorRect`` only has one property: ``Color``. Choose a color you like and -select "Layout" -> "Anchors Preset" -> "Full Rect" so that it covers the screen. +select "Layout" -> "Anchors Preset" -> "Full Rect" either in the toolbar at the top of the viewport or in the inspector so that it covers the screen. You could also add a background image, if you have one, by using a ``TextureRect`` node instead.