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

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

View file

@ -0,0 +1,37 @@
[gd_resource type="SpriteFrames" load_steps=5 format=3 uid="uid://uith5rxps4s"]
[ext_resource type="Texture2D" uid="uid://l3v1hs32uxfp" path="res://sprites/tiles/floor/spikes/spikes_0001-sheet.png" id="1_xhodh"]
[sub_resource type="AtlasTexture" id="AtlasTexture_my1hb"]
atlas = ExtResource("1_xhodh")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nfdn1"]
atlas = ExtResource("1_xhodh")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_qhlyu"]
atlas = ExtResource("1_xhodh")
region = Rect2(64, 0, 32, 32)
[resource]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_my1hb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nfdn1")
}],
"loop": false,
"name": &"activated",
"speed": 2.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_qhlyu")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://l3v1hs32uxfp"
path="res://.godot/imported/spikes_0001-sheet.png-b398d353cf2bc01f666143f11416947c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/sprites/tiles/floor/spikes/spikes_0001-sheet.png"
dest_files=["res://.godot/imported/spikes_0001-sheet.png-b398d353cf2bc01f666143f11416947c.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bn68pj3dryfsr"
path="res://.godot/imported/spikes_0001.png-d19b1dff3bed18965d6e3e0d5c1db89b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/sprites/tiles/floor/spikes/spikes_0001.png"
dest_files=["res://.godot/imported/spikes_0001.png-d19b1dff3bed18965d6e3e0d5c1db89b.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ca2htopke8mdk"
path="res://.godot/imported/spikes_0002.png-0d6c1e86b655320c066ea01e4360e981.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/sprites/tiles/floor/spikes/spikes_0002.png"
dest_files=["res://.godot/imported/spikes_0002.png-0d6c1e86b655320c066ea01e4360e981.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://xu6mpqbo14if"
path="res://.godot/imported/spikes_0003.png-6ed5877fae309fea4eb4f2d08c201dd4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/sprites/tiles/floor/spikes/spikes_0003.png"
dest_files=["res://.godot/imported/spikes_0003.png-6ed5877fae309fea4eb4f2d08c201dd4.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