|
@@ -1,34 +1,34 @@
|
|
|
-[gd_scene load_steps=7 format=2]
|
|
|
+[gd_scene load_steps=7 format=3 uid="uid://c78by7hc4fmwx"]
|
|
|
|
|
|
-[ext_resource path="res://bullets.gd" type="Script" id=2]
|
|
|
-[ext_resource path="res://face_happy.png" type="Texture2D" id=3]
|
|
|
-[ext_resource path="res://face_sad.png" type="Texture2D" id=4]
|
|
|
-[ext_resource path="res://player.gd" type="Script" id=5]
|
|
|
+[ext_resource type="Script" path="res://bullets.gd" id="2"]
|
|
|
+[ext_resource type="Texture2D" uid="uid://d3u7k0742d5ug" path="res://face_happy.png" id="3"]
|
|
|
+[ext_resource type="Texture2D" uid="uid://8j32onnr4qo3" path="res://face_sad.png" id="4"]
|
|
|
+[ext_resource type="Script" path="res://player.gd" id="5"]
|
|
|
|
|
|
-[sub_resource type="SpriteFrames" id=1]
|
|
|
+[sub_resource type="SpriteFrames" id="1"]
|
|
|
animations = [{
|
|
|
-"frames": [ExtResource( 3 ), ExtResource( 4 )],
|
|
|
+"frames": [ExtResource( "3" ), ExtResource( "4" )],
|
|
|
"loop": true,
|
|
|
-"name": "default",
|
|
|
+"name": &"default",
|
|
|
"speed": 5.0
|
|
|
}]
|
|
|
|
|
|
-[sub_resource type="CircleShape2D" id=2]
|
|
|
+[sub_resource type="CircleShape2D" id="2"]
|
|
|
radius = 27.0
|
|
|
|
|
|
[node name="Shower" type="Node2D"]
|
|
|
|
|
|
[node name="Bullets" type="Node2D" parent="."]
|
|
|
-script = ExtResource( 2 )
|
|
|
+script = ExtResource( "2" )
|
|
|
|
|
|
[node name="Player" type="Area2D" parent="."]
|
|
|
-script = ExtResource( 5 )
|
|
|
+script = ExtResource( "5" )
|
|
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Player"]
|
|
|
-frames = SubResource( 1 )
|
|
|
+frames = SubResource( "1" )
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
|
|
|
-shape = SubResource( 2 )
|
|
|
+shape = SubResource( "2" )
|
|
|
|
|
|
[connection signal="body_shape_entered" from="Player" to="Player" method="_on_body_shape_entered"]
|
|
|
[connection signal="body_shape_exited" from="Player" to="Player" method="_on_body_shape_exited"]
|