Bubble-Blower/addons/ridiculous_coding/newline.tscn
Marvin Dalheimer 0ab65e1df6
Init
2025-01-25 21:40:19 +01:00

89 lines
2.1 KiB
Text

[gd_scene load_steps=11 format=3 uid="uid://wd4tkg0uxd18"]
[ext_resource type="Script" path="res://addons/ridiculous_coding/newline.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://b1vn1823wqae2" path="res://addons/ridiculous_coding/newline.png" id="2"]
[sub_resource type="AtlasTexture" id="1"]
atlas = ExtResource("2")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="2"]
atlas = ExtResource("2")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="3"]
atlas = ExtResource("2")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="4"]
atlas = ExtResource("2")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="5"]
atlas = ExtResource("2")
region = Rect2(256, 0, 64, 64)
[sub_resource type="SpriteFrames" id="6"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("1")
}, {
"duration": 1.0,
"texture": SubResource("2")
}, {
"duration": 1.0,
"texture": SubResource("3")
}, {
"duration": 1.0,
"texture": SubResource("4")
}, {
"duration": 1.0,
"texture": SubResource("5")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[sub_resource type="Animation" id="7"]
resource_name = "default"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("AnimatedSprite2D:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1),
"transitions": PackedFloat32Array(0.233258, 1),
"update": 0,
"values": [Vector2(-200, 0), Vector2(-50, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_gwr1r"]
_data = {
"default": SubResource("7")
}
[node name="Node2D" type="Node2D"]
texture_filter = 1
script = ExtResource("1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(-50, 0)
rotation = -1.57079
scale = Vector2(2, 2)
sprite_frames = SubResource("6")
frame_progress = 0.432846
[node name="Timer" type="Timer" parent="."]
one_shot = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_gwr1r")
}
autoplay = "default"
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]