1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-24 09:04:21 +00:00

Add background to win and lose scenes

This commit is contained in:
Steffo 2022-11-20 04:06:56 +01:00
parent c780c7ad57
commit 1eb53644a7
Signed by: steffo
GPG key ID: 6965406171929D01
3 changed files with 15 additions and 9 deletions

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Fonts/LiberationMono-Bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Objects/ScrollingObjects/PlayButton.tscn" type="PackedScene" id=2]
[ext_resource path="res://Sprites/wall-clocks.png" type="Texture" id=3]
[sub_resource type="DynamicFont" id=2]
size = 80
@ -11,9 +12,11 @@ font_data = ExtResource( 1 )
anchor_right = 1.0
anchor_bottom = 1.0
rect_pivot_offset = Vector2( -280, -360 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Background" type="Sprite" parent="."]
modulate = Color( 0.101961, 0.0627451, 0.027451, 1 )
position = Vector2( 640, 360 )
texture = ExtResource( 3 )
[node name="Label" type="Label" parent="."]
margin_right = 1280.0

View file

@ -32,7 +32,7 @@ font_data = ExtResource( 1 )
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Wall-clocks" type="Sprite" parent="."]
[node name="Background" type="Sprite" parent="."]
modulate = Color( 0.101961, 0.0627451, 0.027451, 1 )
position = Vector2( 640, 360 )
texture = ExtResource( 11 )

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Fonts/LiberationMono-Bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Sprites/victory.png" type="Texture" id=2]
[ext_resource path="res://Sprites/wall-clocks.png" type="Texture" id=3]
[sub_resource type="DynamicFont" id=1]
size = 40
@ -21,9 +22,11 @@ func _ready():
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Background" type="Sprite" parent="."]
modulate = Color( 0.101961, 0.0627451, 0.027451, 1 )
position = Vector2( 640, 360 )
texture = ExtResource( 3 )
[node name="TextureRect" type="TextureRect" parent="."]
anchor_top = 1.0