Camera sprite sweep

This commit is contained in:
Marco 2025-02-05 09:40:24 +01:00
commit 88fd702cea
5 changed files with 59 additions and 7 deletions

View file

@ -1,4 +1,4 @@
[gd_resource type="SpriteFrames" load_steps=35 format=3 uid="uid://yfxog8pww6ih"]
[gd_resource type="SpriteFrames" load_steps=39 format=3 uid="uid://yfxog8pww6ih"]
[ext_resource type="Texture2D" uid="uid://cpuffmksk41n4" path="res://Sprites/Actors/Camera.png" id="1_p68hc"]
@ -26,10 +26,26 @@ region = Rect2(48, 0, 16, 16)
atlas = ExtResource("1_p68hc")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_6e5gf"]
[sub_resource type="AtlasTexture" id="AtlasTexture_kkke6"]
atlas = ExtResource("1_p68hc")
region = Rect2(64, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ut6x5"]
atlas = ExtResource("1_p68hc")
region = Rect2(48, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_iyaqf"]
atlas = ExtResource("1_p68hc")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_nvf8m"]
atlas = ExtResource("1_p68hc")
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ugygk"]
atlas = ExtResource("1_p68hc")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_dxl8p"]
atlas = ExtResource("1_p68hc")
region = Rect2(0, 0, 16, 16)
@ -166,7 +182,19 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6e5gf")
"texture": SubResource("AtlasTexture_kkke6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ut6x5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iyaqf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nvf8m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ugygk")
}],
"loop": true,
"name": &"default",