initial commit

This commit is contained in:
Иван Кузьменко 2023-08-14 18:06:40 +03:00
commit 70d322e276
16 changed files with 355 additions and 0 deletions

2
.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
# Godot 4+ specific ignores
.godot/

1
icon.svg Normal file
View file

@ -0,0 +1 @@
<svg height="128" width="128" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="124" height="124" rx="14" fill="#363d52" stroke="#212532" stroke-width="4"/><g transform="scale(.101) translate(122 122)"><g fill="#fff"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 813 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H447l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c3 34 55 34 58 0v-86c-3-34-55-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></g></svg>

After

Width:  |  Height:  |  Size: 950 B

37
icon.svg.import Normal file
View file

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://e7pdhg7sr5n"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

17
prefabs/player.tscn Normal file
View file

@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://bhulqhxesd5gc"]
[ext_resource type="SpriteFrames" uid="uid://cfdng3tdv65p6" path="res://sprites/player/player.tres" id="1_8jl58"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5hhj3"]
size = Vector2(15, 15)
[node name="Player" type="CharacterBody2D"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0.5, 7.5)
shape = SubResource("RectangleShape2D_5hhj3")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = ExtResource("1_8jl58")
animation = &"up"
frame_progress = 0.975256

27
project.godot Normal file
View file

@ -0,0 +1,27 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="1bit-game-jam"
run/main_scene="res://scenes/main_scene.tscn"
config/features=PackedStringArray("4.1", "Mobile")
boot_splash/bg_color=Color(0.141176, 0.141176, 0.141176, 1)
config/icon="res://icon.svg"
[rendering]
textures/canvas_textures/default_texture_filter=0
renderer/rendering_method="mobile"
textures/lossless_compression/force_png=true
textures/default_filters/anisotropic_filtering_level=0
anti_aliasing/screen_space_roughness_limiter/enabled=false
2d/snap/snap_2d_transforms_to_pixel=true
2d/snap/snap_2d_vertices_to_pixel=true

5
scenes/main_scene.tscn Normal file
View file

@ -0,0 +1,5 @@
[gd_scene format=3 uid="uid://dhn7yt46fyac8"]
[node name="Root" type="Node2D"]
[node name="DarkCamera2D" type="Camera2D" parent="."]

BIN
sprites/brickwall.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://py6qiu3rm7cu"
path="res://.godot/imported/brickwall.png-5f7e36624247685bd0b34588e6d11685.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/brickwall.png"
dest_files=["res://.godot/imported/brickwall.png-5f7e36624247685bd0b34588e6d11685.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: 651 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://6b55p4ufwthn"
path="res://.godot/imported/mc-walk-bottom.png-a8ddd7c7b6f9b589622fc381481db014.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/player/mc-walk-bottom.png"
dest_files=["res://.godot/imported/mc-walk-bottom.png-a8ddd7c7b6f9b589622fc381481db014.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: 662 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://swcaxd0f3t8t"
path="res://.godot/imported/mc-walk-side.png-dc3efd8aebf497e234f8aae0ccf7125d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/player/mc-walk-side.png"
dest_files=["res://.godot/imported/mc-walk-side.png-dc3efd8aebf497e234f8aae0ccf7125d.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: 512 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bc87homnn6svq"
path="res://.godot/imported/mc-walk-up.png-feddc65fc4d4a14dbb2aa682e229898e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/player/mc-walk-up.png"
dest_files=["res://.godot/imported/mc-walk-up.png-feddc65fc4d4a14dbb2aa682e229898e.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

128
sprites/player/player.tres Normal file
View file

@ -0,0 +1,128 @@
[gd_resource type="SpriteFrames" load_steps=19 format=3 uid="uid://cfdng3tdv65p6"]
[ext_resource type="Texture2D" uid="uid://6b55p4ufwthn" path="res://sprites/player/mc-walk-bottom.png" id="1_asp68"]
[ext_resource type="Texture2D" uid="uid://swcaxd0f3t8t" path="res://sprites/player/mc-walk-side.png" id="2_pyvsb"]
[ext_resource type="Texture2D" uid="uid://bc87homnn6svq" path="res://sprites/player/mc-walk-up.png" id="3_5hpjv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_umr2d"]
atlas = ExtResource("1_asp68")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_qbfns"]
atlas = ExtResource("1_asp68")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_1hppd"]
atlas = ExtResource("1_asp68")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_157a4"]
atlas = ExtResource("1_asp68")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_2yora"]
atlas = ExtResource("1_asp68")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_3x48s"]
atlas = ExtResource("2_pyvsb")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_x3nxf"]
atlas = ExtResource("2_pyvsb")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nxtdh"]
atlas = ExtResource("2_pyvsb")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_d8c67"]
atlas = ExtResource("2_pyvsb")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ixclq"]
atlas = ExtResource("2_pyvsb")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_641b4"]
atlas = ExtResource("3_5hpjv")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_jxt0i"]
atlas = ExtResource("3_5hpjv")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_4dpci"]
atlas = ExtResource("3_5hpjv")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_oci34"]
atlas = ExtResource("3_5hpjv")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ovplm"]
atlas = ExtResource("3_5hpjv")
region = Rect2(128, 0, 32, 32)
[resource]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_umr2d")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qbfns")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1hppd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_157a4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2yora")
}],
"loop": true,
"name": &"down",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_3x48s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x3nxf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nxtdh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d8c67")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ixclq")
}],
"loop": true,
"name": &"sideways",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_641b4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jxt0i")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4dpci")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oci34")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ovplm")
}],
"loop": true,
"name": &"up",
"speed": 5.0
}]