mirror of
https://github.com/Steffo99/watermelonkeys-patched-ld51.git
synced 2024-11-23 00:24:17 +00:00
32 lines
786 B
Text
32 lines
786 B
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://ASSETS/game_over.png" type="Texture" id=1]
|
|
|
|
[sub_resource type="GDScript" id=1]
|
|
script/source = "extends Control
|
|
|
|
func _input(event):
|
|
if Input.is_action_just_pressed(\"restart_game\"):
|
|
get_tree().change_scene(\"res://Level1.tscn\")
|
|
"
|
|
|
|
[node name="Node2D" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = SubResource( 1 )
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
color = Color( 0.00784314, 0.0235294, 0.0784314, 1 )
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -240.0
|
|
margin_top = -135.0
|
|
margin_right = 240.0
|
|
margin_bottom = 135.0
|
|
texture = ExtResource( 1 )
|