Godot-Web-Test/Player.tscn

93 lines
2.6 KiB
Plaintext

[gd_scene load_steps=14 format=3 uid="uid://c5c3ji0qdyhr4"]
[ext_resource type="Script" uid="uid://d0u3a47gnrkx8" path="res://player.gd" id="1_kpjcp"]
[ext_resource type="Texture2D" uid="uid://1g2qy1ptl4qm" path="res://Assets/SHADOW Series - Glacial Shogun/sprite sheet/1. idle.png" id="1_xhfnw"]
[sub_resource type="AtlasTexture" id="AtlasTexture_kpjcp"]
atlas = ExtResource("1_xhfnw")
region = Rect2(0, 0, 27, 34)
[sub_resource type="AtlasTexture" id="AtlasTexture_kne1u"]
atlas = ExtResource("1_xhfnw")
region = Rect2(27, 0, 27, 34)
[sub_resource type="AtlasTexture" id="AtlasTexture_e80uo"]
atlas = ExtResource("1_xhfnw")
region = Rect2(54, 0, 27, 34)
[sub_resource type="AtlasTexture" id="AtlasTexture_cxr5p"]
atlas = ExtResource("1_xhfnw")
region = Rect2(81, 0, 27, 34)
[sub_resource type="AtlasTexture" id="AtlasTexture_tdg3f"]
atlas = ExtResource("1_xhfnw")
region = Rect2(108, 0, 27, 34)
[sub_resource type="AtlasTexture" id="AtlasTexture_dtqjt"]
atlas = ExtResource("1_xhfnw")
region = Rect2(135, 0, 27, 34)
[sub_resource type="AtlasTexture" id="AtlasTexture_5ncpa"]
atlas = ExtResource("1_xhfnw")
region = Rect2(162, 0, 27, 34)
[sub_resource type="AtlasTexture" id="AtlasTexture_wi0c6"]
atlas = ExtResource("1_xhfnw")
region = Rect2(189, 0, 27, 34)
[sub_resource type="AtlasTexture" id="AtlasTexture_hp6x6"]
atlas = ExtResource("1_xhfnw")
region = Rect2(216, 0, 27, 34)
[sub_resource type="SpriteFrames" id="SpriteFrames_3tkgg"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_kpjcp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kne1u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e80uo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cxr5p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tdg3f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dtqjt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5ncpa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wi0c6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hp6x6")
}],
"loop": true,
"name": &"Idle",
"speed": 5.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_l6ohk"]
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_kpjcp")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_3tkgg")
animation = &"Idle"
frame = 4
frame_progress = 0.226088
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_l6ohk")
[node name="Camera2D" type="Camera2D" parent="."]
zoom = Vector2(2.25, 2.25)