-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.tscn
101 lines (75 loc) · 3.55 KB
/
game.tscn
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[gd_scene load_steps=14 format=3 uid="uid://bg3apxxroga6h"]
[ext_resource type="Script" path="res://Game.cs" id="1_1h04g"]
[ext_resource type="PackedScene" uid="uid://cye3g5vinibl1" path="res://player.tscn" id="2_uug6v"]
[ext_resource type="PackedScene" uid="uid://dljljg87n68lw" path="res://potion.tscn" id="3_j0bxk"]
[ext_resource type="Script" path="res://Components/Health.cs" id="3_lxlls"]
[ext_resource type="Script" path="res://Components/Player.cs" id="4_asrmx"]
[ext_resource type="PackedScene" uid="uid://ohaq3e5drxy8" path="res://spider.tscn" id="4_h1u8j"]
[ext_resource type="PackedScene" uid="uid://c8ndvbjqnxfo4" path="res://fire.tscn" id="5_c1tgr"]
[ext_resource type="Script" path="res://Components/AreaTrigger.cs" id="6_cmsoj"]
[ext_resource type="Script" path="res://Tools/TargetOther.cs" id="9_aaqpl"]
[ext_resource type="Script" path="res://Components/ColorizeCommand.cs" id="11_id085"]
[ext_resource type="Script" path="res://Scripts/WanderScript.cs" id="12_k2n8g"]
[sub_resource type="Resource" id="Resource_38twx"]
script = ExtResource("9_aaqpl")
[sub_resource type="Resource" id="Resource_lnpqm"]
script = ExtResource("9_aaqpl")
[node name="Game" type="Node2D"]
script = ExtResource("1_1h04g")
[node name="player" parent="." instance=ExtResource("2_uug6v")]
position = Vector2(100, 100)
[node name="Health" type="Node" parent="player"]
script = ExtResource("3_lxlls")
Value = 5
[node name="Player" type="Node" parent="player"]
script = ExtResource("4_asrmx")
[node name="fire" parent="." instance=ExtResource("5_c1tgr")]
position = Vector2(296, 288)
[node name="AreaTrigger" type="Node2D" parent="fire"]
script = ExtResource("6_cmsoj")
Target = SubResource("Resource_38twx")
[node name="ColorizeCommand" type="Node2D" parent="fire/AreaTrigger"]
script = ExtResource("11_id085")
Color = Color(1, 0.443137, 0.133333, 1)
[node name="WanderScript" type="Node2D" parent="fire"]
script = ExtResource("12_k2n8g")
Radius = 2
[node name="greenpotion" parent="." instance=ExtResource("3_j0bxk")]
[node name="AreaTriggerOther" type="Node2D" parent="greenpotion"]
script = ExtResource("6_cmsoj")
Target = SubResource("Resource_lnpqm")
[node name="Green" type="Node2D" parent="greenpotion/AreaTriggerOther"]
script = ExtResource("11_id085")
Color = Color(0, 0.752941, 0, 1)
[node name="waterpotion" parent="." instance=ExtResource("3_j0bxk")]
position = Vector2(763, 318)
[node name="AreaTriggerOther" type="Node2D" parent="waterpotion"]
script = ExtResource("6_cmsoj")
Target = SubResource("Resource_lnpqm")
[node name="Blue" type="Node2D" parent="waterpotion/AreaTriggerOther"]
script = ExtResource("11_id085")
Color = Color(0, 0.427451, 1, 1)
[node name="healpotion" parent="." instance=ExtResource("3_j0bxk")]
position = Vector2(1039, 144)
[node name="AreaTriggerOther" type="Node2D" parent="healpotion"]
script = ExtResource("6_cmsoj")
Target = SubResource("Resource_lnpqm")
[node name="Pink" type="Node2D" parent="healpotion/AreaTriggerOther"]
script = ExtResource("11_id085")
Color = Color(1, 0.360784, 0.713726, 1)
[node name="spider1" parent="." instance=ExtResource("4_h1u8j")]
position = Vector2(482, 345)
[node name="Health" type="Node" parent="spider1"]
script = ExtResource("3_lxlls")
Value = 2
[node name="WanderScript" type="Node2D" parent="spider1"]
script = ExtResource("12_k2n8g")
Radius = 100
[node name="spider2" parent="." instance=ExtResource("4_h1u8j")]
position = Vector2(544, 416)
[node name="Health" type="Node" parent="spider2"]
script = ExtResource("3_lxlls")
Value = 2
[node name="WanderScript" type="Node2D" parent="spider2"]
script = ExtResource("12_k2n8g")
Radius = 100