mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 09:35:34 +00:00
103 lines
2.7 KiB
Text
103 lines
2.7 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://bc4ffe8oscm6y"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://yi2nv5x10r2e" path="res://Sprites/Props/Conveyor_Horizontal.png" id="1_hb8qr"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ysm5s"]
|
|
atlas = ExtResource("1_hb8qr")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_07rsj"]
|
|
atlas = ExtResource("1_hb8qr")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mnaio"]
|
|
atlas = ExtResource("1_hb8qr")
|
|
region = Rect2(32, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_btv6n"]
|
|
atlas = ExtResource("1_hb8qr")
|
|
region = Rect2(48, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_g7o5d"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ysm5s")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_07rsj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mnaio")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_btv6n")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="Animation" id="Animation_hb8qr"]
|
|
resource_name = "Active"
|
|
length = 0.8
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [0, 1, 2, 3]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ysm5s"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_07rsj"]
|
|
_data = {
|
|
&"Active": SubResource("Animation_hb8qr"),
|
|
&"RESET": SubResource("Animation_ysm5s")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_hb8qr"]
|
|
size = Vector2(16, 16)
|
|
|
|
[node name="ConveyorHorizontal" type="Area2D"]
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
visible = false
|
|
sprite_frames = SubResource("SpriteFrames_g7o5d")
|
|
autoplay = "default"
|
|
frame = 2
|
|
frame_progress = 0.48232
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_hb8qr")
|
|
hframes = 4
|
|
region_rect = Rect2(0, 0, 16, 16)
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_07rsj")
|
|
}
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_hb8qr")
|