-
Notifications
You must be signed in to change notification settings - Fork 1
/
Hat.tscn
29 lines (23 loc) · 997 Bytes
/
Hat.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Area2D.gd" type="Script" id=1]
[ext_resource path="res://hat_bowler.png" type="Texture" id=2]
[ext_resource path="res://merd_hat.png" type="Texture" id=3]
[ext_resource path="res://pickup.ogg" type="AudioStream" id=4]
[sub_resource type="CircleShape2D" id=1]
radius = 12.0
[node name="Hat" type="Area2D"]
script = ExtResource( 1 )
color = Color( 1, 0.75, 0.8, 1 )
sprite = ExtResource( 2 )
character_sprite = ExtResource( 3 )
removes = PoolStringArray( )
firstText = ""
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0.333336, 0.592594 )
texture = ExtResource( 2 )
[node name="PickupSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
[connection signal="body_entered" from="." to="." method="_on_Hat_body_entered" flags=3]
[connection signal="body_exited" from="." to="." method="_on_Hat_body_exited"]