Сцена игрока + начальная реализация перемещения

This commit is contained in:
Евгений Титаренко 2024-08-13 17:25:01 +03:00
commit 42db203fca
95 changed files with 1816 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b3brymekuuwkh"
path="res://.godot/imported/mc-walk-side.png-a5332ee9ed87bd7d0e1a7707263121ef.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/sprites/player/mc-walk-side.png"
dest_files=["res://.godot/imported/mc-walk-side.png-a5332ee9ed87bd7d0e1a7707263121ef.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,58 @@
[gd_resource type="SpriteFrames" load_steps=8 format=3 uid="uid://e8ybb7seykdx"]
[ext_resource type="Texture2D" uid="uid://b3brymekuuwkh" path="res://resources/sprites/player/mc-walk-side.png" id="1_338ik"]
[sub_resource type="AtlasTexture" id="AtlasTexture_s7byu"]
atlas = ExtResource("1_338ik")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_654fl"]
atlas = ExtResource("1_338ik")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_tdjd0"]
atlas = ExtResource("1_338ik")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_xicac"]
atlas = ExtResource("1_338ik")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_b6h1b"]
atlas = ExtResource("1_338ik")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ukomw"]
atlas = ExtResource("1_338ik")
region = Rect2(0, 0, 32, 32)
[resource]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_s7byu")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_654fl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tdjd0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xicac")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b6h1b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ukomw")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]