-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGamF106.tmp
98 lines (71 loc) · 3.67 KB
/
GamF106.tmp
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
[gd_scene load_steps=9 format=3 uid="uid://s10uengvc5fg"]
[ext_resource type="PackedScene" uid="uid://bfuuqao2omga7" path="res://Scenes/canvas_layer.tscn" id="1_5bqx8"]
[ext_resource type="Script" path="res://Scripts/Camera/CameraControl.gd" id="2_idfwl"]
[ext_resource type="Script" path="res://Scripts/Slot/SlotDetector.gd" id="3_33855"]
[ext_resource type="Script" path="res://Scripts/Slot/SlotControl.gd" id="3_pj6dk"]
[ext_resource type="Texture2D" uid="uid://be87rey68bqh" path="res://icon.svg" id="3_wtay7"]
[sub_resource type="CircleShape2D" id="CircleShape2D_shrms"]
radius = 211.0
[sub_resource type="CanvasTexture" id="CanvasTexture_iy85b"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1xfya"]
[node name="GameLevel" type="Node2D"]
[node name="CanvasLayer" parent="." instance=ExtResource("1_5bqx8")]
[node name="Camera2D" type="Camera2D" parent="."]
script = ExtResource("2_idfwl")
[node name="SlotDetector" type="Area2D" parent="Camera2D" node_paths=PackedStringArray("m_collider")]
script = ExtResource("3_33855")
m_collider = NodePath("CollisionShape2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Camera2D/SlotDetector"]
shape = SubResource("CircleShape2D_shrms")
disabled = true
[node name="Sprite2D" type="Sprite2D" parent="Camera2D/SlotDetector"]
scale = Vector2(100, 100)
texture = SubResource("CanvasTexture_iy85b")
[node name="World" type="Node2D" parent="."]
[node name="Slot" type="Area2D" parent="World" node_paths=PackedStringArray("m_sprite2D")]
position = Vector2(-190, -172)
script = ExtResource("3_pj6dk")
m_sprite2D = NodePath("Sprite2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="World/Slot"]
shape = SubResource("RectangleShape2D_1xfya")
[node name="Sprite2D" type="Sprite2D" parent="World/Slot"]
texture = ExtResource("3_wtay7")
flip_v = true
[node name="Slot2" type="Area2D" parent="World" node_paths=PackedStringArray("m_sprite2D")]
position = Vector2(-4, -172)
script = ExtResource("3_pj6dk")
m_sprite2D = NodePath("Sprite2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="World/Slot2"]
shape = SubResource("RectangleShape2D_1xfya")
[node name="Sprite2D" type="Sprite2D" parent="World/Slot2"]
texture = ExtResource("3_wtay7")
flip_v = true
[node name="Slot3" type="Area2D" parent="World" node_paths=PackedStringArray("m_sprite2D")]
position = Vector2(191, -111)
script = ExtResource("3_pj6dk")
m_sprite2D = NodePath("Sprite2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="World/Slot3"]
shape = SubResource("RectangleShape2D_1xfya")
[node name="Sprite2D" type="Sprite2D" parent="World/Slot3"]
texture = ExtResource("3_wtay7")
flip_v = true
[node name="Slot4" type="Area2D" parent="World" node_paths=PackedStringArray("m_sprite2D")]
position = Vector2(-77, 105)
script = ExtResource("3_pj6dk")
m_sprite2D = NodePath("Sprite2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="World/Slot4"]
shape = SubResource("RectangleShape2D_1xfya")
[node name="Sprite2D" type="Sprite2D" parent="World/Slot4"]
texture = ExtResource("3_wtay7")
flip_v = true
[node name="Slot5" type="Area2D" parent="World" node_paths=PackedStringArray("m_sprite2D")]
position = Vector2(-252, 104)
script = ExtResource("3_pj6dk")
m_sprite2D = NodePath("Sprite2D")
[node name="CollisionShape2D" type="CollisionShape2D" parent="World/Slot5"]
shape = SubResource("RectangleShape2D_1xfya")
[node name="Sprite2D" type="Sprite2D" parent="World/Slot5"]
texture = ExtResource("3_wtay7")
flip_v = true
[connection signal="area_entered" from="Camera2D/SlotDetector" to="Camera2D/SlotDetector" method="_on_area_entered"]
[connection signal="area_exited" from="Camera2D/SlotDetector" to="Camera2D/SlotDetector" method="_on_area_exited"]