[gd_scene load_steps=9 format=3 uid="uid://crc7t4acei3hj"]

[ext_resource type="Texture2D" uid="uid://c6s5n6xqoy353" path="res://textures/player.png" id="1_s58gg"]
[ext_resource type="Script" uid="uid://dowu512otgyyf" path="res://scripts/player_ground.gd" id="1_vgnaj"]
[ext_resource type="Texture2D" uid="uid://btcap3oh2dqt8" path="res://textures/wall_tile.png" id="3_jsun3"]
[ext_resource type="Shader" uid="uid://bk7q00br1ms30" path="res://scripts/retro.gdshader" id="4_ppdof"]

[sub_resource type="CircleShape2D" id="CircleShape2D_ppdof"]
radius = 32.0

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ppdof"]
texture = ExtResource("3_jsun3")
0:0/size_in_atlas = Vector2i(2, 2)
0:0/0 = 0
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)

[sub_resource type="TileSet" id="TileSet_gysiw"]
tile_size = Vector2i(32, 32)
physics_layer_0/collision_layer = 1
sources/0 = SubResource("TileSetAtlasSource_ppdof")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_gysiw"]
shader = ExtResource("4_ppdof")
shader_parameter/shake = 0.002000000095
shader_parameter/noiseQuality = 250.0
shader_parameter/noiseIntensity = 0.0010000000475
shader_parameter/offsetIntensity = 0.0045
shader_parameter/colorOffsetIntensity = 0.10000000149012
shader_parameter/pixelSize = 1024.0
shader_parameter/grainIntensity = 0.04
shader_parameter/use_overlay = true
shader_parameter/use_lens_distortion = true
shader_parameter/overlay_color = Color(1, 1, 1, 10)
shader_parameter/lens_distortion_strength = 0.0

[node name="GroundTest" type="Node2D"]

[node name="PlayerGround" type="CharacterBody2D" parent="."]
script = ExtResource("1_vgnaj")

[node name="Sprite" type="Sprite2D" parent="PlayerGround"]
texture = ExtResource("1_s58gg")

[node name="Camera" type="Camera2D" parent="PlayerGround"]
position_smoothing_enabled = true

[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerGround"]
shape = SubResource("CircleShape2D_ppdof")

[node name="Map" type="TileMapLayer" parent="."]
tile_map_data = PackedByteArray(0, 0, 253, 255, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 253, 255, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 253, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 253, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 253, 255, 254, 255, 0, 0, 0, 0, 0, 0, 0, 0)
tile_set = SubResource("TileSet_gysiw")

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

[node name="Control" type="Control" parent="UI"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="BoostText" type="Label" parent="UI/Control"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 24.0
text = "BOOST: 100"

[node name="Distance" type="Label" parent="UI/Control"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_top = -12.0
offset_right = 136.0
offset_bottom = 12.0
grow_vertical = 2
text = "DIST: 2048"

[node name="Shader" type="ColorRect" parent="UI"]
material = SubResource("ShaderMaterial_gysiw")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(1, 1, 1, 0)
