Changed the project structure

master
Wynd 2024-09-14 22:50:30 +03:00
parent c2a73ff69a
commit 649061fe6a
17 changed files with 81 additions and 80 deletions

View File

Before

Width:  |  Height:  |  Size: 133 B

After

Width:  |  Height:  |  Size: 133 B

View File

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://dxkxa6e6ue1b6" uid="uid://dxkxa6e6ue1b6"
path="res://.godot/imported/bat.png-8c5f11e0110a5921c6efd8f18e634996.ctex" path="res://.godot/imported/bat.png-c44a91614c3a07ccae4dd187ce12b25d.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://bat.png" source_file="res://entities/assets/bat.png"
dest_files=["res://.godot/imported/bat.png-8c5f11e0110a5921c6efd8f18e634996.ctex"] dest_files=["res://.godot/imported/bat.png-c44a91614c3a07ccae4dd187ce12b25d.ctex"]
[params] [params]

View File

Before

Width:  |  Height:  |  Size: 133 B

After

Width:  |  Height:  |  Size: 133 B

View File

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://d2weyvrv4qsa2" uid="uid://d2weyvrv4qsa2"
path="res://.godot/imported/ghost.png-f343bb4bd35f12f8f631dffe3b7d2891.ctex" path="res://.godot/imported/ghost.png-4bae11df049bb031fc8bd900fd23bdd5.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://ghost.png" source_file="res://entities/assets/ghost.png"
dest_files=["res://.godot/imported/ghost.png-f343bb4bd35f12f8f631dffe3b7d2891.ctex"] dest_files=["res://.godot/imported/ghost.png-4bae11df049bb031fc8bd900fd23bdd5.ctex"]
[params] [params]

View File

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 166 B

View File

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://b4i416bsd62n1" uid="uid://b4i416bsd62n1"
path="res://.godot/imported/box-switch.png-09af05dc015f6a7c21a3d4c8a8039a04.ctex" path="res://.godot/imported/box-switch.png-b01d7f98c3af35149b3dac0b2da9ed80.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://box-switch.png" source_file="res://objects/assets/box-switch.png"
dest_files=["res://.godot/imported/box-switch.png-09af05dc015f6a7c21a3d4c8a8039a04.ctex"] dest_files=["res://.godot/imported/box-switch.png-b01d7f98c3af35149b3dac0b2da9ed80.ctex"]
[params] [params]

View File

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 206 B

View File

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://br4mm65ok0dfl" uid="uid://br4mm65ok0dfl"
path="res://.godot/imported/box.png-196cb2b6d7422a4ab3b9c60b5a994fe3.ctex" path="res://.godot/imported/box.png-87b425849f24b1a9b2fd08bc5358c175.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://box.png" source_file="res://objects/assets/box.png"
dest_files=["res://.godot/imported/box.png-196cb2b6d7422a4ab3b9c60b5a994fe3.ctex"] dest_files=["res://.godot/imported/box.png-87b425849f24b1a9b2fd08bc5358c175.ctex"]
[params] [params]

View File

Before

Width:  |  Height:  |  Size: 252 B

After

Width:  |  Height:  |  Size: 252 B

View File

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://boii66my2eiqr" uid="uid://boii66my2eiqr"
path="res://.godot/imported/grave.png-04e515fa19f6c3c60cd0f12f47ff3134.ctex" path="res://.godot/imported/grave.png-f7e08caf0094f9eb8b4fb58fe0a09e30.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://grave.png" source_file="res://objects/assets/grave.png"
dest_files=["res://.godot/imported/grave.png-04e515fa19f6c3c60cd0f12f47ff3134.ctex"] dest_files=["res://.godot/imported/grave.png-f7e08caf0094f9eb8b4fb58fe0a09e30.ctex"]
[params] [params]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=5 format=3 uid="uid://cjus07bbbn4wd"] [gd_scene load_steps=5 format=3 uid="uid://cjus07bbbn4wd"]
[ext_resource type="Texture2D" uid="uid://br4mm65ok0dfl" path="res://box.png" id="1_myqej"] [ext_resource type="Texture2D" uid="uid://br4mm65ok0dfl" path="res://objects/assets/box.png" id="1_myqej"]
[sub_resource type="Animation" id="Animation_21bg4"] [sub_resource type="Animation" id="Animation_21bg4"]
resource_name = "RESET" resource_name = "RESET"
@ -41,13 +41,14 @@ _data = {
[node name="Box" type="Node2D"] [node name="Box" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
texture_filter = 1 root_node = NodePath("../Sprite2D")
texture = ExtResource("1_myqej")
hframes = 5
[node name="AnimationPlayer" type="AnimationPlayer" parent="Sprite2D"]
libraries = { libraries = {
"": SubResource("AnimationLibrary_g7bql") "": SubResource("AnimationLibrary_g7bql")
} }
autoplay = "RESET" autoplay = "RESET"
[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
texture = ExtResource("1_myqej")
hframes = 5

View File

@ -1,10 +1,25 @@
[gd_scene load_steps=6 format=3 uid="uid://c2qq84wh76mkx"] [gd_scene load_steps=6 format=3 uid="uid://c2qq84wh76mkx"]
[ext_resource type="Texture2D" uid="uid://b4i416bsd62n1" path="res://box-switch.png" id="1_s5gx1"] [ext_resource type="Texture2D" uid="uid://b4i416bsd62n1" path="res://objects/assets/box-switch.png" id="1_s5gx1"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_g4f6l"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_g4f6l"]
size = Vector2(8, 8) size = Vector2(8, 8)
[sub_resource type="Animation" id="Animation_615sy"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="Animation" id="Animation_33k1i"] [sub_resource type="Animation" id="Animation_33k1i"]
resource_name = "active" resource_name = "active"
length = 0.5 length = 0.5
@ -22,21 +37,6 @@ tracks/0/keys = {
"values": [0, 1] "values": [0, 1]
} }
[sub_resource type="Animation" id="Animation_615sy"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_78s6f"] [sub_resource type="AnimationLibrary" id="AnimationLibrary_78s6f"]
_data = { _data = {
"RESET": SubResource("Animation_615sy"), "RESET": SubResource("Animation_615sy"),

View File

@ -1,25 +1,6 @@
[gd_scene load_steps=7 format=3 uid="uid://chmxabjea27ay"] [gd_scene load_steps=7 format=3 uid="uid://chmxabjea27ay"]
[ext_resource type="Texture2D" uid="uid://boii66my2eiqr" path="res://grave.png" id="1_wcgrd"] [ext_resource type="Texture2D" uid="uid://boii66my2eiqr" path="res://objects/assets/grave.png" id="1_wcgrd"]
[sub_resource type="AtlasTexture" id="AtlasTexture_h3pxl"]
atlas = ExtResource("1_wcgrd")
[sub_resource type="Animation" id="Animation_w5bs5"]
resource_name = "sing"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.25, 0.5, 0.75),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [1, 2, 3, 4]
}
[sub_resource type="Animation" id="Animation_4eb2t"] [sub_resource type="Animation" id="Animation_4eb2t"]
resource_name = "RESET" resource_name = "RESET"
@ -51,6 +32,22 @@ tracks/0/keys = {
"values": [5, 6, 7, 8, 9] "values": [5, 6, 7, 8, 9]
} }
[sub_resource type="Animation" id="Animation_w5bs5"]
resource_name = "sing"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.25, 0.5, 0.75),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [1, 2, 3, 4]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_n47hy"] [sub_resource type="AnimationLibrary" id="AnimationLibrary_n47hy"]
_data = { _data = {
"RESET": SubResource("Animation_4eb2t"), "RESET": SubResource("Animation_4eb2t"),
@ -58,16 +55,20 @@ _data = {
"sing": SubResource("Animation_w5bs5") "sing": SubResource("Animation_w5bs5")
} }
[sub_resource type="AtlasTexture" id="AtlasTexture_h3pxl"]
atlas = ExtResource("1_wcgrd")
[node name="Grave" type="Node2D"] [node name="Grave" type="Node2D"]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../Sprite2D")
libraries = {
"": SubResource("AnimationLibrary_n47hy")
}
autoplay = "RESET"
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1 texture_filter = 1
texture = SubResource("AtlasTexture_h3pxl") texture = SubResource("AtlasTexture_h3pxl")
hframes = 5 hframes = 5
vframes = 2 vframes = 2
[node name="AnimationPlayer" type="AnimationPlayer" parent="Sprite2D"]
libraries = {
"": SubResource("AnimationLibrary_n47hy")
}
autoplay = "RESET"

View File

@ -11,9 +11,8 @@ config_version=5
[application] [application]
config/name="GBJAM12" config/name="GBJAM12"
run/main_scene="res://main.tscn" run/main_scene="res://scenes/main.tscn"
config/features=PackedStringArray("4.3", "GL Compatibility") config/features=PackedStringArray("4.3", "GL Compatibility")
config/icon="res://icon.svg"
[display] [display]

View File

Before

Width:  |  Height:  |  Size: 578 B

After

Width:  |  Height:  |  Size: 578 B

View File

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://cbuibrshdpkm1" uid="uid://cbuibrshdpkm1"
path="res://.godot/imported/tileset.png-a39e944f25b35d62f55d4f98a36e2b5e.ctex" path="res://.godot/imported/tileset.png-43fc4a4b8263b3825042700901d29d42.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://tileset.png" source_file="res://scenes/assets/tileset.png"
dest_files=["res://.godot/imported/tileset.png-a39e944f25b35d62f55d4f98a36e2b5e.ctex"] dest_files=["res://.godot/imported/tileset.png-43fc4a4b8263b3825042700901d29d42.ctex"]
[params] [params]

View File

@ -1,12 +1,12 @@
[gd_scene load_steps=7 format=4 uid="uid://cbg46c4q2ian4"] [gd_scene load_steps=7 format=4 uid="uid://cbg46c4q2ian4"]
[ext_resource type="Texture2D" uid="uid://cbuibrshdpkm1" path="res://tileset.png" id="1_7ovc0"] [ext_resource type="Texture2D" uid="uid://cbuibrshdpkm1" path="res://scenes/assets/tileset.png" id="1_8a4g8"]
[ext_resource type="PackedScene" uid="uid://chmxabjea27ay" path="res://grave.tscn" id="2_qgd40"] [ext_resource type="PackedScene" uid="uid://chmxabjea27ay" path="res://objects/grave/grave.tscn" id="2_fe1sr"]
[ext_resource type="PackedScene" uid="uid://cjus07bbbn4wd" path="res://box.tscn" id="3_2srwt"] [ext_resource type="PackedScene" uid="uid://cjus07bbbn4wd" path="res://objects/box/box.tscn" id="3_jiwuy"]
[ext_resource type="PackedScene" uid="uid://c2qq84wh76mkx" path="res://box_switch.tscn" id="4_vxduc"] [ext_resource type="PackedScene" uid="uid://c2qq84wh76mkx" path="res://objects/box/box_switch.tscn" id="4_7yk3l"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_m1u1u"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_m1u1u"]
texture = ExtResource("1_7ovc0") texture = ExtResource("1_8a4g8")
texture_region_size = Vector2i(8, 8) texture_region_size = Vector2i(8, 8)
0:0/0 = 0 0:0/0 = 0
1:0/0 = 0 1:0/0 = 0
@ -50,24 +50,24 @@ position = Vector2(240, 72)
[node name="Camera2D" type="Camera2D" parent="Player"] [node name="Camera2D" type="Camera2D" parent="Player"]
[node name="Grave" parent="." instance=ExtResource("2_qgd40")] [node name="Grave" parent="." instance=ExtResource("2_fe1sr")]
texture_filter = 1 texture_filter = 1
position = Vector2(228, 20) position = Vector2(228, 20)
[node name="Grave2" parent="." instance=ExtResource("2_qgd40")] [node name="Grave2" parent="." instance=ExtResource("2_fe1sr")]
texture_filter = 1 texture_filter = 1
position = Vector2(196, 36) position = Vector2(196, 36)
[node name="Grave3" parent="." instance=ExtResource("2_qgd40")] [node name="Grave3" parent="." instance=ExtResource("2_fe1sr")]
texture_filter = 1 texture_filter = 1
position = Vector2(244, 28) position = Vector2(244, 28)
[node name="Grave4" parent="." instance=ExtResource("2_qgd40")] [node name="Grave4" parent="." instance=ExtResource("2_fe1sr")]
texture_filter = 1 texture_filter = 1
position = Vector2(244, 44) position = Vector2(244, 44)
[node name="Box" parent="." instance=ExtResource("3_2srwt")] [node name="Box" parent="." instance=ExtResource("3_jiwuy")]
position = Vector2(276, 20) position = Vector2(276, 20)
[node name="BoxSwitch" parent="." instance=ExtResource("4_vxduc")] [node name="BoxSwitch" parent="." instance=ExtResource("4_7yk3l")]
position = Vector2(292, 116) position = Vector2(292, 116)