summaryrefslogtreecommitdiff
path: root/Levels/game.tscn
blob: 66640f99c795eb7d6820e256802460dad49895db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[gd_scene load_steps=4 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/Player.gd" id="3_j3fp5"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_ludyn"]
size = Vector2(38, 38)

[node name="MainNode2D" type="Node2D"]
position = Vector2(162, 105)

[node name="Player" parent="." instance=ExtResource("1_j877y")]
position = Vector2(393, 42)
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="PlayerArea2D" type="Area2D" parent="Player"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Player/PlayerArea2D"]
shape = SubResource("RectangleShape2D_ludyn")

[node name="Line2D" type="Line2D" parent="Player"]
z_index = -1
points = PackedVector2Array(0, 0, 100, 0)
width = 20.0
default_color = Color(0, 0, 0, 1)
begin_cap_mode = 2
end_cap_mode = 2

[node name="NumberNode" parent="." instance=ExtResource("1_j877y")]
position = Vector2(-4, 82)
value = 5

[node name="NumberNode2" parent="." instance=ExtResource("1_j877y")]
position = Vector2(248, 474)
value = 10

[node name="NumberNode3" parent="." instance=ExtResource("1_j877y")]
position = Vector2(753, 59)
value = 100

[node name="NumberNode4" parent="." instance=ExtResource("1_j877y")]
position = Vector2(360, 241)

[node name="NumberNode5" parent="." instance=ExtResource("1_j877y")]
position = Vector2(620, 280)

[node name="NumberNode6" parent="." instance=ExtResource("1_j877y")]
position = Vector2(50, 338)

[node name="NumberNode7" parent="." instance=ExtResource("1_j877y")]
position = Vector2(260, -4)

[node name="NumberNode8" parent="." instance=ExtResource("1_j877y")]
position = Vector2(994, 4)
value = 5
modifier = 2
modifier_operation = 4

[node name="NumberNode9" parent="." instance=ExtResource("1_j877y")]
position = Vector2(639, 476)
value = 5

[node name="Node" type="Node" parent="."]

[connection signal="input_event" from="Player/PlayerArea2D" to="Player/Player" method="_on_player_area_2d_input_event"]