[gd_scene load_steps=7 format=3 uid="uid://dx3edvokvnhss"]

[ext_resource type="Script" uid="uid://be6h32vns32hm" path="res://code/world.gd" id="1_e2o6t"]
[ext_resource type="Script" uid="uid://cc4y82skj2obl" path="res://code/player.gd" id="1_feb5d"]
[ext_resource type="Texture2D" uid="uid://bndf6ulk38x8w" path="res://default/text/player-w1.png" id="3_feb5d"]
[ext_resource type="AudioStream" uid="uid://bcca08s3kqhkf" path="res://default/aud/walk.ogg" id="4_fc0e3"]
[ext_resource type="Script" uid="uid://c01rdot180cne" path="res://code/lua_env.lua" id="5_7jktm"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_feb5d"]

[node name="Node2D" type="Node2D"]
metadata/resourcepack = "default"

[node name="cam" type="Camera2D" parent="."]

[node name="World" type="Area2D" parent="."]
script = ExtResource("1_e2o6t")
metadata/world = "world"

[node name="Player" type="CharacterBody2D" parent="." groups=["player"]]
script = ExtResource("1_feb5d")
metadata/canWalk = true

[node name="Sprite2D" type="Sprite2D" parent="Player"]
scale = Vector2(3, 3)
texture = ExtResource("3_feb5d")

[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
scale = Vector2(2.3, 2.3)
shape = SubResource("RectangleShape2D_feb5d")

[node name="Walk" type="AudioStreamPlayer" parent="Player"]
stream = ExtResource("4_fc0e3")
volume_db = -5.0

[node name="Fader" type="CanvasLayer" parent="."]

[node name="ColorRect" type="ColorRect" parent="Fader"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 2
size_flags_vertical = 0
color = Color(0, 0, 0, 1)

[node name="LuaEnv" type="Node" parent="."]
script = ExtResource("5_7jktm")

[node name="UI" type="CanvasLayer" parent="."]

[node name="bg" type="ColorRect" parent="UI"]
anchors_preset = -1
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -9.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 2
size_flags_vertical = 0
color = Color(0, 0, 0.48235294, 0.5529412)

[node name="RichTextLabel" type="RichTextLabel" parent="UI/bg"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/normal_font_size = 50
theme_override_font_sizes/bold_font_size = 50
theme_override_font_sizes/bold_italics_font_size = 50
theme_override_font_sizes/italics_font_size = 50
theme_override_font_sizes/mono_font_size = 50
