[gd_scene load_steps=6 format=3 uid="uid://rd1m2fu22g1s"] [ext_resource type="PackedScene" uid="uid://ccvoi0qmvlxmj" path="res://Reusable Scenes/number_node.tscn" id="1_j877y"] [ext_resource type="Script" path="res://Scripts/Generator.gd" id="1_uaslf"] [ext_resource type="Script" path="res://Scripts/Player.gd" id="3_j3fp5"] [ext_resource type="Script" path="res://Scripts/GameLoop.gd" id="3_u7xnc"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_ludyn"] size = Vector2(38, 38) [node name="MainNode2D" type="Node2D"] [node name="Generator" type="Node" parent="."] script = ExtResource("1_uaslf") numbernode = ExtResource("1_j877y") min_nodes = 100 max_nodes = 100 [node name="GameLoop" type="Node" parent="."] script = ExtResource("3_u7xnc") [node name="Player" parent="." instance=ExtResource("1_j877y")] z_index = 4096 position = Vector2(63, 658) do_scanning = false color = Color(0, 0.329412, 0, 1) [node name="Player" type="Node" parent="Player" node_paths=PackedStringArray("line")] script = ExtResource("3_j3fp5") max_distance = 300.0 line = NodePath("../Line2D") [node name="Line2D" type="Line2D" parent="Player"] z_index = -1 points = PackedVector2Array(0, 0, 0, 0) width = 20.0 default_color = Color(0, 0, 0, 1) begin_cap_mode = 2 end_cap_mode = 2 [node name="PlayerArea2D" type="Area2D" parent="Player"] collision_layer = 2 collision_mask = 2 collision_priority = 9999.0 [node name="CollisionShape2D" type="CollisionShape2D" parent="Player/PlayerArea2D"] shape = SubResource("RectangleShape2D_ludyn") [connection signal="input_event" from="Player/PlayerArea2D" to="Player/Player" method="_on_player_area_2d_input_event"]