Merge pull request 'Book_LevelSetup' (#18) from Book_LevelSetup into dev

Reviewed-on: https://code.booklordofthe.dev///Booklordofthedings/GMTK-2024/pulls/18
This commit is contained in:
Booklordofthedings 2024-08-17 01:20:12 +02:00
commit f899065416
30 changed files with 264 additions and 78 deletions

BIN
assets/icons.kra Normal file

Binary file not shown.

BIN
assets/icons.kra~ Normal file

Binary file not shown.

View file

@ -0,0 +1,60 @@
[gd_scene load_steps=10 format=3 uid="uid://ba6afuig8bqrg"]
[ext_resource type="PackedScene" uid="uid://snxpqx0ony7s" path="res://objects/Player.tscn" id="1_prjlb"]
[ext_resource type="PackedScene" uid="uid://dii1q3f5dj72y" path="res://objects/CRT.tscn" id="2_mxtem"]
[ext_resource type="Texture2D" uid="uid://cw3onignoce3e" path="res://temp_assets/scale_up.png" id="3_7s458"]
[ext_resource type="Texture2D" uid="uid://ckr5hxaqp6s5x" path="res://temp_assets/scale_up_hovered.png" id="4_6s82a"]
[ext_resource type="Texture2D" uid="uid://btmck3gpinxo1" path="res://temp_assets/scaled_down.png" id="5_8tyx1"]
[ext_resource type="Texture2D" uid="uid://c02aqv5sgwvgn" path="res://temp_assets/scale_down_hovered.png" id="6_kdplq"]
[ext_resource type="Texture2D" uid="uid://2rfdls8oduj1" path="res://temp_assets/mirror.png" id="7_xwthi"]
[ext_resource type="Texture2D" uid="uid://bfpwj3kaxe1ka" path="res://temp_assets/mirror_hovered.png" id="8_r6dd1"]
[sub_resource type="Theme" id="Theme_efdhj"]
[node name="LevelBase" type="Node"]
[node name="Player" parent="." instance=ExtResource("1_prjlb")]
[node name="CanvasLayer" parent="." instance=ExtResource("2_mxtem")]
[node name="UILayer" type="CanvasLayer" parent="."]
[node name="UI" type="Control" parent="UILayer"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="UILayer/UI"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="ScaleUp" type="TextureButton" parent="UILayer/UI/HBoxContainer"]
layout_mode = 2
theme = SubResource("Theme_efdhj")
texture_normal = ExtResource("3_7s458")
texture_pressed = ExtResource("4_6s82a")
texture_hover = ExtResource("4_6s82a")
texture_disabled = ExtResource("3_7s458")
texture_focused = ExtResource("4_6s82a")
[node name="ScaleDown" type="TextureButton" parent="UILayer/UI/HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("5_8tyx1")
texture_pressed = ExtResource("6_kdplq")
texture_hover = ExtResource("6_kdplq")
texture_disabled = ExtResource("5_8tyx1")
texture_focused = ExtResource("6_kdplq")
[node name="TextureButton" type="TextureButton" parent="UILayer/UI/HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("7_xwthi")
texture_pressed = ExtResource("8_r6dd1")
texture_hover = ExtResource("8_r6dd1")
texture_disabled = ExtResource("7_xwthi")
texture_focused = ExtResource("8_r6dd1")
[node name="Camera2D" type="Camera2D" parent="."]

View file

@ -0,0 +1,25 @@
[gd_scene load_steps=4 format=3 uid="uid://ctc0arg3efa5k"]
[ext_resource type="PackedScene" uid="uid://ba6afuig8bqrg" path="res://levels/LevelBase.tscn" id="1_ad6qp"]
[ext_resource type="Texture2D" uid="uid://dr4ayedb5xb2k" path="res://textures/file_editor.png" id="2_gwmxk"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qjpxi"]
size = Vector2(1928.3, 529.623)
[node name="LevelBase" instance=ExtResource("1_ad6qp")]
[node name="Sprite2D" type="Sprite2D" parent="." index="1"]
z_index = -1
scale = Vector2(0.6, 0.6)
texture = ExtResource("2_gwmxk")
[node name="Ground" type="Sprite2D" parent="." index="2"]
position = Vector2(15, 644)
scale = Vector2(0.66, 0.66)
texture = ExtResource("2_gwmxk")
[node name="StaticBody2D" type="StaticBody2D" parent="Ground" index="0"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/StaticBody2D" index="0"]
position = Vector2(1.88681, -274.811)
shape = SubResource("RectangleShape2D_qjpxi")

View file

@ -1,34 +0,0 @@
[gd_scene load_steps=6 format=3 uid="uid://o8wdfgnlp0ud"]
[ext_resource type="PackedScene" uid="uid://snxpqx0ony7s" path="res://player.tscn" id="1_nvifn"]
[ext_resource type="PackedScene" uid="uid://dii1q3f5dj72y" path="res://canvas_layer.tscn" id="2_1gnwx"]
[ext_resource type="Texture2D" uid="uid://cyealb63c8uqg" path="res://temp_assets/background_commision.png" id="2_qherw"]
[ext_resource type="Texture2D" uid="uid://bsu1bvlb0s8dp" path="res://temp_assets/Screenshot (1).png" id="3_es5ys"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dqhmf"]
size = Vector2(1928.3, 529.623)
[node name="TestingRoom" type="Node2D"]
[node name="Player" parent="." instance=ExtResource("1_nvifn")]
[node name="Sprite2D" type="Sprite2D" parent="."]
visible = false
z_index = -1
texture = ExtResource("2_qherw")
[node name="Camera2D" type="Camera2D" parent="."]
scale = Vector2(1e-05, 1e-05)
[node name="Ground" type="Sprite2D" parent="."]
position = Vector2(38, 807)
scale = Vector2(1.06, 1.06)
texture = ExtResource("3_es5ys")
[node name="StaticBody2D" type="StaticBody2D" parent="Ground"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/StaticBody2D"]
position = Vector2(1.88681, -274.811)
shape = SubResource("RectangleShape2D_dqhmf")
[node name="CanvasLayer" parent="." instance=ExtResource("2_1gnwx")]

View file

@ -1,9 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://dii1q3f5dj72y"] [gd_scene load_steps=3 format=3 uid="uid://dii1q3f5dj72y"]
[ext_resource type="Shader" path="res://shaders/crt.gdshader" id="2_wxq0n"] [ext_resource type="Shader" path="res://shaders/crt.gdshader" id="1_wsc8u"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_c8ly2"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_c8ly2"]
shader = ExtResource("2_wxq0n") shader = ExtResource("1_wsc8u")
shader_parameter/crt_curve = 0.01 shader_parameter/crt_curve = 0.01
shader_parameter/crt_scan_line_color = 0.178 shader_parameter/crt_scan_line_color = 0.178
shader_parameter/aperture_grille_rate = 0.141 shader_parameter/aperture_grille_rate = 0.141

View file

@ -0,0 +1,19 @@
[gd_scene load_steps=4 format=3 uid="uid://snxpqx0ony7s"]
[ext_resource type="Script" path="res://scripts/player_movement.gd" id="1_a6lhy"]
[ext_resource type="Texture2D" uid="uid://qcx482jc7pqr" path="res://textures/player.png" id="2_sscjv"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jqi2f"]
radius = 9.0
height = 22.0
[node name="Player" type="CharacterBody2D"]
script = ExtResource("1_a6lhy")
jump_count = 1
jump_strength = 600
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_jqi2f")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_sscjv")

View file

@ -1,22 +0,0 @@
[gd_scene load_steps=4 format=3 uid="uid://snxpqx0ony7s"]
[ext_resource type="Script" path="res://scripts/player_movement.gd" id="1_otvu6"]
[ext_resource type="Texture2D" uid="uid://qcx482jc7pqr" path="res://textures/Virus_Player.png" id="2_b0xe3"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jqi2f"]
radius = 9.0
height = 22.0
[node name="Player" type="Node2D"]
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
script = ExtResource("1_otvu6")
speed = 250
jump_count = 1
jump_strength = 600
[node name="Sprite2D" type="Sprite2D" parent="CharacterBody2D"]
texture = ExtResource("2_b0xe3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
shape = SubResource("CapsuleShape2D_jqi2f")

View file

@ -11,9 +11,9 @@ config_version=5
[application] [application]
config/name="GMTK_2024" config/name="GMTK_2024"
run/main_scene="res://levels/TestingRoom.tscn" run/main_scene="res://levels/TestingField.tscn"
config/features=PackedStringArray("4.3", "GL Compatibility") config/features=PackedStringArray("4.3", "GL Compatibility")
config/icon="res://icon.svg" config/icon="res://temp_assets/icon.svg"
[display] [display]
@ -42,6 +42,8 @@ player_jump={
[rendering] [rendering]
textures/canvas_textures/default_texture_filter=0
renderer/rendering_method="gl_compatibility" renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility" renderer/rendering_method.mobile="gl_compatibility"
environment/defaults/default_clear_color=Color(0.785573, 0.700355, 0.83902, 1)
2d/snap/snap_2d_transforms_to_pixel=true 2d/snap/snap_2d_transforms_to_pixel=true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

View file

Before

Width:  |  Height:  |  Size: 994 B

After

Width:  |  Height:  |  Size: 994 B

View file

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://3t2am0l5qvpq" uid="uid://3t2am0l5qvpq"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" path="res://.godot/imported/icon.svg-54b04439b4d8634f76176c472591e9b4.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://icon.svg" source_file="res://temp_assets/icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] dest_files=["res://.godot/imported/icon.svg-54b04439b4d8634f76176c472591e9b4.ctex"]
[params] [params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://b6gxkpy33b88g" uid="uid://2rfdls8oduj1"
path="res://.godot/imported/player.png-f011f11e1b5afaa2c3b0bec051759309.ctex" path="res://.godot/imported/mirror.png-8323ac08430b69a1455e8f58bedfc150.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://temp_assets/player.png" source_file="res://temp_assets/mirror.png"
dest_files=["res://.godot/imported/player.png-f011f11e1b5afaa2c3b0bec051759309.ctex"] dest_files=["res://.godot/imported/mirror.png-8323ac08430b69a1455e8f58bedfc150.ctex"]
[params] [params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View file

@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://bsu1bvlb0s8dp" uid="uid://bfpwj3kaxe1ka"
path="res://.godot/imported/Screenshot (1).png-26ba2769ce1c9804975484893473fb3a.ctex" path="res://.godot/imported/mirror_hovered.png-fa2419b22d10d99c5187ca2e8ecc3d42.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://temp_assets/Screenshot (1).png" source_file="res://temp_assets/mirror_hovered.png"
dest_files=["res://.godot/imported/Screenshot (1).png-26ba2769ce1c9804975484893473fb3a.ctex"] dest_files=["res://.godot/imported/mirror_hovered.png-fa2419b22d10d99c5187ca2e8ecc3d42.ctex"]
[params] [params]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View file

@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://cyealb63c8uqg" uid="uid://c02aqv5sgwvgn"
path="res://.godot/imported/background_commision.png-3f6004e5239a2c4eb926ce75331cca04.ctex" path="res://.godot/imported/scale_down_hovered.png-0778febf7416ccd7c8ca97bc8f162cb4.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://temp_assets/background_commision.png" source_file="res://temp_assets/scale_down_hovered.png"
dest_files=["res://.godot/imported/background_commision.png-3f6004e5239a2c4eb926ce75331cca04.ctex"] dest_files=["res://.godot/imported/scale_down_hovered.png-0778febf7416ccd7c8ca97bc8f162cb4.ctex"]
[params] [params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cw3onignoce3e"
path="res://.godot/imported/scale_up.png-c50833ff329efc91c6234f8910a0feaa.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://temp_assets/scale_up.png"
dest_files=["res://.godot/imported/scale_up.png-c50833ff329efc91c6234f8910a0feaa.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: 6.3 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ckr5hxaqp6s5x"
path="res://.godot/imported/scale_up_hovered.png-090bafae05a1ad3ed19d5bd535718527.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://temp_assets/scale_up_hovered.png"
dest_files=["res://.godot/imported/scale_up_hovered.png-090bafae05a1ad3ed19d5bd535718527.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: 5.2 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://btmck3gpinxo1"
path="res://.godot/imported/scaled_down.png-212f7a95b9c138667b8d044aa8656802.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://temp_assets/scaled_down.png"
dest_files=["res://.godot/imported/scaled_down.png-212f7a95b9c138667b8d044aa8656802.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

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dr4ayedb5xb2k"
path="res://.godot/imported/file_editor.png-df29bf0603480d0e2a8749cfcfa90ea1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://textures/file_editor.png"
dest_files=["res://.godot/imported/file_editor.png-df29bf0603480d0e2a8749cfcfa90ea1.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

Before

Width:  |  Height:  |  Size: 580 B

After

Width:  |  Height:  |  Size: 580 B

View file

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://qcx482jc7pqr" uid="uid://qcx482jc7pqr"
path="res://.godot/imported/Virus_Player.png-4c00daa1e7b5018c0db649deca9e637e.ctex" path="res://.godot/imported/player.png-ce289a19efa81f268b1bb13630e9f80b.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://textures/Virus_Player.png" source_file="res://textures/player.png"
dest_files=["res://.godot/imported/Virus_Player.png-4c00daa1e7b5018c0db649deca9e637e.ctex"] dest_files=["res://.godot/imported/player.png-ce289a19efa81f268b1bb13630e9f80b.ctex"]
[params] [params]