-
Notifications
You must be signed in to change notification settings - Fork 0
/
dropzone.tscn
42 lines (32 loc) · 1.38 KB
/
dropzone.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://dropzone.gd" type="Script" id=1]
[ext_resource path="res://colorPalette/box_background_default.png" type="Texture" id=2]
[ext_resource path="res://colorPalette/box_border.png" type="Texture" id=3]
[ext_resource path="res://colorPalette/Padlock_0.png" type="Texture" id=4]
[ext_resource path="res://colorPalette/Padlock_1.png" type="Texture" id=5]
[sub_resource type="CircleShape2D" id=1]
radius = 560.0
[node name="dropzone" type="Position2D" groups=[
"zone",
]]
script = ExtResource( 1 )
[node name="box" type="Sprite" parent="."]
scale = Vector2( 0.1, 0.1 )
texture = ExtResource( 2 )
[node name="Padlock" type="Node2D" parent="box"]
visible = false
[node name="upper" type="Sprite" parent="box/Padlock"]
position = Vector2( 0, -160 )
texture = ExtResource( 5 )
[node name="base" type="Sprite" parent="box/Padlock"]
modulate = Color( 0.560784, 0.776471, 0.878431, 1 )
position = Vector2( 0, 80 )
texture = ExtResource( 4 )
[node name="Area2D" type="Area2D" parent="box/Padlock"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="box/Padlock/Area2D"]
shape = SubResource( 1 )
[node name="box2" type="Sprite" parent="."]
modulate = Color( 0.560784, 0.776471, 0.878431, 1 )
scale = Vector2( 0.1, 0.1 )
texture = ExtResource( 3 )
[connection signal="input_event" from="box/Padlock/Area2D" to="." method="_on_Area2D_input_event"]