Skip to content

Commit b7aeb57

Browse files
committed
2 parents 1a4218a + 1ad7e8c commit b7aeb57

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

scenes/end/fail_scene.gd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
extends Node
2+
3+
func _ready():
4+
$end_scene/Label.text = "You lost!"

scenes/end/fail_scene.tscn

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[gd_scene load_steps=3 format=2]
2+
3+
[ext_resource path="res://scenes/end/fail_scene.gd" type="Script" id=1]
4+
[ext_resource path="res://scenes/end/end_scene.tscn" type="PackedScene" id=2]
5+
6+
[node name="fail_scene" type="Node"]
7+
8+
script = ExtResource( 1 )
9+
10+
[node name="end_scene" parent="." index="0" instance=ExtResource( 2 )]
11+
12+

0 commit comments

Comments
 (0)