diff --git a/entities/cloud.gd b/entities/cloud.gd deleted file mode 100644 index 17e0734..0000000 --- a/entities/cloud.gd +++ /dev/null @@ -1,14 +0,0 @@ -extends Node2D -class_name Cloud - -@onready var player = $"AnimationPlayer" -@onready var spawner = $"Spawner" - -func _ready(): - spawner.spawn() - var player = $"AnimationPlayer" - player.play("fade_out") - await player.animation_finished - queue_free() - - diff --git a/entities/cloud.tscn b/entities/cloud.tscn deleted file mode 100644 index cd98189..0000000 --- a/entities/cloud.tscn +++ /dev/null @@ -1,124 +0,0 @@ -[gd_scene load_steps=8 format=3 uid="uid://eqb3vfbvjefp"] - -[ext_resource type="Script" path="res://entities/cloud.gd" id="1_8jsek"] -[ext_resource type="PackedScene" uid="uid://bc2bm8lbol18w" path="res://entities/sheep.tscn" id="3_naxi5"] -[ext_resource type="PackedScene" uid="uid://tx1qi6ahlxjp" path="res://behaviours/spawner.tscn" id="4_0cics"] - -[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_08frh"] - -[sub_resource type="Animation" id="Animation_rrrnd"] -length = 0.001 -tracks/0/type = "bezier" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("Sprite:modulate:r") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"handle_modes": PackedInt32Array(0), -"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0), -"times": PackedFloat32Array(0) -} -tracks/1/type = "bezier" -tracks/1/imported = false -tracks/1/enabled = true -tracks/1/path = NodePath("Sprite:modulate:g") -tracks/1/interp = 1 -tracks/1/loop_wrap = true -tracks/1/keys = { -"handle_modes": PackedInt32Array(0), -"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0), -"times": PackedFloat32Array(0) -} -tracks/2/type = "bezier" -tracks/2/imported = false -tracks/2/enabled = true -tracks/2/path = NodePath("Sprite:modulate:b") -tracks/2/interp = 1 -tracks/2/loop_wrap = true -tracks/2/keys = { -"handle_modes": PackedInt32Array(0), -"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0), -"times": PackedFloat32Array(0) -} -tracks/3/type = "bezier" -tracks/3/imported = false -tracks/3/enabled = true -tracks/3/path = NodePath("Sprite:modulate:a") -tracks/3/interp = 1 -tracks/3/loop_wrap = true -tracks/3/keys = { -"handle_modes": PackedInt32Array(0), -"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0), -"times": PackedFloat32Array(0) -} - -[sub_resource type="Animation" id="Animation_mqmwg"] -resource_name = "fade_out" -tracks/0/type = "bezier" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("Sprite:modulate:r") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"handle_modes": PackedInt32Array(0, 0), -"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0), -"times": PackedFloat32Array(0, 1) -} -tracks/1/type = "bezier" -tracks/1/imported = false -tracks/1/enabled = true -tracks/1/path = NodePath("Sprite:modulate:g") -tracks/1/interp = 1 -tracks/1/loop_wrap = true -tracks/1/keys = { -"handle_modes": PackedInt32Array(0, 0), -"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0), -"times": PackedFloat32Array(0, 1) -} -tracks/2/type = "bezier" -tracks/2/imported = false -tracks/2/enabled = true -tracks/2/path = NodePath("Sprite:modulate:b") -tracks/2/interp = 1 -tracks/2/loop_wrap = true -tracks/2/keys = { -"handle_modes": PackedInt32Array(0, 0), -"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0), -"times": PackedFloat32Array(0, 1) -} -tracks/3/type = "bezier" -tracks/3/imported = false -tracks/3/enabled = true -tracks/3/path = NodePath("Sprite:modulate:a") -tracks/3/interp = 1 -tracks/3/loop_wrap = true -tracks/3/keys = { -"handle_modes": PackedInt32Array(0, 0), -"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0), -"times": PackedFloat32Array(0, 1) -} - -[sub_resource type="AnimationLibrary" id="AnimationLibrary_fs8h8"] -_data = { -"RESET": SubResource("Animation_rrrnd"), -"fade_out": SubResource("Animation_mqmwg") -} - -[node name="Cloud" type="Node2D"] -script = ExtResource("1_8jsek") - -[node name="Sprite" type="Sprite2D" parent="."] -z_index = 1 -position = Vector2(1.90735e-06, -9.53674e-07) -scale = Vector2(64.4688, 51.1875) -texture = SubResource("PlaceholderTexture2D_08frh") - -[node name="Spawner" parent="." instance=ExtResource("4_0cics")] -scene = ExtResource("3_naxi5") - -[node name="AnimationPlayer" type="AnimationPlayer" parent="."] -libraries = { -"": SubResource("AnimationLibrary_fs8h8") -}