211 lines
4.1 KiB
Text
211 lines
4.1 KiB
Text
[gd_scene load_steps=22 format=3 uid="uid://c2pqh7ajiuiy0"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bl3ecai6lvat1" path="res://addons/popochiu/engine/cursor/sprites/cursor.png" id="1"]
|
|
[ext_resource type="Script" path="res://addons/popochiu/engine/cursor/cursor.gd" id="1_n3epl"]
|
|
|
|
[sub_resource type="AtlasTexture" id="10"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="11"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="12"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(64, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="15"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="16"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="4"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(192, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="5"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(224, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="18"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(256, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="17"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(288, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="9"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(160, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="2"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(320, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="3"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(352, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="14"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(384, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="19"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(416, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="6"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(448, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="7"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(480, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="13"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(512, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="8"]
|
|
atlas = ExtResource("1")
|
|
region = Rect2(544, 0, 32, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="1"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("10")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("11")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("12")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("12")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("11")
|
|
}],
|
|
"loop": true,
|
|
"name": &"active",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("15")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("16")
|
|
}],
|
|
"loop": true,
|
|
"name": &"down",
|
|
"speed": 4.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("5")
|
|
}],
|
|
"loop": true,
|
|
"name": &"left",
|
|
"speed": 4.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("18")
|
|
}],
|
|
"loop": false,
|
|
"name": &"look",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("17")
|
|
}],
|
|
"loop": false,
|
|
"name": &"none",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("9")
|
|
}],
|
|
"loop": false,
|
|
"name": &"normal",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("3")
|
|
}],
|
|
"loop": true,
|
|
"name": &"right",
|
|
"speed": 4.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("14")
|
|
}],
|
|
"loop": false,
|
|
"name": &"search",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("19")
|
|
}],
|
|
"loop": false,
|
|
"name": &"talk",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("7")
|
|
}],
|
|
"loop": true,
|
|
"name": &"up",
|
|
"speed": 4.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("13")
|
|
}],
|
|
"loop": false,
|
|
"name": &"use",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("8")
|
|
}],
|
|
"loop": false,
|
|
"name": &"wait",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="CursorLayer" type="CanvasLayer"]
|
|
layer = 100
|
|
script = ExtResource("1_n3epl")
|
|
|
|
[node name="MainCursor" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("1")
|
|
animation = &"normal"
|
|
|
|
[node name="SecondaryCursor" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|