Scene setup
Start with a Control node and set the Layout to Full Rect.
Add a TextureRect. Set its Texture to res://assets/environment/layers/back.png, Layout to Full Rect, and Stretch Mode to Keep Aspect Covered.
Add another TextureRect, this time with the Texture using res://assets/environment/layers/middle.png and the Stretch Mode set to Tile. Drag the width of the rectangle until it's wider than the screen and arrange it so it covers the bottom half of the screen.
Next, add two Label nodes (Title and Message) and set their Custom Font settings using the same options you used earlier for the score label. Set their Text properties to Jungle Jump and Press Space to Play, respectively. When you're finished, the screen should look like this: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access