-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRainbowHead.tscn
33 lines (24 loc) · 1.08 KB
/
RainbowHead.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
[gd_scene load_steps=5 format=3 uid="uid://dujb01qgwmjbv"]
[ext_resource type="Script" path="res://RainbowHead.gd" id="1_fr8h4"]
[ext_resource type="Texture2D" uid="uid://4lpbc1uc634y" path="res://assets/rainbow.png" id="1_gwgi3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_mlmmv"]
radius = 16.1544
[sub_resource type="CircleShape2D" id="CircleShape2D_ot6kq"]
[node name="RainbowHead" type="CharacterBody2D"]
scale = Vector2(0.185708, 0.185708)
collision_layer = 16
collision_mask = 4
script = ExtResource("1_fr8h4")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
scale = Vector2(0.0762517, 0.0762517)
shape = SubResource("CircleShape2D_mlmmv")
[node name="Sprite2D" type="Sprite2D" parent="."]
visible = false
texture = ExtResource("1_gwgi3")
[node name="Area2D" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 12
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
scale = Vector2(0.200092, 0.200092)
shape = SubResource("CircleShape2D_ot6kq")
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]