From bf58a2b29ec0d035574c8d5858f6ee77e07d33f5 Mon Sep 17 00:00:00 2001 From: tommy-l-ngo Date: Sat, 13 Nov 2021 23:17:33 -0600 Subject: [PATCH] Put Background in main --- godot_ship/scenes/Main.tscn | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/godot_ship/scenes/Main.tscn b/godot_ship/scenes/Main.tscn index 2376afa..056eeb3 100644 --- a/godot_ship/scenes/Main.tscn +++ b/godot_ship/scenes/Main.tscn @@ -1,5 +1,6 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=3 format=2] +[ext_resource path="res://assets/backgrounds/Background_Dark.png" type="Texture" id=1] [ext_resource path="res://script/Main.gd" type="Script" id=5] [node name="Main" type="Control"] @@ -10,3 +11,12 @@ script = ExtResource( 5 ) __meta__ = { "_edit_use_anchors_": false } + +[node name="Background" type="TextureRect" parent="."] +margin_right = 40.0 +margin_bottom = 40.0 +texture = ExtResource( 1 ) +__meta__ = { +"_edit_lock_": true, +"_edit_use_anchors_": false +}