From cb507dd715d39f6b11ccb71ce0af941bd5912cfc Mon Sep 17 00:00:00 2001 From: htoo-aung <113065976+htoo-aung@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:32:57 -0600 Subject: [PATCH] comments --- .godot/editor/editor_layout.cfg | 2 +- .godot/editor/filesystem_cache8 | 40 +++++++++++------- .godot/editor/filesystem_update4 | 5 ++- .godot/editor/script_editor_cache.cfg | 6 +-- .godot/uid_cache.bin | Bin 3408 -> 3952 bytes .../Black_Assassin.png.import | 34 +++++++++++++++ .../Black_Bishop.png.import | 34 +++++++++++++++ .../Black_mage.png.import | 34 +++++++++++++++ .../Black_wizard.png.import | 34 +++++++++++++++ .../White_Assassin.png.import | 34 +++++++++++++++ .../White_Bishop.png.import | 34 +++++++++++++++ .../White_mage.png.import | 34 +++++++++++++++ .../White_wizard.png.import | 34 +++++++++++++++ scripts/scene_manager.gd | 8 +++- 14 files changed, 310 insertions(+), 23 deletions(-) create mode 100644 Assets/Resized Chess Piece Assets/Black_Assassin.png.import create mode 100644 Assets/Resized Chess Piece Assets/Black_Bishop.png.import create mode 100644 Assets/Resized Chess Piece Assets/Black_mage.png.import create mode 100644 Assets/Resized Chess Piece Assets/Black_wizard.png.import create mode 100644 Assets/Resized Chess Piece Assets/White_Assassin.png.import create mode 100644 Assets/Resized Chess Piece Assets/White_Bishop.png.import create mode 100644 Assets/Resized Chess Piece Assets/White_mage.png.import create mode 100644 Assets/Resized Chess Piece Assets/White_wizard.png.import diff --git a/.godot/editor/editor_layout.cfg b/.godot/editor/editor_layout.cfg index 5d847f8..c33d6c1 100644 --- a/.godot/editor/editor_layout.cfg +++ b/.godot/editor/editor_layout.cfg @@ -9,7 +9,7 @@ dock_closed=[] dock_split_2=0 dock_split_3=0 dock_hsplit_1=0 -dock_hsplit_2=335 +dock_hsplit_2=498 dock_hsplit_3=-380 dock_hsplit_4=0 dock_filesystem_h_split_offset=240 diff --git a/.godot/editor/filesystem_cache8 b/.godot/editor/filesystem_cache8 index 13ea80a..f9299da 100644 --- a/.godot/editor/filesystem_cache8 +++ b/.godot/editor/filesystem_cache8 @@ -1,14 +1,14 @@ ea4bc82a6ad023ab7ee23ee620429895 -::res://::1738615874 +::res://::1738616718 icon.svg::CompressedTexture2D::6378281210119878262::1738615861::1738615874::1::::<><>:: -main.tscn::PackedScene::5692118487183161714::1738615861::0::1::::<><>::uid://cu7lkx15lmfww::::res://scenes/scene_manager.tscn +main.tscn::PackedScene::5692118487183161714::1738615882::0::1::::<><>::uid://cu7lkx15lmfww::::res://scenes/scene_manager.tscn README.md::TextFile::-1::1738615861::0::1::::<><>:: ::res://Assets/::1738615861 ::res://Assets/noise/::1738615861 noise2.tres::NoiseTexture2D::5054739835828921764::1738615861::0::1::::<><>:: noise3.tres::NoiseTexture2D::906885015046579772::1738615861::0::1::::<><>:: noise.tres::NoiseTexture2D::1693764769519573005::1738615861::0::1::::<><>:: -::res://Assets/Original size Chess pieces/::1738615861 +::res://Assets/Original size Chess pieces/::1738615874 Black king piece 2.png::CompressedTexture2D::7820367427145083060::1738615861::1738615874::1::::<><>:: Black knight piece.png::CompressedTexture2D::4196515762256027844::1738615861::1738615874::1::::<><>:: Black Pawn Piece 2.png::CompressedTexture2D::2167440687080906934::1738615861::1738615874::1::::<><>:: @@ -19,29 +19,37 @@ White knight piece.png::CompressedTexture2D::8293368904171920332::1738615861::17 White Pawn Piece 2.png::CompressedTexture2D::8915038826611091975::1738615861::1738615874::1::::<><>:: White Queen Piece 2.png::CompressedTexture2D::339041922548181320::1738615861::1738615874::1::::<><>:: White rook piece.png::CompressedTexture2D::6272641373813891014::1738615861::1738615874::1::::<><>:: -::res://Assets/Resized Chess Piece Assets/::1738615861 +::res://Assets/Resized Chess Piece Assets/::1738615995 +Black_Assassin.png::CompressedTexture2D::5410645216483506242::1738615995::1738616719::1::::<><>:: +Black_Bishop.png::CompressedTexture2D::5646954560332560266::1738615995::1738616719::1::::<><>:: Black_king.png::CompressedTexture2D::3691390456247856410::1738615861::1738615874::1::::<><>:: Black_knight.png::CompressedTexture2D::3569790831830215405::1738615861::1738615874::1::::<><>:: +Black_mage.png::CompressedTexture2D::3300084723678353650::1738615995::1738616719::1::::<><>:: Black_Pawn.png::CompressedTexture2D::4947090234957464596::1738615861::1738615874::1::::<><>:: Black_Queen.png::CompressedTexture2D::9042903626319350434::1738615861::1738615874::1::::<><>:: Black_rook.png::CompressedTexture2D::5637903285567075872::1738615861::1738615874::1::::<><>:: +Black_wizard.png::CompressedTexture2D::1278573577066895682::1738615995::1738616719::1::::<><>:: +White_Assassin.png::CompressedTexture2D::700262813566466932::1738615995::1738616719::1::::<><>:: +White_Bishop.png::CompressedTexture2D::3819780629635422360::1738615995::1738616719::1::::<><>:: White_king.png::CompressedTexture2D::5012688985517926395::1738615861::1738615874::1::::<><>:: White_knight.png::CompressedTexture2D::854350289879594279::1738615861::1738615874::1::::<><>:: +White_mage.png::CompressedTexture2D::7265615115782563194::1738615995::1738616719::1::::<><>:: White_Pawn.png::CompressedTexture2D::919180529085242722::1738615861::1738615874::1::::<><>:: White_Queen.png::CompressedTexture2D::4902137832695542513::1738615861::1738615874::1::::<><>:: White_rook.png::CompressedTexture2D::4194129281780453908::1738615861::1738615874::1::::<><>:: -::res://Assets/shaders/::1738615861 -3d_effect.gdshader::Shader::-1::1738615861::0::1::::<><>:: -bg.gdshader::Shader::-1::1738615861::0::1::::<><>:: -color.gdshader::Shader::-1::1738615861::0::1::::<><>:: -shadow.gdshader::Shader::-1::1738615861::0::1::::<><>:: -::res://Assets/sprites/::1738615861 +White_wizard.png::CompressedTexture2D::8734158881343267537::1738615995::1738616719::1::::<><>:: +::res://Assets/shaders/::1738615910 +3d_effect.gdshader::Shader::-1::1738615910::0::1::::<><>:: +bg.gdshader::Shader::-1::1738615910::0::1::::<><>:: +color.gdshader::Shader::-1::1738615910::0::1::::<><>:: +shadow.gdshader::Shader::-1::1738615910::0::1::::<><>:: +::res://Assets/sprites/::1738615874 bishop.png::CompressedTexture2D::4631301773944929250::1738615861::1738615874::1::::<><>:: knight.png::CompressedTexture2D::3545640967717948854::1738615861::1738615874::1::::<><>:: pawn.png::CompressedTexture2D::1338760335342038528::1738615861::1738615874::1::::<><>:: rook.png::CompressedTexture2D::6790909281007670776::1738615861::1738615874::1::::<><>:: tile.png::CompressedTexture2D::8704336058451696509::1738615861::1738615874::1::::<><>:: -::res://Assets/temp_assets/::1738615861 +::res://Assets/temp_assets/::1738615874 black_bishop.png::CompressedTexture2D::7509881182472568151::1738615861::1738615874::1::::<><>:: black_king.png::CompressedTexture2D::3646032776351028361::1738615861::1738615874::1::::<><>:: black_knight.png::CompressedTexture2D::4591257172048987833::1738615861::1738615874::1::::<><>:: @@ -58,15 +66,15 @@ white_knight.png::CompressedTexture2D::7533630084821562912::1738615861::17386158 white_pawn.png::CompressedTexture2D::8196778834906249875::1738615861::1738615874::1::::<><>:: white_queen.png::CompressedTexture2D::1957958042777204643::1738615861::1738615874::1::::<><>:: white_rook.png::CompressedTexture2D::3317152307554436932::1738615861::1738615874::1::::<><>:: -::res://Assets/ui/::1738615861 +::res://Assets/ui/::1738615875 Go_Save_The_King_Menu.jpg::CompressedTexture2D::7252735845995868232::1738615861::1738615875::1::::<><>:: Mockup Gameplay Design.jpg::CompressedTexture2D::4859609684236806088::1738615861::1738615875::1::::<><>:: Mockup Shop Design.jpg::CompressedTexture2D::8043055154093708922::1738615861::1738615875::1::::<><>:: -::res://Assets/ui/title_screen/::1738615861 +::res://Assets/ui/title_screen/::1738615874 play_button.png::CompressedTexture2D::5896995890187459238::1738615861::1738615874::1::::<><>:: quit_button.png::CompressedTexture2D::5172428563227279585::1738615861::1738615874::1::::<><>:: rules_button.png::CompressedTexture2D::8060955005205795067::1738615861::1738615874::1::::<><>:: -::res://scenes/::1738615861 +::res://scenes/::1738615882 Bishop.tscn::PackedScene::2789588702038144760::1738615861::0::1::::<><>::res://scripts/Bishop.gd<>uid://b68o4mj7wcwvq::::res://assets/sprites/bishop.png explosion.tscn::PackedScene::69466253159940830::1738615861::0::1::::<><>:: game.tscn::PackedScene::8577524005707705072::1738615861::0::1::::<><>::res://scripts/game.gd<>res://assets/shaders/bg.gdshader<>uid://yeqb8ndri7xp::::res://assets/noise/noise.tres<>uid://ceas3dsjeq4ge::::res://assets/noise/noise2.tres<>uid://m6ki73qfbp2s::::res://assets/noise/noise3.tres @@ -75,9 +83,9 @@ Knight.tscn::PackedScene::5270730075267457303::1738615861::0::1::::<><>::res://s Pawn.tscn::PackedScene::3675784333675896641::1738615861::0::1::::<><>::res://scripts/Pawn.gd<>uid://ndi1e8thkonq::::res://assets/Resized Chess Piece Assets/White_Pawn.png Queen.tscn::PackedScene::7495869360053814603::1738615861::0::1::::<><>::res://scripts/Queen.gd<>uid://cb3vq168iyomb::::res://assets/Resized Chess Piece Assets/White_Queen.png Rook.tscn::PackedScene::9162401199636684468::1738615861::0::1::::<><>::uid://b00wxxfjk04ke::::res://assets/Resized Chess Piece Assets/White_rook.png -scene_manager.tscn::PackedScene::6243365322716451430::1738615861::0::1::::<><>::res://scripts/scene_manager.gd +scene_manager.tscn::PackedScene::6243365322716451430::1738615882::0::1::::<><>::res://scripts/scene_manager.gd texture_holder.tscn::PackedScene::594714386286134588::1738615861::0::1::::<><>:: -title_screen.tscn::PackedScene::8154710134031658440::1738615861::0::1::::<><>::res://scripts/title_screen/title_screen.gd<>uid://bm8sv1itwm467::::res://scenes/ui/menu_button.tscn +title_screen.tscn::PackedScene::8154710134031658440::1738615882::0::1::::<><>::res://scripts/title_screen/title_screen.gd<>uid://bm8sv1itwm467::::res://scenes/ui/menu_button.tscn ::res://scenes/ui/::1738615861 menu_button.tscn::PackedScene::3297943059633979218::1738615861::0::1::::<><>::res://assets/shaders/3d_effect.gdshader<>res://scripts/title_screen/menu_button.gd ::res://scripts/::1738615861 diff --git a/.godot/editor/filesystem_update4 b/.godot/editor/filesystem_update4 index 9c23c88..3c8cbef 100644 --- a/.godot/editor/filesystem_update4 +++ b/.godot/editor/filesystem_update4 @@ -1,7 +1,8 @@ res://main.tscn -res://assets/shaders/color.gdshader -res://assets/shaders/shadow.gdshader res://assets/shaders/3d_effect.gdshader +res://assets/shaders/shadow.gdshader res://assets/shaders/bg.gdshader +res://assets/shaders/color.gdshader +res://scripts/scene_manager.gd res://scenes/title_screen.tscn res://scenes/scene_manager.tscn diff --git a/.godot/editor/script_editor_cache.cfg b/.godot/editor/script_editor_cache.cfg index a17a5f8..e7f09ef 100644 --- a/.godot/editor/script_editor_cache.cfg +++ b/.godot/editor/script_editor_cache.cfg @@ -143,11 +143,11 @@ state={ state={ "bookmarks": PackedInt32Array(), "breakpoints": PackedInt32Array(), -"column": 26, +"column": 35, "folded_lines": Array[int]([]), "h_scroll_position": 0, -"row": 12, -"scroll_position": 2.0, +"row": 9, +"scroll_position": 17.0, "selection": false, "syntax_highlighter": "GDScript" } diff --git a/.godot/uid_cache.bin b/.godot/uid_cache.bin index 6de5b97a03036df5fb1361021c448acd8a9f5525..f7700cfda40a0fc1db233ad2ac5e4a3f738d70cb 100644 GIT binary patch delta 217 zcmca0^+Ar&V<V$KFUO}DUBQza&*)D6$ZRB-o0y)eSCE%JBO+|B-83dsi^+|whQdyn z#ToepAaSRgt}mXX?-K-xYfp}6VG}OTtV%3O0m*fJPx<b^9Os9SL(*5F6{b-s=4}Pj zC+b*SoLF3(nFrEYQq4Ul@alF>kgTByvP{*|x1WlaT}c5tPG|CaRyMc;FFx{=v-)mY K33ebC!Vv(OKT=@; delta 10 Rcmew$cR`BLVI!kIF8~&114sY> diff --git a/Assets/Resized Chess Piece Assets/Black_Assassin.png.import b/Assets/Resized Chess Piece Assets/Black_Assassin.png.import new file mode 100644 index 0000000..967ca8e --- /dev/null +++ b/Assets/Resized Chess Piece Assets/Black_Assassin.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cjc7sh4hfoqt3" +path="res://.godot/imported/Black_Assassin.png-92f0801c336ab61369a2b93fc5e3abcd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Resized Chess Piece Assets/Black_Assassin.png" +dest_files=["res://.godot/imported/Black_Assassin.png-92f0801c336ab61369a2b93fc5e3abcd.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 diff --git a/Assets/Resized Chess Piece Assets/Black_Bishop.png.import b/Assets/Resized Chess Piece Assets/Black_Bishop.png.import new file mode 100644 index 0000000..35fdc51 --- /dev/null +++ b/Assets/Resized Chess Piece Assets/Black_Bishop.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cmportfufw0sc" +path="res://.godot/imported/Black_Bishop.png-dfabfc0c81260272c753c7f344c2996a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Resized Chess Piece Assets/Black_Bishop.png" +dest_files=["res://.godot/imported/Black_Bishop.png-dfabfc0c81260272c753c7f344c2996a.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 diff --git a/Assets/Resized Chess Piece Assets/Black_mage.png.import b/Assets/Resized Chess Piece Assets/Black_mage.png.import new file mode 100644 index 0000000..cace05a --- /dev/null +++ b/Assets/Resized Chess Piece Assets/Black_mage.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bnat6bynu44je" +path="res://.godot/imported/Black_mage.png-f47f7e890ef040a98dd73453a681ffe1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Resized Chess Piece Assets/Black_mage.png" +dest_files=["res://.godot/imported/Black_mage.png-f47f7e890ef040a98dd73453a681ffe1.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 diff --git a/Assets/Resized Chess Piece Assets/Black_wizard.png.import b/Assets/Resized Chess Piece Assets/Black_wizard.png.import new file mode 100644 index 0000000..8d8a615 --- /dev/null +++ b/Assets/Resized Chess Piece Assets/Black_wizard.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://shl6jsfvn0ta" +path="res://.godot/imported/Black_wizard.png-0afea0808b6267d98cbfc8507751a05e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Resized Chess Piece Assets/Black_wizard.png" +dest_files=["res://.godot/imported/Black_wizard.png-0afea0808b6267d98cbfc8507751a05e.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 diff --git a/Assets/Resized Chess Piece Assets/White_Assassin.png.import b/Assets/Resized Chess Piece Assets/White_Assassin.png.import new file mode 100644 index 0000000..ee067d6 --- /dev/null +++ b/Assets/Resized Chess Piece Assets/White_Assassin.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://j8hhxry8f0ii" +path="res://.godot/imported/White_Assassin.png-b91d29cfa010c3f963e5fe98fea3f7ce.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Resized Chess Piece Assets/White_Assassin.png" +dest_files=["res://.godot/imported/White_Assassin.png-b91d29cfa010c3f963e5fe98fea3f7ce.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 diff --git a/Assets/Resized Chess Piece Assets/White_Bishop.png.import b/Assets/Resized Chess Piece Assets/White_Bishop.png.import new file mode 100644 index 0000000..64b3552 --- /dev/null +++ b/Assets/Resized Chess Piece Assets/White_Bishop.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://buolh1uof3bbc" +path="res://.godot/imported/White_Bishop.png-7213de7b15a92e5747f2331d55eafa2b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Resized Chess Piece Assets/White_Bishop.png" +dest_files=["res://.godot/imported/White_Bishop.png-7213de7b15a92e5747f2331d55eafa2b.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 diff --git a/Assets/Resized Chess Piece Assets/White_mage.png.import b/Assets/Resized Chess Piece Assets/White_mage.png.import new file mode 100644 index 0000000..1d7a061 --- /dev/null +++ b/Assets/Resized Chess Piece Assets/White_mage.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dbrrvccmlyblq" +path="res://.godot/imported/White_mage.png-fdbd721bd126c3ac8c64372cf709b530.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Resized Chess Piece Assets/White_mage.png" +dest_files=["res://.godot/imported/White_mage.png-fdbd721bd126c3ac8c64372cf709b530.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 diff --git a/Assets/Resized Chess Piece Assets/White_wizard.png.import b/Assets/Resized Chess Piece Assets/White_wizard.png.import new file mode 100644 index 0000000..5484f91 --- /dev/null +++ b/Assets/Resized Chess Piece Assets/White_wizard.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dwo5k5y02pe46" +path="res://.godot/imported/White_wizard.png-17abee749f8f28c0cac280088ae22bc1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Resized Chess Piece Assets/White_wizard.png" +dest_files=["res://.godot/imported/White_wizard.png-17abee749f8f28c0cac280088ae22bc1.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 diff --git a/scripts/scene_manager.gd b/scripts/scene_manager.gd index 0975aef..64cef84 100644 --- a/scripts/scene_manager.gd +++ b/scripts/scene_manager.gd @@ -6,12 +6,14 @@ var current_scene = null func _ready() -> void: start_game("res://scenes/title_screen.tscn") - + +# Initial start up scene for client, should be title screen func start_game(scene_path: String) -> void: var new_scene = load(scene_path).instantiate() get_parent().add_child.call_deferred(new_scene) current_scene = new_scene +# Change current scene func change_scene(scene_path: String) -> void: fade_animation.play("fade_out") await fade_animation.animation_finished @@ -24,4 +26,8 @@ func change_scene(scene_path: String) -> void: current_scene = new_scene fade_animation.play("fade_in") + + +func add_scene(scene_path: String) -> void: + pass -- GitLab