mirror of
https://github.com/RPG-Research/bcirpg.git
synced 2024-04-16 14:23:01 +00:00
Change 2 for cleanup
This commit is contained in:
Phase2/Godot_GameCode
CharacterCreation
.import
.gdignore52ukVp.png-53b5a81b9aa8c43fb9bbff36476f1e4f.md552ukVp.png-53b5a81b9aa8c43fb9bbff36476f1e4f.stex52ukVp.png-9fcb79680f073ffcb0df663a29082a8d.md552ukVp.png-9fcb79680f073ffcb0df663a29082a8d.stexagent.png-8b8e1d355fef9de105a39ad739054090.md5agent.png-8b8e1d355fef9de105a39ad739054090.stexagent.png-b423fd963f31ff91c711b7510f1f1f4b.md5agent.png-b423fd963f31ff91c711b7510f1f1f4b.stexarrowsdown.png-d0b27b1acab5e951020dbe79517a8b7d.md5arrowsdown.png-d0b27b1acab5e951020dbe79517a8b7d.stexarrowsleft.png-a5aa1af6e4b0a63cc3ab1a9b95c69ca0.md5arrowsleft.png-a5aa1af6e4b0a63cc3ab1a9b95c69ca0.stexarrowsright.png-c1560d906f076c3a05aee958fe6ded37.md5arrowsright.png-c1560d906f076c3a05aee958fe6ded37.stexarrowsup.png-04b45559af55828187c112d5c50134e1.md5arrowsup.png-04b45559af55828187c112d5c50134e1.stexbar_hp_mp.png-3486052a17f3fe03054aa3bc75623a51.md5bar_hp_mp.png-3486052a17f3fe03054aa3bc75623a51.stexbutton_default.png-f902c6dc42936de5434cd376ba0a1e4e.md5button_default.png-f902c6dc42936de5434cd376ba0a1e4e.stexbutton_small.png-e8356f0455ebe124b7d93742f901adca.md5button_small.png-e8356f0455ebe124b7d93742f901adca.stexbutton_x.png-8978c56000869bf8609fdb90937598d6.md5button_x.png-8978c56000869bf8609fdb90937598d6.stexcheckbox_default.png-ccca1221443b274ae197e3451d512957.md5checkbox_default.png-ccca1221443b274ae197e3451d512957.stexcombobox_default.png-be646e25fffb5d820e23abcc1fc5cbe8.md5combobox_default.png-be646e25fffb5d820e23abcc1fc5cbe8.stexconfirm_bg.png-8c443770e715a168fb1fb20a3026f7cc.md5confirm_bg.png-8c443770e715a168fb1fb20a3026f7cc.stexdead_squirrel_idle.png-1711587465338c4c6bba1e96556267a4.md5dead_squirrel_idle.png-1711587465338c4c6bba1e96556267a4.stexdead_squirrel_idle.png-79e83c8b3e874a35ef20b56c6e017e48.md5dead_squirrel_idle.png-79e83c8b3e874a35ef20b56c6e017e48.stexdead_squirrel_idle_2x.png-396afca2d44506199b7df99bcc4fa5af.md5dead_squirrel_idle_2x.png-396afca2d44506199b7df99bcc4fa5af.stexdead_squirrel_idle_2x.png-50b393fa1788fc4e1012268b15e8584b.md5dead_squirrel_idle_2x.png-50b393fa1788fc4e1012268b15e8584b.stexdialog_box.png-6407c963691a71e0e3d6e688c91e539a.md5dialog_box.png-6407c963691a71e0e3d6e688c91e539a.stexdroog_idle.png-19e80f8a9f07eeb1c19ada06f7efc7b2.md5droog_idle.png-19e80f8a9f07eeb1c19ada06f7efc7b2.stexdroog_idle.png-bf5b516f256ef28ddf56312a185b16ae.md5droog_idle.png-bf5b516f256ef28ddf56312a185b16ae.stexgirl_idle.png-82f86e69a5006eb7b9f1cd0ed06dfc8d.md5girl_idle.png-82f86e69a5006eb7b9f1cd0ed06dfc8d.stexgirl_idle.png-a457d4e79f28a8036cae6d5d6c9a57d7.md5girl_idle.png-a457d4e79f28a8036cae6d5d6c9a57d7.stexgoth_idle.png-02a24278e86b2975e48bfefa95b19054.md5goth_idle.png-02a24278e86b2975e48bfefa95b19054.stexgoth_idle.png-a050cb5dad017840fc5aa19a906de278.md5goth_idle.png-a050cb5dad017840fc5aa19a906de278.stexhi-top-large.png-bfd15ea9f4398bc9a7fd2b5c8f1bd5f7.md5hi-top-large.png-bfd15ea9f4398bc9a7fd2b5c8f1bd5f7.stexhi-top-large.png-febe40c7f6a0aae7de37a10fb8b5c719.md5hi-top-large.png-febe40c7f6a0aae7de37a10fb8b5c719.stexhi-tops_idle.png-43e28ba76ce2534c766d1645385ad3bd.md5hi-tops_idle.png-43e28ba76ce2534c766d1645385ad3bd.stexhi-tops_idle.png-ba4d76b440d6fdd0942d9bd75c437d98.md5hi-tops_idle.png-ba4d76b440d6fdd0942d9bd75c437d98.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stexinput.png-c6b33a191fdad9cb89ab2dbd9166ab75.md5input.png-c6b33a191fdad9cb89ab2dbd9166ab75.stexlistbox_default.png-d7b4f353c891766d5c8dc21d00807112.md5listbox_default.png-d7b4f353c891766d5c8dc21d00807112.stexmenu_xp.png-090c8ee1a0d067c4567a813dd2c1b19b.md5menu_xp.png-090c8ee1a0d067c4567a813dd2c1b19b.stexpunker.png-7168c0b3e9c4a2eea6161c7b6d2917ba.md5punker.png-7168c0b3e9c4a2eea6161c7b6d2917ba.stexpunker.png-fba00f29b61b596a695efcf5cdc738b2.md5punker.png-fba00f29b61b596a695efcf5cdc738b2.stexrourke.png-35e2bfd0491b02390cb9abfd9fe8cb38.md5rourke.png-35e2bfd0491b02390cb9abfd9fe8cb38.stexrourke.png-d266757ec7e5900016c4b1112ee3ab3a.md5rourke.png-d266757ec7e5900016c4b1112ee3ab3a.stexscrollbar_default.png-30cc9c7b21b30befed0c18c1d8a6030a.md5scrollbar_default.png-30cc9c7b21b30befed0c18c1d8a6030a.stexslider_default.png-7b67fe4f9912d113ffb4af17937191d3.md5slider_default.png-7b67fe4f9912d113ffb4af17937191d3.stexyakuza_idle.png-050ea895895b1badd2434a874e27a38e.md5yakuza_idle.png-050ea895895b1badd2434a874e27a38e.stexyakuza_idle.png-309dc192a643f82a85bba990ab3e25cb.md5yakuza_idle.png-309dc192a643f82a85bba990ab3e25cb.stex
Assets
52ukVp.png52ukVp.png.import
random_characters
agent.pngagent.png.importdead_squirrel_idle.pngdead_squirrel_idle.png.importdead_squirrel_idle_2x.pngdead_squirrel_idle_2x.png.importdroog_idle.pngdroog_idle.png.importgirl_idle.pnggirl_idle.png.importgoth_idle.pnggoth_idle.png.importhi-top-large.pnghi-top-large.png.importhi-tops_idle.pnghi-tops_idle.png.importmickey_rourke.gifmickey_rourke_64.gifpunker.pngpunker.png.importrourke.pngrourke.png.importyakuza_idle.pngyakuza_idle.png.import
Global
Scene
Script
default_env.tresicon.pngicon.png.importproject.godotDiceRoller
.import
.gdignoreicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
DiceRoller.gdDiceRoller.tscnDie.gdDieManager.gddefault_env.tresicon.pngicon.png.importproject.godotExperiments
Andrew_Multiplayer_Test
.import
.gdignoreicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
But_ChangeScene.gdGlobal.gdNetwork.gdNetwork_Setup.gdNetwork_Setup.tscnPlayer.gdPlayer.tscnPlayers.tscnRoom_Creation.gdRoom_Creation.tscnRoom_Join.gdRoom_Join.tscndefault_env.tresicon.pngicon.png.importproject.godotDoug
rpgr_gameWork_20211024A
.import
background_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Control.tscnScreens
AddCharacter_temp.tscnLoadGame_temp.tscnMenuScreen.tscnMultiplayer_temp.tscnNewGame_temp.tscnSettings.tscnSettingsInitialize.gdinputText.gd
UserInterface
_toArchive
assets
background_demo.pngbackground_demo.png.importbase_dynamicFont_BIG.tresbase_dynamicfont.tresl_10646.ttfui_theme.tresui_title_theme.tres
default_env.tresglobalScripts
icon.pngicon.png.importproject.godotrpgr_gameWork_20211114A
.import
background_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Control.tscnGame.gdGame.tscnScreens
AddCharacter_temp.tscnLoadGame_temp.tscnMenuScreen.tscnMultiplayer_temp.tscnNewGame_temp.tscnSettings.tscnSettingsInitialize.gdinputText.gd
UserInterface
But_ChangeScene.gdBut_ChangeScene.tscnBut_Quit.gdBut_Quit.tscnBut_SaveSettings.gdInputResponse.gdInputResponse.tscnTitle.tscn
_toArchive
assets
background_demo.pngbackground_demo.png.importbase_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfui_theme.tresui_title_theme.tres
default_env.tresglobalScripts
icon.pngicon.png.importproject.godotrpgr_gameWork_20220102A
.import
background_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
But_History.gdBut_History_Page.gdCommandProcessor.gdControl.tscnGame.gdGame.tscnLocale.gdLocale.tscnLocaleManager.gdREADME.txtScreens
AddCharacter_temp.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMultiplayer_temp.tscnNewGame_temp.tscnSettings.tscnSettingsInitialize.gdinputText.gd
UserInterface
But_ChangeScene.gdBut_ChangeScene.tscnBut_Quit.gdBut_Quit.tscnBut_SaveSettings.gdHistoryRows.gdInputResponse.gdInputResponse.tscnResponse.tscnTitle.tscn
_toArchive
assets
background_demo.pngbackground_demo.png.importbase_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfui_theme.tresui_title_theme.tres
default_env.tresglobalScripts
icon.pngicon.png.importproject.godotrpgr_gameWork_20220213A
.import
background_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
But_History.gdBut_History_Page.gdCommandProcessor.gdControl.tscnGame.gdGame.tscnLocale.gdLocale.tscnLocaleManager.gdREADME.txtScreens
AddCharacter_temp.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMultiplayer_temp.tscnNewGame_temp.tscnSettings.tscnSettingsInitialize.gdinputText.gd
UserInterface
But_ChangeScene.gdBut_ChangeScene.tscnBut_Quit.gdBut_Quit.tscnBut_SaveSettings.gdInputResponse.gdInputResponse.tscnResponse.tscnTitle.tscn
_toArchive
assets
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
background_demo.pngbackground_demo.png.importbase_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_theme.tresui_title_theme.tresglobalScripts
icon.pngicon.png.importproject.godotImportCharacter
.import
.gdignoreBackground_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Control.tscnREADME.txtSettings.gd_toArchive
ui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tres
assets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
background_demo.pngbackground_demo.png.importbase_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_theme.tresui_title_theme.tresscreens
ImportCharacter.tscnLoadGame.tscnMenuScreen.gdMenuScreen.tscnMultiplayer.tscnNewGame.tscnSettings.tscnSettingsMenuScreen.tscnTemp_Button.gdgrabFocus.gd
userInterface
MainMenu
GodotUserInterface-Bakhtawar
MainMenu.gdMainMenu.tscnNewGame.gdNewGame.tscnSaveLoad.gdSaveLoad.tscnSettings.gdSettings.tscnStartGame.gdStartGame.tscndefault_env.tresicon.pngicon.png.importnew_dynamicfont.tresproject.godot
GodotUserInterface_Dario
startGameMenu
.import
ItemList.gdicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stexmainScene.gdmainScene.tscn
Button.gdButton.tscnaddCharacter.tscndefault_env.tresicon.pngicon.png.importloadGame.tscnmultiplayer.tscnnewGame.tscnproject.godotsettings.tscnstartGameMenu2(aestheticsOnly)
GodotUserInterface_Doug
bcirpg_mainMenu_20220220A
.import
.gdignoreBackground_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Control.tscnREADME.txt_toArchive
ui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tres
assets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
background_demo.pngbackground_demo.png.importbase_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_theme.tresui_title_theme.tresscreens
AddCharacter_temp.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMultiplayer_temp.tscnNewGame_temp.tscnSettings_temp.tscnTemp_Button.gdgrabFocus.gd
userInterface
GodotUserInterface_Luke
.import
.gdignoreicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Actor.gdDataStore
Date.gdDie.gdGUI.gdGUI.tscnGame.tscnHostAndJoinGame.gdMenu.gdOpenSans-Bold.ttfOpenSans-BoldItalic.ttfOpenSans-ExtraBold.ttfOpenSans-ExtraBoldItalic.ttfOpenSans-Italic.ttfOpenSans-Light.ttfOpenSans-LightItalic.ttfOpenSans-Medium.ttfOpenSans-MediumItalic.ttfOpenSans-Regular.ttfOpenSans-SemiBold.ttfOpenSans-SemiBoldItalic.ttfOpen_Sans
LICENSE.txtOpenSans-Italic-VariableFont_wdth,wght.ttfOpenSans-VariableFont_wdth,wght.ttfREADME.txt
Player_Settings_Button.gdSaveAndLoadGame.gdstatic
OpenSans_Condensed
OpenSans-Bold.ttfOpenSans_Condensed-Bold.ttfOpenSans_Condensed-BoldItalic.ttfOpenSans_Condensed-ExtraBold.ttfOpenSans_Condensed-ExtraBoldItalic.ttfOpenSans_Condensed-Italic.ttfOpenSans_Condensed-Light.ttfOpenSans_Condensed-LightItalic.ttfOpenSans_Condensed-Medium.ttfOpenSans_Condensed-MediumItalic.ttfOpenSans_Condensed-Regular.ttfOpenSans_Condensed-SemiBold.ttfOpenSans_Condensed-SemiBoldItalic.ttf
OpenSans_SemiCondensed
OpenSans_SemiCondensed-Bold.ttfOpenSans_SemiCondensed-BoldItalic.ttfOpenSans_SemiCondensed-ExtraBold.ttfOpenSans_SemiCondensed-ExtraBoldItalic.ttfOpenSans_SemiCondensed-Italic.ttfOpenSans_SemiCondensed-Light.ttfOpenSans_SemiCondensed-LightItalic.ttfOpenSans_SemiCondensed-Medium.ttfOpenSans_SemiCondensed-MediumItalic.ttfOpenSans_SemiCondensed-Regular.ttfOpenSans_SemiCondensed-SemiBold.ttfOpenSans_SemiCondensed-SemiBoldItalic.ttf
SaveSystem
Start Game.gdTestNode2D.gdTestNode2D.tscnWorld.gdWorldObject.gdaddons
godot-sqlite
bin
android
ios
javascript
osx
win64
x11
GodotUserInterface_Luke_Settings
bcirpg_settingsMenuLuke
.import
.gdignoreBackground_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
But_ChangeScene.gdControl.tscnREADME.txt_toArchive
ui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tres
assets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
background_demo.pngbackground_demo.png.importbase_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresdarktheme_opacity.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.treslighttheme_opacity.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_theme.tresui_title_theme.tresdynamic_popups
icon.pngicon.png.importplayerSettingsTemplate.gdproject.godotscreens
AddCharacter_temp.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMultiplayer_temp.tscnNewGame_temp.tscnNewSettingsMenu.tscnSettingsMenuControl.tscnSettingsMenuScreen.tscnSettings_temp.tscnTemp_Button.gdgrabFocus.gd
settings
userInterface
MergedDemo
Doug
bcirpg_mergedDemo_20220814A
.import
Background_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Control.tscnREADME.txtTestingFiles
UserData
_toArchive
characterFiles
ui_controlNode_dark_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tresassets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
base_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresgamePlay
But_History.gdBut_History_Page.gdBut_MoreOptions.gdCommandProcessor.gdGame.gdGame.tscnLocaleManager.gd
globalScripts
PlayerCharacter.gdgameCurrent.gdglobalSaveInstance.gdhistory.gdhistoryScreensTemplate.gdplayerCharacterTemplate.gdplayerSettingsTemplate.gd
icon.pngicon.png.importproject.godotscreens
But_HistoryPager.gdCharacter_Add.gdCharacter_Add.tscnCharacter_Load.gdCharacter_Load.tscnHistoryViewer.gdHistoryViewer.tscnImportCharacter.gdImportCharacter.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMoreOptions.gdMoreOptions.tscnMultiplayer_temp.tscnNewGame_temp.tscnPlayerSelection.gdPlayerSelection.tscnSettingsMenuConfig.gdSettingsMenuControl.tscnSettings_temp.tscnTemp_Button.gdgrabFocus.gd
userInterface
bcirpg_mergedDemo_20220904A
.import
.gdignoreBackground_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stextestingCSVCharFile.csv-f593f5b4d0df687ec2043eb45dbff294.md5
Control.tscnREADME.txt_toArchive
characterFiles
ui_controlNode_dark_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tresassets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
base_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresgamePlay
But_History.gdBut_History_Page.gdBut_MoreOptions.gdBut_Option.tscnCommandProcessor.gdGame.gdGame.tscnLocaleManager.gd
globalScripts
PlayerCharacter.gdgameCurrent.gdglobalSaveInstance.gdhistory.gdhistoryScreensTemplate.gdplayerCharacterTemplate.gdplayerSettingsTemplate.gd
icon.pngicon.png.importproject.godotscreens
But_HistoryPager.gdCharacter_Add.gdCharacter_Add.tscnCharacter_Load.gdCharacter_Load.tscnHistoryViewer.gdHistoryViewer.tscnImportCharacter.gdImportCharacter.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMoreOptions.gdMoreOptions.tscnMultiplayer_temp.tscnNewGame_temp.tscnPlayerSelection.gdPlayerSelection.tscnSettingsMenuConfig.gdSettingsMenuControl.tscnTemp_Button.gdgrabFocus.gd
userInterface
bcirpg_mergedDemo_20220911A
.godot
.gdignoreuid_cache.bin
editor
Character_Add.tscn-editstate-6c42bb16d3bd4b9af03632317c40e7e4.cfgCharacter_Add.tscn-folding-6c42bb16d3bd4b9af03632317c40e7e4.cfgCharacter_Load.tscn-editstate-cbec39b3abf33d161175b1ba71844ac5.cfgCharacter_Load.tscn-folding-cbec39b3abf33d161175b1ba71844ac5.cfgDiceRoller.gd-folding-8afbd7fc73a9f9f812dfcaaf30f30588.cfgDieManager.gd-folding-6f2524136db8a2de875185fc3d8e32f5.cfgHistoryViewer.tscn-editstate-5b014fa15b6b18c43d610d042330b9f9.cfgHistoryViewer.tscn-folding-5b014fa15b6b18c43d610d042330b9f9.cfgImportCharacter.tscn-editstate-8252b4ecd57f64a7f5ecd55dfee98ec8.cfgImportCharacter.tscn-folding-8252b4ecd57f64a7f5ecd55dfee98ec8.cfgLiberationSerif-Bold.ttf-1bd0842ec1ed8f2280c344465f4c735c.fontdata-folding-b8ac8507f8fc0ce13edd188d147eb90e.cfgLiberationSerif-BoldItalic.ttf-b9fea0bd1fc08bcb5abcc08df063c25d.fontdata-folding-a74c92229290540fa6dca677f88eb7e3.cfgLiberationSerif-Italic.ttf-b1899d55c9838ffb42dc88f0f1560aab.fontdata-folding-3e081ab284366e2b1ad09a7de54c5301.cfgLiberationSerif-Regular.ttf-39b6cd17bb22b42493dad03528c51257.fontdata-folding-e96fa35d8f846a14f08de16bf698a9da.cfgMenuScreen.tscn-editstate-6698de75e0d1732890486af5bfe1cbf2.cfgMenuScreen.tscn-folding-6698de75e0d1732890486af5bfe1cbf2.cfgMoreOptions.tscn-editstate-e802b78a616674ced820bc6378b4aa52.cfgMoreOptions.tscn-folding-e802b78a616674ced820bc6378b4aa52.cfgMultiplayer_temp.tscn-editstate-bf7994132a687b10ef3487feb117397c.cfgMultiplayer_temp.tscn-folding-bf7994132a687b10ef3487feb117397c.cfgNewGame_temp.tscn-editstate-08dfc7f17d68e870b52a57ea6e72071c.cfgNewGame_temp.tscn-folding-08dfc7f17d68e870b52a57ea6e72071c.cfgPlayerSelection.tscn-editstate-4bcaead45c177a1b0c650147037dcdda.cfgPlayerSelection.tscn-folding-4bcaead45c177a1b0c650147037dcdda.cfgSettingsMenuControl.tscn-editstate-dbe9e0f61ce6c10ce7c25c51053cee04.cfgSettingsMenuControl.tscn-folding-dbe9e0f61ce6c10ce7c25c51053cee04.cfgeditor_layout.cfgfilesystem_cache8filesystem_update4l_10646.ttf-c73edcc0131718c450dc8e9faaba5f56.fontdata-folding-e3c7656d9aae8ee3ccf60552ffedbae7.cfgl_10646.ttf-e6ca2966b857cc1496cc02006b57e66e.fontdata-folding-7e9214ed46e9fb8835b92272bb15e2b5.cfgproject_metadata.cfgrecent_dirsscript_editor_cache.cfgtestingCSVCharFile.en.translation-folding-5dce5df60c1079c981050a37652eaaf0.cfg
global_script_class_cache.cfgimported
Background_black.png-56039c85507f66e5b636dc3622fcd7f0.ctexBackground_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.ctexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5LiberationSerif-Bold.ttf-1bd0842ec1ed8f2280c344465f4c735c.fontdataLiberationSerif-Bold.ttf-1bd0842ec1ed8f2280c344465f4c735c.md5LiberationSerif-BoldItalic.ttf-b9fea0bd1fc08bcb5abcc08df063c25d.fontdataLiberationSerif-BoldItalic.ttf-b9fea0bd1fc08bcb5abcc08df063c25d.md5LiberationSerif-Italic.ttf-b1899d55c9838ffb42dc88f0f1560aab.fontdataLiberationSerif-Italic.ttf-b1899d55c9838ffb42dc88f0f1560aab.md5LiberationSerif-Regular.ttf-39b6cd17bb22b42493dad03528c51257.fontdataLiberationSerif-Regular.ttf-39b6cd17bb22b42493dad03528c51257.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.ctexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5icon.png-487276ed1e3a0c39cad0279d744ee560.ctexicon.png-487276ed1e3a0c39cad0279d744ee560.md5l_10646.ttf-c73edcc0131718c450dc8e9faaba5f56.fontdatal_10646.ttf-c73edcc0131718c450dc8e9faaba5f56.md5l_10646.ttf-e6ca2966b857cc1496cc02006b57e66e.fontdatal_10646.ttf-e6ca2966b857cc1496cc02006b57e66e.md5testingCSVCharFile.csv-3b5525eef03e325be0c14b7381c8663a.md5
shader_cache
BlitShaderRD
99ba2ae94a02f3be1fa450ba96170e265220a7c12d195763a9429f5267b95de1
BokehDofShaderRD
4a58ef73c632ec99e5e61c2134d069312d505570e4e05e4b19cc3a6da3fd6d89
CanvasOcclusionShaderRD
1917eb212a0fc35ea43ec838ceee16e0ae972c93764744991bbef5576e954df3
CanvasSdfShaderRD
f5892aad982ca3924097c1a6a746c15dad14187bcdc3facfad468f789129f7f0
CanvasShaderRD
b026795213f20743fcf8567e46486ddd7c0d10af7425657bfbb717da5144d0e5
087916079fba7c625e62b0c2cca570e0fb87c99a.cache6c94b25d75b1ec58f806edc8e65c2a35743ad557.cache86b4b6d51b4a45af6d7a93cd8ccd2af80a156da9.cache98676c93f49a619be763bf730c8db104e1e3ad96.cache9d0533530a382e64370fc542a58d7fdac6c773bd.cachea444689c2f13418983bd978ab522bd863aed69c5.cachecfbe819c6b55623a3cfeaf8d0ab83aeaa2d48269.cacheeaf44e18cd01e1dcdf84a400c6fbe82c311d34e7.cache
ClusterDebugShaderRD
f161e029bc24e6ff6a0f41aeea7ff41d9a938701aa9f79516043844d0e1712af
ClusterRenderShaderRD
0d635d072c3f1556ae0130a8ee966dd8b4e377780fac401a48307d786bb55f2e
ClusterStoreShaderRD
65e05dd113093f9ce5b00d9cf9dd1e96afa745cc00fef54196473690aff77e17
CopyShaderRD
0febf21d333add1d7d24047f0655823ec951ebe5058ec5cd527979f0bff2b69f
CopyToFbShaderRD
7ab54756423e4e900d688282fefc540aabaae3942d7802f13c2d4f0484ec885d
CubeToDpShaderRD
2283fb1ee3168f04e524dcce7dcb3bfe86e228eb2a51b0ade992821a3b925829
CubemapDownsamplerShaderRD
7bc5ba8e09180e4ec9447354417c001ff39ef0b9793e4dd91700a3157c02c8fd
CubemapFilterShaderRD
95c38c07d3122c4433cde607db0de663b66f7247ef981467dd3f85381d79c5d9
CubemapRoughnessShaderRD
9717bdf042552cb9ba3beee9738dc100dc73e411f28ec114137500c84905f134
FsrUpscaleShaderRD
c50814dea7a49e602939f2245889af56e5b2dc1af34261e00b7de08e8f3bda74
GiShaderRD
e8a16c7f72722dd04131fa37dcfcf70283db0a5a8423ca4b6be82b9cb12c19fb
LuminanceReduceShaderRD
015a6933ef0d229994836762e2577b2724e81f0c19532d6d9970829ac6d5b8c3
ParticlesCopyShaderRD
a63f9c6838e1a15082bcb4f6a15985e16b540aa82211dadeef707067ca48fb91
ParticlesShaderRD
48caad4a6fa190a9859479b30e6351f6f2838c48df3c407d02bab0164d307994
ResolveShaderRD
faa53662dbbcc0c3ab2d70f22e221f23fa43ee0fe92651b40d7b4421e7e2c252
RoughnessLimiterShaderRD
1207dc7bbd38c565aec7562b6632b8e8908298c5c7c358f7141228ac62b8b0f4
SceneForwardClusteredShaderRD
37bd93d04c3f16e05ef0695b9054a253efa81023242c56bf37e88f72f5d03a6b
118ba36f6ebd3257d0e24fef9b5c1f403c461a66.cache1344ce3d77ef72d56eef3c9cd0d5417bdd0a4b13.cache3c2004ff2f4cb10be32eecce3aef58999f3a3c00.cache3d0d92e506ebed59ea8f1359f384dea3a9c607db.cache56b5925a2b0572c2ded75f0fcb579c223484ca13.cache5e1ddc0dfdfa4a0280e0bd9cfc3279252e3c7973.cache7e6f09e567701e5ed403065b0ec9125225432ba4.cache84f3bfa29ba52d036ccb227b544f4212261b97e7.cache8c405797d04cff2252b29dc660af5eda3a9bef6a.cache8d29d1fcc64ce2d8b7ed49c901c65a91146fbb76.cache90d1f2dc8493a4c954ba463e0fb3e0232f84d84d.cache9909cf38417b9edb6e5a64b31241317810757356.cache9bac24b6b27ed3d77e750d66523fc854f8d3e4d8.cache9daebd2e9a93be48c2f780ac379da9f156a37fc1.cached5380b6ac7ee6d22bc98457496eb4495a49b1c6f.cachef56c506d48f920a47e552ed6cf6059536156a939.cache
ScreenSpaceReflectionFilterShaderRD
4f2d05d4e601a88d1a4d77680183e028115b81906827b01ab68a0774a3ec080f
ScreenSpaceReflectionScaleShaderRD
c52c97e96639ebb5a058bed56d71fc605ee7b8d062bf982e26f9afa03ec8d443
ScreenSpaceReflectionShaderRD
46b209eb3ef72a72c0271c86c0c11eebbf970d5bfb909c84ebb9a1702b277ce4
SdfgiDebugProbesShaderRD
ed06fbaa2f7b20b949bcfa617360857e90f17258db694a8b1989f852ed2b5b13
SdfgiDebugShaderRD
d81f00cbf521e0782a76acabc125cd0c9132374f8d136f5c7821aa7353c011b6
SdfgiDirectLightShaderRD
88c07dd2aae8b90fae80f762a3485aaa436c6d4470c19b11464432705d1e5b03
SdfgiIntegrateShaderRD
d4f2a5da6e8b17e069e5b2cbf2f0153b33b07375df47b1e6504818707099ac2a
SdfgiPreprocessShaderRD
d57715db8236350dc081a375e01a8393e1ee1d1789f486d824ef15377b948c65
SkeletonShaderRD
a23c8956bc6130740feb3de951c0db2de6a302bc60521c55a67aa9414a3bd95e
SkyShaderRD
1dcdb298fb86f75a04ad5069ab9d56aaab8ce7ac9f8830004bbb3db058fb21bd
SortShaderRD
cd50b38768ec41030fc9772db0a3f87abcb848d32a2b6b32406ed3f10080bd04
SpecularMergeShaderRD
d8596a535982275ac6b1647cf33df1e0dc7101e3424167806c616d077e8cf653
SsEffectsDownsampleShaderRD
c4e4c6a411e26c00d2fd0787edc417a5e1b43ab29209e8819e4464599097522c
SsaoBlurShaderRD
6470ed633c0ee556faee543aff79363d0ed025f960c4b63cc58188e6030ae802
SsaoImportanceMapShaderRD
13ccbbdbcc808d3da00b5423f3b7e547899dc52aebf3e84f3ea67fb76170a21c
SsaoInterleaveShaderRD
18013bef723264e74bc3d168788d8c948773f066ce86e52206f52d6b2adcb831
SsaoShaderRD
21dca312274f32e2e1485e82296a4308499148eb235e12866cd3f98313139f0f
SsilBlurShaderRD
d643ead067ce16586aa57ea0aed13ff11545e24ee60cb4b06b176e7b3642158b
SsilImportanceMapShaderRD
7d5d4ffeb2f994b509e8bf107bd555d5c10d3f7d2791074a478aa4c0650c49d2
SsilInterleaveShaderRD
d8a50a6441e5ffc6c0ed10fe01414f9ce9105002527fd733cdb15a856cb6d976
SsilShaderRD
e4f7cc74045ee68d50537c803a8720a73284d107998b75f93d7e444bdcdf9ad8
SubsurfaceScatteringShaderRD
377cea4368d32b7809a50efb2eee07b6c8e12268863413129da21435a73e7ef5
TaaResolveShaderRD
52e46e836b2917ed1afea3d3b95ce5a4998e10a1091bedbd1cb371611ae96cbc
TonemapShaderRD
97129f7317b0bbf5444bb8fe5b4062b76309eb51809f1926d18b15c5f308bba0
VolumetricFogProcessShaderRD
60957a5fa6cb31b11534e809316d052e25066b8c2ac1e26a80c5ef3715d489a4
VolumetricFogShaderRD
1ad98d4d9fbd3d94208c263a5f6894738c213c8ad931b3d6c06b27b9106ea476
VoxelGiDebugShaderRD
45ed0ddc1719346a2471721ba619a959927db3f64ac5dd37268f60426b94838d
VoxelGiShaderRD
bc8a0992566e06e6aefe2fd61953460c69db38886bfdd36e7c435bfec37db25c
.import
Background_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stextestingCSVCharFile.csv-3b5525eef03e325be0c14b7381c8663a.md5testingCSVCharFile.csv-f593f5b4d0df687ec2043eb45dbff294.md5
Control.tscnREADME.txt_toArchive
CommandProcessor.gdLocaleManager.gd
characterFiles
ui_controlNode_dark_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tres_userFiles
assets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-Bold.ttf.importLiberationSerif-BoldItalic.ttfLiberationSerif-BoldItalic.ttf.importLiberationSerif-Italic.ttfLiberationSerif-Italic.ttf.importLiberationSerif-Regular.ttfLiberationSerif-Regular.ttf.importl_10646.ttfl_10646.ttf.import
base_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfl_10646.ttf.importliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresgamePlay
But_History.gdBut_History_Page.gdBut_MoreOptions.gdBut_Option.tscnCommandProcessor.gdGame.gdGame.tscnLocaleManager.gd
globalScripts
DiceRoller.gdDie.gdDieManager.gdPlayerCharacter.gdgameCurrent.gdglobalSaveInstance.gdhistory.gdhistoryScreensTemplate.gdplayerCharacterTemplate.gdplayerSettingsTemplate.gd
icon.pngicon.png.importproject.godotscreens
But_HistoryPager.gdCharacter_Add.gdCharacter_Add.tscnCharacter_Load.gdCharacter_Load.tscnHistoryViewer.gdHistoryViewer.tscnImportCharacter.gdImportCharacter.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMoreOptions.gdMoreOptions.tscnMultiplayer_temp.tscnNewGame_temp.tscnPlayerSelection.gdPlayerSelection.tscnSettingsMenuConfig.gdSettingsMenuControl.tscnTemp_Button.gdgrabFocus.gd
userInterface
MergedMaster
bcirpg_mergedMaster_20220918A
.import
Background_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stextestingCSVCharFile.csv-3b5525eef03e325be0c14b7381c8663a.md5testingCSVCharFile.csv-f593f5b4d0df687ec2043eb45dbff294.md5testingCSVCharFile_bci-rpg_sris_test001.csv-f11e3014c5f532cebe292d8a0c0fe994.md5testingCSVCharFile_libre.csv-5f6504cbf1f30a08b14f6ec81a2ab67a.md5testingCSVCharFile_rolemaster_test001.csv-a8d5ee41d18a2c524211a0566ead006c.md5
Control.tscnREADME.txt_toArchive
CommandProcessor.gdLocaleManager.gd
characterFiles
ui_controlNode_dark_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tres_userFiles
Module_Demo_001.jsonPlayerPreferences.cfg
characterFiles
testingCSVCharFile.csvtestingCSVCharFile.csv.importtestingCSVCharFile.en.translationtestingCSVCharFile_bci-rpg_sris_test001.csvtestingCSVCharFile_bci-rpg_sris_test001.csv.importtestingCSVCharFile_bci-rpg_sris_test001.en.translationtestingCSVCharFile_libre.csvtestingCSVCharFile_libre.csv.importtestingCSVCharFile_libre.en.translationtestingCSVCharFile_rolemaster_test001.csvtestingCSVCharFile_rolemaster_test001.csv.importtestingCSVCharFile_rolemaster_test001.en.translation
assets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
base_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresgamePlay
globalScripts
DiceRoller.gdDie.gdDieManager.gdPlayerCharacter.gdgameCurrent.gdglobalSaveInstance.gdhistory.gdhistoryScreensTemplate.gdplayerCharacterTemplate.gdplayerSettingsTemplate.gd
icon.pngicon.png.importproject.godotscreens
But_HistoryPager.gdCharacter_Add.gdCharacter_Add.tscnCharacter_Load.gdCharacter_Load.tscnHistoryViewer.gdHistoryViewer.tscnImportCharacter.gdImportCharacter.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMoreOptions.gdMoreOptions.tscnMultiplayer_temp.tscnNewGame_temp.tscnPlayerSelection.gdPlayerSelection.tscnSettingsMenuConfig.gdSettingsMenuControl.tscnTemp_Button.gdgrabFocus.gd
userInterface
bcirpg_mergedMaster_20220918ALuke
.import
.gdignoreBackground_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexCharacterOutput.csv-6828cb1a69df1af9479e2aa693ac7602.md5Template.csv-f248b3401a97fc55d69177d777df35f5.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stextestingCSVCharFile.csv-3b5525eef03e325be0c14b7381c8663a.md5testingCSVCharFile.csv-f593f5b4d0df687ec2043eb45dbff294.md5
Control.tscnREADME.txt_toArchive
CommandProcessor.gdLocaleManager.gd
characterFiles
ui_controlNode_dark_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tres_userFiles
CharacterOutput.csvCharacterOutput.csv.importModule_Demo_001.jsonPlayerPreferences.cfg
characterFiles
assets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
base_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresgamePlay
globalScripts
DiceRoller.gdDie.gdDieManager.gdPlayerCharacter.gdgameCurrent.gdglobalSaveInstance.gdhistory.gdhistoryScreensTemplate.gdplayerCharacterTemplate.gdplayerSettingsTemplate.gd
icon.pngicon.png.importproject.godotscreens
But_HistoryPager.gdCharacter_Add.gdCharacter_Add.tscnCharacter_Load.gdCharacter_Load.tscnHistoryViewer.gdHistoryViewer.tscnImportCharacter.gdImportCharacter.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMoreOptions.gdMoreOptions.tscnMultiplayer_temp.tscnNewGame_temp.tscnPlayerSelection.gdPlayerSelection.tscnSettingsMenuConfig.gdSettingsMenuControl.tscnTemp_Button.gdgrabFocus.gd
userInterface
Multiplayer
.import
.gdignoreBackground_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Control.tscnREADME.txtSettings.gd_toArchive
ui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tres
assets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
background_demo.pngbackground_demo.png.importbase_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_theme.tresui_title_theme.tresscreens
AddCharacter_temp.tscnJoinRoom.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMultiplayer.tscnNewGame_temp.tscnNewRoom.tscnSettingsMenuScreen.tscnSettings_temp.tscnSpinBox.gdTemp_Button.gdgrabFocus.gd
userInterface
NewGame
Doug
bcirpg_newGame_20220227A
.import
.gdignoreBackground_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Control.tscnREADME.txt_toArchive
characterFiles
ui_controlNode_dark_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tresassets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
base_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresgamePlay
But_History.gdBut_History_Page.gdBut_MoreOptions.gdCommandProcessor.gdGame.gdGame.tscnLocaleManager.gd
globalScripts
icon.pngicon.png.importproject.godotscreens
AddCharacter_temp.tscnBut_HistoryPager.gdCharacter_Add.gdCharacter_Add.tscnCharacter_Load.gdCharacter_Load.tscnHistoryViewer.gdHistoryViewer.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMoreOptions.gdMoreOptions.tscnMultiplayer_temp.tscnNewGame_temp.tscnPlayerSelection.gdPlayerSelection.tscnSettings_temp.tscnTemp_Button.gdgrabFocus.gd
userInterface
Resolving ties
.import
.gdignoreicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stexicons8-reset-50.png-71e4ab05e2ac56cb1c906522bba8befc.md5icons8-reset-50.png-71e4ab05e2ac56cb1c906522bba8befc.stexok-button.png-99534f8614d55282ebd043cd5e696357.md5ok-button.png-99534f8614d55282ebd043cd5e696357.stex
Assets
Scene
Script
default_env.tresicon.pngicon.png.importproject.godotSettings
GodotUserInterface_Luke_Settings
bcirpg_settingsMenuLuke
bcirpg_move
.import
.gdignoreBackground_black.png-56039c85507f66e5b636dc3622fcd7f0.md5Background_black.png-56039c85507f66e5b636dc3622fcd7f0.stexBackground_black.png-5f076dc51f49c2d5a7007d49260388b4.md5Background_black.png-5f076dc51f49c2d5a7007d49260388b4.stexBackground_white.png-092c9ce605239bda8605597c05979c3a.md5Background_white.png-092c9ce605239bda8605597c05979c3a.stexBackground_white.png-90278c2837a8c1d366dff638eb6d5498.md5Background_white.png-90278c2837a8c1d366dff638eb6d5498.stexbackground_demo.png-bf78baa5e40d24f1836aa08964398dec.md5background_demo.png-bf78baa5e40d24f1836aa08964398dec.stexbackground_demo.png-e30ac367b3596013bad15f6d4bbea075.md5background_demo.png-e30ac367b3596013bad15f6d4bbea075.stexicon.png-487276ed1e3a0c39cad0279d744ee560.md5icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Control.tscnREADME.txtSettings.gd_toArchive
ui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_light_but_theme.tresui_theme.tresui_title_theme.tres
assets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
background_demo.pngbackground_demo.png.importbase_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tresui_gameplay_big_theme.tresui_gameplay_theme.tresui_highContrast_but_theme.tresui_theme.tresui_title_theme.tresscreens
AddCharacter_temp.tscnLoadGame_temp.tscnMenuScreen.gdMenuScreen.tscnMultiplayer_temp.tscnNewGame_temp.tscnSettingsMenuScreen.tscnSettings_temp.tscnTemp_Button.gdgrabFocus.gd
userInterface
Themes
README.md
assets
Backgrounds
Background_black.pngBackground_black.png.importBackground_white.pngBackground_white.png.importbackground_demo.pngbackground_demo.png.import
Fonts_source
LiberationSerif-Bold.ttfLiberationSerif-BoldItalic.ttfLiberationSerif-Italic.ttfLiberationSerif-Regular.ttfl_10646.ttf
base_dynamicFont_BIG.tresbase_dynamicfont.tresbase_dynamicfont_16.tresl_10646.ttfliberation_serif.tresliberation_serif_20pt.tresliberation_serif_30pt.tresliberation_serif_40pt.tressbf_black.tressbf_white.tresui_controlNode_dark_theme.tresui_controlNode_light_theme.tres@ -0,0 +1,3 @@
|
||||
source_md5="266f789a4e895911161321092c2c2429"
|
||||
dest_md5="a08a6dcf169f683724bfd5cd82e23fe6"
|
||||
|
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex
Normal file
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex
Normal file
Binary file not shown.
3
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
Normal file
3
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="47313fa4c47a9963fddd764e1ec6e4a8"
|
||||
dest_md5="2ded9e7f9060e2b530aab678b135fc5b"
|
||||
|
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Normal file
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Normal file
Binary file not shown.
@ -0,0 +1,5 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/AddCharacter_temp.tscn
Normal file
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/AddCharacter_temp.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
text = "Add Character (temp)"
|
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/LoadGame_temp.tscn
Normal file
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/LoadGame_temp.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
text = "Load game (temp)"
|
94
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/MenuScreen.tscn
Normal file
94
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/MenuScreen.tscn
Normal file
@ -0,0 +1,94 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://assets/background_demo.png" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=8]
|
||||
[ext_resource path="res://assets/ui_title_theme.tres" type="Theme" id=9]
|
||||
[ext_resource path="res://UserInterface/But_Quit.tscn" type="PackedScene" id=10]
|
||||
|
||||
[node name="MenuScreen" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="background_demo" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 7 )
|
||||
expand = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 5 )]
|
||||
margin_top = 51.8676
|
||||
margin_bottom = 117.868
|
||||
theme = ExtResource( 9 )
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -119.0
|
||||
margin_top = -152.0
|
||||
margin_right = 119.0
|
||||
margin_bottom = 152.0
|
||||
rect_scale = Vector2( 1.04675, 1.07389 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="But_NewGame" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_right = 238.0
|
||||
margin_bottom = 48.0
|
||||
next_scene_path = "res://Screens/NewGame_temp.tscn"
|
||||
|
||||
[node name="But_LoadGame" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 52.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 100.0
|
||||
text = "Load Game"
|
||||
next_scene_path = "res://Screens/LoadGame_temp.tscn"
|
||||
|
||||
[node name="But_Multiplayer" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 104.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 152.0
|
||||
text = "Multiplayer"
|
||||
next_scene_path = "res://Screens/Multiplayer_temp.tscn"
|
||||
|
||||
[node name="But_AddChar" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 156.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 204.0
|
||||
text = "Add Character"
|
||||
next_scene_path = "res://Screens/AddCharacter_temp.tscn"
|
||||
|
||||
[node name="But_Settings" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 208.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 256.0
|
||||
text = "Settings"
|
||||
next_scene_path = "res://Screens/Settings.tscn"
|
||||
|
||||
[node name="But_Quit" parent="VBoxContainer" instance=ExtResource( 10 )]
|
||||
margin_top = 260.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 304.0
|
||||
|
||||
[node name="Version" type="Label" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -165.0
|
||||
margin_top = -38.0
|
||||
text = "Version: 0.0.0"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/Multiplayer_temp.tscn
Normal file
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/Multiplayer_temp.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
text = "Multiplayer (temp)"
|
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/NewGame_temp.tscn
Normal file
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/NewGame_temp.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="newGameTextTemp" parent="." instance=ExtResource( 1 )]
|
||||
text = "Start new game (temp)"
|
130
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/Settings.tscn
Normal file
130
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/Settings.tscn
Normal file
@ -0,0 +1,130 @@
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://assets/background_demo.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=3]
|
||||
[ext_resource path="res://assets/ui_title_theme.tres" type="Theme" id=4]
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://Screens/inputText.gd" type="Script" id=6]
|
||||
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=7]
|
||||
[ext_resource path="res://UserInterface/But_SaveSettings.gd" type="Script" id=8]
|
||||
[ext_resource path="res://Screens/SettingsInitialize.gd" type="Script" id=9]
|
||||
|
||||
[node name="SettingsScreen" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 3 )
|
||||
script = ExtResource( 9 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="background_demo" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 2 )
|
||||
expand = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
anchor_left = 0.0
|
||||
anchor_right = 0.0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 296.0
|
||||
margin_bottom = 135.0
|
||||
theme = ExtResource( 4 )
|
||||
text = " Player Settings
|
||||
"
|
||||
|
||||
[node name="Hbox_buttons" type="HBoxContainer" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -426.0
|
||||
margin_top = -67.0
|
||||
grow_vertical = 0
|
||||
rect_scale = Vector2( 1.04675, 1.07389 )
|
||||
alignment = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="But_SaveSettings" parent="Hbox_buttons" instance=ExtResource( 5 )]
|
||||
margin_right = 164.0
|
||||
margin_bottom = 67.0
|
||||
text = "Save Settings"
|
||||
script = ExtResource( 8 )
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="But_CloseWithoutSaving" parent="Hbox_buttons" instance=ExtResource( 5 )]
|
||||
margin_left = 168.0
|
||||
margin_right = 426.0
|
||||
margin_bottom = 67.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "Close Without Saving"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_top = -187.879
|
||||
margin_right = 605.0
|
||||
margin_bottom = -115.879
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
margin_right = 605.0
|
||||
margin_bottom = 48.0
|
||||
|
||||
[node name="label_disName" type="Label" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_top = 5.0
|
||||
margin_right = 175.0
|
||||
margin_bottom = 43.0
|
||||
size_flags_horizontal = 2
|
||||
text = "Display Name: "
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="input_name" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_left = 304.0
|
||||
margin_right = 605.0
|
||||
margin_bottom = 48.0
|
||||
size_flags_horizontal = 3
|
||||
custom_fonts/font = ExtResource( 7 )
|
||||
max_length = 48
|
||||
script = ExtResource( 6 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
||||
margin_top = 52.0
|
||||
margin_right = 605.0
|
||||
margin_bottom = 100.0
|
||||
|
||||
[node name="label_risk" type="Label" parent="VBoxContainer/HBoxContainer2"]
|
||||
margin_top = 5.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 43.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Risk Factor Threshold: "
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="input_risk" type="LineEdit" parent="VBoxContainer/HBoxContainer2"]
|
||||
margin_left = 304.0
|
||||
margin_right = 605.0
|
||||
margin_bottom = 48.0
|
||||
size_flags_horizontal = 3
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
12
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/SettingsInitialize.gd
Normal file
12
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/Screens/SettingsInitialize.gd
Normal file
@ -0,0 +1,12 @@
|
||||
extends Control
|
||||
|
||||
onready var psCurrentSettings = get_node("/root/PlayerSettings")
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
var inputName = get_node("VBoxContainer/HBoxContainer/input_name")
|
||||
var inputRisk = get_node("VBoxContainer/HBoxContainer2/input_risk")
|
||||
inputName.text = psCurrentSettings.playerSettingsSingleton.inputName
|
||||
inputRisk.text = psCurrentSettings.playerSettingsSingleton.riskFactor
|
||||
|
||||
|
@ -0,0 +1,7 @@
|
||||
extends LineEdit
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
grab_focus()
|
||||
|
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_ChangeScene.gd
Normal file
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_ChangeScene.gd
Normal file
@ -0,0 +1,15 @@
|
||||
#Tool lets you any code in editor, such as plugins
|
||||
tool
|
||||
extends Button
|
||||
|
||||
#Creates param usable in the UI; and the params next to export make it string and file browser
|
||||
export(String, FILE) var next_scene_path: = ""
|
||||
|
||||
|
||||
func _on_But_NewGame_button_up():
|
||||
get_tree().change_scene(next_scene_path)
|
||||
|
||||
|
||||
func _get_configuration_warning() -> String:
|
||||
return "next_scene_path must be set for this button to work" if next_scene_path == "" else ""
|
||||
|
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_ChangeScene.tscn
Normal file
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_ChangeScene.tscn
Normal file
@ -0,0 +1,15 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.gd" type="Script" id=1]
|
||||
|
||||
[node name="But_ChangeScene" type="Button"]
|
||||
margin_right = 130.0
|
||||
margin_bottom = 24.0
|
||||
size_flags_vertical = 3
|
||||
text = "New Game"
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[connection signal="button_up" from="." to="." method="_on_But_NewGame_button_up"]
|
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_Quit.gd
Normal file
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_Quit.gd
Normal file
@ -0,0 +1,6 @@
|
||||
extends Button
|
||||
|
||||
|
||||
|
||||
func _on_But_Quit_button_up():
|
||||
get_tree().quit()
|
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_Quit.tscn
Normal file
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_Quit.tscn
Normal file
@ -0,0 +1,15 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_Quit.gd" type="Script" id=1]
|
||||
|
||||
[node name="But_Quit" type="Button"]
|
||||
margin_top = 240.0
|
||||
margin_right = 179.0
|
||||
margin_bottom = 284.0
|
||||
text = "Quit"
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[connection signal="button_up" from="." to="." method="_on_But_Quit_button_up"]
|
64
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_SaveSettings.gd
Normal file
64
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/But_SaveSettings.gd
Normal file
@ -0,0 +1,64 @@
|
||||
#Script for settings save button
|
||||
#Tool lets you any code in editor, such as plugins
|
||||
tool
|
||||
extends Button
|
||||
|
||||
#Creates param usable in the UI; and the params next to export make it string and file browser
|
||||
export(String, FILE) var next_scene_path: = ""
|
||||
|
||||
#Button response: save settings and move on.
|
||||
func _on_But_NewGame_button_up():
|
||||
var inputName = get_node("../../VBoxContainer/HBoxContainer/input_name")
|
||||
var inputRisk = get_node("../../VBoxContainer/HBoxContainer2/input_risk")
|
||||
_saveSettings(inputName.text, inputRisk.text)
|
||||
get_tree().change_scene(next_scene_path)
|
||||
|
||||
|
||||
#HELPER FUNCTIONS:
|
||||
func _get_configuration_warning() -> String:
|
||||
return "next_scene_path must be set for this button to work" if next_scene_path == "" else ""
|
||||
|
||||
|
||||
func _saveSettings(inputSettings : String, riskFactor : String) -> void:
|
||||
var player_settings = get_node("/root/PlayerSettings")
|
||||
player_settings.playerSettingsSingleton.inputName = inputSettings
|
||||
player_settings.playerSettingsSingleton.riskFactor = riskFactor
|
||||
#Temp:
|
||||
var temp_manual_JSON = {
|
||||
"playerSettingsTemplate": {
|
||||
"inputName": inputSettings,
|
||||
"riskFactor": riskFactor
|
||||
}
|
||||
}
|
||||
|
||||
#Save to file (JSON for now)
|
||||
var settings_file = "user://testPlayerSettings.sav"
|
||||
var file = File.new()
|
||||
if file.open(settings_file, File.WRITE) != 0:
|
||||
print("Cannot write temporary file to: " + settings_file)
|
||||
else:
|
||||
file.store_line(to_json(temp_manual_JSON))
|
||||
file.close()
|
||||
|
||||
|
||||
#****This save Settings functions as designed; but modified to work with alternate approach of loading
|
||||
#func _saveSettings(inputSettings : String, riskFactor : String) -> void:
|
||||
#Debugging:
|
||||
# print("Input name: " + inputSettings + "; and risk factor set to : " + riskFactor)
|
||||
# var player_settings = get_node("/root/PlayerSettings")
|
||||
# player_settings.playerSettingsSingleton.inputName = inputSettings
|
||||
# player_settings.playerSettingsSingleton.riskFactor = riskFactor
|
||||
|
||||
#Save to file (for now)
|
||||
# if settings_save_file_name == "":
|
||||
# settings_save_file_name = "settings.save"
|
||||
# var settings_file = "user://" + settings_save_file_name
|
||||
# var file = File.new()
|
||||
# file.open(settings_file, File.WRITE)
|
||||
# file.store_var(player_settings.playerSettingsSingleton.inputName)
|
||||
#DKM TEMP: To save object; removed for testing
|
||||
#file.store_var(player_settings.playerSettingsSingleton, true)
|
||||
# file.close()
|
||||
|
||||
|
||||
|
17
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/Title.tscn
Normal file
17
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/UserInterface/Title.tscn
Normal file
@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/base_dynamicFont_BIG.tres" type="DynamicFont" id=1]
|
||||
|
||||
[node name="Title" type="Label"]
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
margin_left = -110.5
|
||||
margin_top = 114.422
|
||||
margin_right = 110.5
|
||||
margin_bottom = 180.422
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
text = "Main Menu"
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
11
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/_toArchive/But_AddChar.tscn
Normal file
11
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/_toArchive/But_AddChar.tscn
Normal file
@ -0,0 +1,11 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="But_AddChar" type="Button"]
|
||||
margin_top = 85.0
|
||||
margin_right = 130.0
|
||||
margin_bottom = 109.0
|
||||
size_flags_vertical = 3
|
||||
text = "Add Character"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
8
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/_toArchive/But_LoadGame.tscn
Normal file
8
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/_toArchive/But_LoadGame.tscn
Normal file
@ -0,0 +1,8 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="But_LoadGame" type="Button"]
|
||||
margin_top = 28.0
|
||||
margin_right = 130.0
|
||||
margin_bottom = 52.0
|
||||
size_flags_vertical = 3
|
||||
text = "Load Game"
|
11
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/_toArchive/But_Multiplayer.tscn
Normal file
11
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/_toArchive/But_Multiplayer.tscn
Normal file
@ -0,0 +1,11 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="But_Multiplayer" type="Button"]
|
||||
margin_top = 56.0
|
||||
margin_right = 130.0
|
||||
margin_bottom = 81.0
|
||||
size_flags_vertical = 3
|
||||
text = "Multiplayer"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
8
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/_toArchive/But_Settings.tscn
Normal file
8
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/_toArchive/But_Settings.tscn
Normal file
@ -0,0 +1,8 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="But_Settings" type="Button"]
|
||||
margin_top = 113.0
|
||||
margin_right = 130.0
|
||||
margin_bottom = 138.0
|
||||
size_flags_vertical = 3
|
||||
text = "Settings"
|
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/background_demo.png
Normal file
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/background_demo.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 60 KiB |
34
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/background_demo.png.import
Normal file
34
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/background_demo.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/background_demo.png"
|
||||
dest_files=[ "res://.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
7
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/base_dynamicFont_BIG.tres
Normal file
7
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/base_dynamicFont_BIG.tres
Normal file
@ -0,0 +1,7 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/l_10646.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
size = 42
|
||||
font_data = ExtResource( 1 )
|
7
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/base_dynamicfont.tres
Normal file
7
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/base_dynamicfont.tres
Normal file
@ -0,0 +1,7 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/l_10646.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
size = 24
|
||||
font_data = ExtResource( 1 )
|
Binary file not shown.
@ -0,0 +1,6 @@
|
||||
[gd_resource type="Theme" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=1]
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource( 1 )
|
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/ui_title_theme.tres
Normal file
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/assets/ui_title_theme.tres
Normal file
@ -0,0 +1,6 @@
|
||||
[gd_resource type="Theme" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/base_dynamicFont_BIG.tres" type="DynamicFont" id=1]
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource( 1 )
|
@ -0,0 +1,7 @@
|
||||
[gd_resource type="Environment" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="ProceduralSky" id=1]
|
||||
|
||||
[resource]
|
||||
background_mode = 2
|
||||
background_sky = SubResource( 1 )
|
38
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/globalScripts/playerSettings.gd
Normal file
38
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/globalScripts/playerSettings.gd
Normal file
@ -0,0 +1,38 @@
|
||||
#***PLAYER SETTINGS: a singleton to hold settings in-game. Currently for test
|
||||
# purposes, initializes a playerSettingsTemplate class, and attempts to
|
||||
# load in a saved player settings file. This then updates the singleton.
|
||||
|
||||
extends Node
|
||||
|
||||
var settings_file = "user://testPlayerSettings.sav"
|
||||
var playerSettingsSingleton = PlayerSettingsTemplate.new()
|
||||
|
||||
func _ready() -> void:
|
||||
load_settings_file()
|
||||
|
||||
#Using JSON:
|
||||
#DKM TEMP: manual JSON parsing is most certainly not the way to go -- temp testing these
|
||||
# are saved and loaded correctly.
|
||||
func load_settings_file():
|
||||
var file = File.new()
|
||||
file.open(settings_file, file.READ)
|
||||
var text = file.get_as_text()
|
||||
var parsedText = parse_json(text)
|
||||
if(parsedText != null):
|
||||
print("Input name loaded as: " + parsedText.playerSettingsTemplate.inputName)
|
||||
playerSettingsSingleton.inputName = parsedText.playerSettingsTemplate.inputName
|
||||
playerSettingsSingleton.riskFactor = parsedText.playerSettingsTemplate.riskFactor
|
||||
else:
|
||||
print("No previously existing player settings file found")
|
||||
|
||||
#DKM TEMP:
|
||||
#****THIS LOADS a string successfully, but not objects
|
||||
#func _loadSettings() -> void:
|
||||
#DKM TEMP: we cannot hard code this here and allow user access on But_SaveS UI
|
||||
# var settings_file = "user://testSettings"
|
||||
# var file = File.new()
|
||||
# if file.file_exists(settings_file):
|
||||
# file.open(settings_file, File.READ)
|
||||
# playerSettingsSingleton.inputName = file.get_var()
|
||||
# file.close()
|
||||
# print("name found as: " + playerSettingsSingleton.inputName)
|
5
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/globalScripts/playerSettingsTemplate.gd
Normal file
5
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211024A/globalScripts/playerSettingsTemplate.gd
Normal file
@ -0,0 +1,5 @@
|
||||
extends Node
|
||||
class_name PlayerSettingsTemplate
|
||||
|
||||
var inputName = "None"
|
||||
var riskFactor = "0"
|
Binary file not shown.
After ![]() (image error) Size: 3.2 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -0,0 +1,37 @@
|
||||
; 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=4
|
||||
|
||||
_global_script_classes=[ {
|
||||
"base": "Node",
|
||||
"class": "PlayerSettingsTemplate",
|
||||
"language": "GDScript",
|
||||
"path": "res://globalScripts/playerSettingsTemplate.gd"
|
||||
} ]
|
||||
_global_script_class_icons={
|
||||
"PlayerSettingsTemplate": ""
|
||||
}
|
||||
|
||||
[application]
|
||||
|
||||
config/name="RPGR_moduleWork_21_1024"
|
||||
run/main_scene="res://Screens/MenuScreen.tscn"
|
||||
config/icon="res://icon.png"
|
||||
|
||||
[autoload]
|
||||
|
||||
PlayerSettings="*res://globalScripts/playerSettings.gd"
|
||||
|
||||
[physics]
|
||||
|
||||
common/enable_pause_aware_picking=true
|
||||
|
||||
[rendering]
|
||||
|
||||
environment/default_environment="res://default_env.tres"
|
@ -0,0 +1,3 @@
|
||||
source_md5="266f789a4e895911161321092c2c2429"
|
||||
dest_md5="a08a6dcf169f683724bfd5cd82e23fe6"
|
||||
|
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex
Normal file
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex
Normal file
Binary file not shown.
3
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
Normal file
3
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="47313fa4c47a9963fddd764e1ec6e4a8"
|
||||
dest_md5="2ded9e7f9060e2b530aab678b135fc5b"
|
||||
|
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Normal file
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Normal file
Binary file not shown.
@ -0,0 +1,5 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
@ -0,0 +1,38 @@
|
||||
extends Control
|
||||
|
||||
#Abstract class we instance when wanted in game as child of HistoryReference
|
||||
const InputResponse = preload("res://UserInterface/InputResponse.tscn")
|
||||
#Limit the length of our history:
|
||||
var max_scroll_length := 0
|
||||
|
||||
onready var history_rows = $Background/MarginContainer/Rows/GameInfo/ScrollContainer/HistoryRows
|
||||
onready var scroll = $Background/MarginContainer/Rows/GameInfo/ScrollContainer
|
||||
onready var scrollbar = scroll.get_v_scrollbar()
|
||||
|
||||
#Ensure that the latest added input is in focus on scroll
|
||||
func _ready() -> void:
|
||||
scrollbar.connect("changed", self, "handle_scrollbar_changed")
|
||||
max_scroll_length = scrollbar.max_value
|
||||
|
||||
func handle_scrollbar_changed():
|
||||
if max_scroll_length != scrollbar.max_value:
|
||||
max_scroll_length = scrollbar.max_value
|
||||
scroll.scroll_vertical = max_scroll_length
|
||||
|
||||
#Below temporarily takes user selection and appends it to responses; adding new isntances
|
||||
# of our input row with an input and response pair for each
|
||||
func handleUserInput(user_choice: String) -> void:
|
||||
var input_response = InputResponse.instance()
|
||||
var inputText = "User selected: " + user_choice
|
||||
var response = "Game text output for " + user_choice
|
||||
input_response.set_text(inputText, response)
|
||||
history_rows.add_child(input_response)
|
||||
|
||||
func _on_option1_button_down() -> void:
|
||||
handleUserInput("Option 1")
|
||||
|
||||
func _on_option2_button_down() -> void:
|
||||
handleUserInput("Option 2")
|
||||
|
||||
func _on_option3_button_down() -> void:
|
||||
handleUserInput("Option 3")
|
@ -0,0 +1,109 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Game.gd" type="Script" id=2]
|
||||
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=3]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
bg_color = Color( 0.117647, 0.117647, 0.117647, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=2]
|
||||
bg_color = Color( 0.243137, 0.235294, 0.235294, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=3]
|
||||
bg_color = Color( 0.286275, 0.286275, 0.286275, 1 )
|
||||
|
||||
[node name="Game" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Background" type="PanelContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
custom_styles/panel = SubResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Background"]
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 600.0
|
||||
custom_constants/margin_right = 20
|
||||
custom_constants/margin_top = 10
|
||||
custom_constants/margin_left = 20
|
||||
custom_constants/margin_bottom = 20
|
||||
|
||||
[node name="Rows" type="VBoxContainer" parent="Background/MarginContainer"]
|
||||
margin_left = 20.0
|
||||
margin_top = 10.0
|
||||
margin_right = 1004.0
|
||||
margin_bottom = 580.0
|
||||
custom_constants/separation = 10
|
||||
|
||||
[node name="ItemList" type="ItemList" parent="Background/MarginContainer/Rows"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 40.0
|
||||
rect_min_size = Vector2( 0, 40 )
|
||||
|
||||
[node name="But_ChangeScene" parent="Background/MarginContainer/Rows/ItemList" instance=ExtResource( 1 )]
|
||||
margin_right = 82.0
|
||||
margin_bottom = 30.0
|
||||
text = "Menu"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="GameInfo" type="PanelContainer" parent="Background/MarginContainer/Rows"]
|
||||
margin_top = 50.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 436.0
|
||||
size_flags_vertical = 3
|
||||
custom_styles/panel = SubResource( 2 )
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="Background/MarginContainer/Rows/GameInfo"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 386.0
|
||||
scroll_horizontal_enabled = false
|
||||
|
||||
[node name="HistoryRows" type="VBoxContainer" parent="Background/MarginContainer/Rows/GameInfo/ScrollContainer"]
|
||||
custom_constants/separation = 20
|
||||
|
||||
[node name="InputArea" type="PanelContainer" parent="Background/MarginContainer/Rows"]
|
||||
margin_top = 446.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 570.0
|
||||
rect_min_size = Vector2( 0, 120 )
|
||||
custom_styles/panel = SubResource( 3 )
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/Rows/InputArea"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 124.0
|
||||
custom_constants/separation = 5
|
||||
|
||||
[node name="option1" type="LinkButton" parent="Background/MarginContainer/Rows/InputArea/VBoxContainer"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 38.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Option 1"
|
||||
|
||||
[node name="option2" type="LinkButton" parent="Background/MarginContainer/Rows/InputArea/VBoxContainer"]
|
||||
margin_top = 43.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 81.0
|
||||
focus_mode = 2
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Option 2"
|
||||
|
||||
[node name="option3" type="LinkButton" parent="Background/MarginContainer/Rows/InputArea/VBoxContainer"]
|
||||
margin_top = 86.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 124.0
|
||||
focus_mode = 2
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Option 3"
|
||||
|
||||
[connection signal="button_down" from="Background/MarginContainer/Rows/InputArea/VBoxContainer/option1" to="." method="_on_option1_button_down"]
|
||||
[connection signal="button_down" from="Background/MarginContainer/Rows/InputArea/VBoxContainer/option2" to="." method="_on_option2_button_down"]
|
||||
[connection signal="button_down" from="Background/MarginContainer/Rows/InputArea/VBoxContainer/option3" to="." method="_on_option3_button_down"]
|
25
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/AddCharacter_temp.tscn
Normal file
25
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/AddCharacter_temp.tscn
Normal file
@ -0,0 +1,25 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
anchor_left = 0.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
text = "Add Character (temp)"
|
||||
|
||||
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
||||
text = "Temp: back to menu"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/LoadGame_temp.tscn
Normal file
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/LoadGame_temp.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
text = "Load game (temp)"
|
94
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/MenuScreen.tscn
Normal file
94
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/MenuScreen.tscn
Normal file
@ -0,0 +1,94 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://assets/background_demo.png" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=8]
|
||||
[ext_resource path="res://assets/ui_title_theme.tres" type="Theme" id=9]
|
||||
[ext_resource path="res://UserInterface/But_Quit.tscn" type="PackedScene" id=10]
|
||||
|
||||
[node name="MenuScreen" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="background_demo" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 7 )
|
||||
expand = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 5 )]
|
||||
margin_top = 51.8676
|
||||
margin_bottom = 117.868
|
||||
theme = ExtResource( 9 )
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -119.0
|
||||
margin_top = -152.0
|
||||
margin_right = 119.0
|
||||
margin_bottom = 152.0
|
||||
rect_scale = Vector2( 1.04675, 1.07389 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="But_NewGame" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_right = 238.0
|
||||
margin_bottom = 48.0
|
||||
next_scene_path = "res://Game.tscn"
|
||||
|
||||
[node name="But_LoadGame" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 52.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 100.0
|
||||
text = "Load Game"
|
||||
next_scene_path = "res://Game.tscn"
|
||||
|
||||
[node name="But_Multiplayer" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 104.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 152.0
|
||||
text = "Multiplayer"
|
||||
next_scene_path = "res://Screens/Multiplayer_temp.tscn"
|
||||
|
||||
[node name="But_AddChar" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 156.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 204.0
|
||||
text = "Add Character"
|
||||
next_scene_path = "res://Screens/AddCharacter_temp.tscn"
|
||||
|
||||
[node name="But_Settings" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 208.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 256.0
|
||||
text = "Settings"
|
||||
next_scene_path = "res://Screens/Settings.tscn"
|
||||
|
||||
[node name="But_Quit" parent="VBoxContainer" instance=ExtResource( 10 )]
|
||||
margin_top = 260.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 304.0
|
||||
|
||||
[node name="Version" type="Label" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -165.0
|
||||
margin_top = -38.0
|
||||
text = "Version: 0.0.0"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
25
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/Multiplayer_temp.tscn
Normal file
25
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/Multiplayer_temp.tscn
Normal file
@ -0,0 +1,25 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
anchor_left = 0.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
text = "Multiplayer (temp)"
|
||||
|
||||
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
||||
text = "Temp: back to menu"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/NewGame_temp.tscn
Normal file
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/NewGame_temp.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="newGameTextTemp" parent="." instance=ExtResource( 1 )]
|
||||
text = "Start new game (temp)"
|
130
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/Settings.tscn
Normal file
130
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/Settings.tscn
Normal file
@ -0,0 +1,130 @@
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://assets/background_demo.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=3]
|
||||
[ext_resource path="res://assets/ui_title_theme.tres" type="Theme" id=4]
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://Screens/inputText.gd" type="Script" id=6]
|
||||
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=7]
|
||||
[ext_resource path="res://UserInterface/But_SaveSettings.gd" type="Script" id=8]
|
||||
[ext_resource path="res://Screens/SettingsInitialize.gd" type="Script" id=9]
|
||||
|
||||
[node name="SettingsScreen" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 3 )
|
||||
script = ExtResource( 9 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="background_demo" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 2 )
|
||||
expand = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
anchor_left = 0.0
|
||||
anchor_right = 0.0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 296.0
|
||||
margin_bottom = 135.0
|
||||
theme = ExtResource( 4 )
|
||||
text = " Player Settings
|
||||
"
|
||||
|
||||
[node name="Hbox_buttons" type="HBoxContainer" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -426.0
|
||||
margin_top = -67.0
|
||||
grow_vertical = 0
|
||||
rect_scale = Vector2( 1.04675, 1.07389 )
|
||||
alignment = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="But_SaveSettings" parent="Hbox_buttons" instance=ExtResource( 5 )]
|
||||
margin_right = 164.0
|
||||
margin_bottom = 67.0
|
||||
text = "Save Settings"
|
||||
script = ExtResource( 8 )
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="But_CloseWithoutSaving" parent="Hbox_buttons" instance=ExtResource( 5 )]
|
||||
margin_left = 168.0
|
||||
margin_right = 426.0
|
||||
margin_bottom = 67.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "Close Without Saving"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_top = -187.879
|
||||
margin_right = 605.0
|
||||
margin_bottom = -115.879
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
margin_right = 605.0
|
||||
margin_bottom = 48.0
|
||||
|
||||
[node name="label_disName" type="Label" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_top = 5.0
|
||||
margin_right = 175.0
|
||||
margin_bottom = 43.0
|
||||
size_flags_horizontal = 2
|
||||
text = "Display Name: "
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="input_name" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_left = 304.0
|
||||
margin_right = 605.0
|
||||
margin_bottom = 48.0
|
||||
size_flags_horizontal = 3
|
||||
custom_fonts/font = ExtResource( 7 )
|
||||
max_length = 48
|
||||
script = ExtResource( 6 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
||||
margin_top = 52.0
|
||||
margin_right = 605.0
|
||||
margin_bottom = 100.0
|
||||
|
||||
[node name="label_risk" type="Label" parent="VBoxContainer/HBoxContainer2"]
|
||||
margin_top = 5.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 43.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Risk Factor Threshold: "
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="input_risk" type="LineEdit" parent="VBoxContainer/HBoxContainer2"]
|
||||
margin_left = 304.0
|
||||
margin_right = 605.0
|
||||
margin_bottom = 48.0
|
||||
size_flags_horizontal = 3
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
12
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/SettingsInitialize.gd
Normal file
12
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/Screens/SettingsInitialize.gd
Normal file
@ -0,0 +1,12 @@
|
||||
extends Control
|
||||
|
||||
onready var psCurrentSettings = get_node("/root/PlayerSettings")
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
var inputName = get_node("VBoxContainer/HBoxContainer/input_name")
|
||||
var inputRisk = get_node("VBoxContainer/HBoxContainer2/input_risk")
|
||||
inputName.text = psCurrentSettings.playerSettingsSingleton.inputName
|
||||
inputRisk.text = psCurrentSettings.playerSettingsSingleton.riskFactor
|
||||
|
||||
|
@ -0,0 +1,7 @@
|
||||
extends LineEdit
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
grab_focus()
|
||||
|
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_ChangeScene.gd
Normal file
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_ChangeScene.gd
Normal file
@ -0,0 +1,15 @@
|
||||
#Tool lets you any code in editor, such as plugins
|
||||
tool
|
||||
extends Button
|
||||
|
||||
#Creates param usable in the UI; and the params next to export make it string and file browser
|
||||
export(String, FILE) var next_scene_path: = ""
|
||||
|
||||
|
||||
func _on_But_NewGame_button_up():
|
||||
get_tree().change_scene(next_scene_path)
|
||||
|
||||
|
||||
func _get_configuration_warning() -> String:
|
||||
return "next_scene_path must be set for this button to work" if next_scene_path == "" else ""
|
||||
|
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_ChangeScene.tscn
Normal file
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_ChangeScene.tscn
Normal file
@ -0,0 +1,15 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.gd" type="Script" id=1]
|
||||
|
||||
[node name="But_ChangeScene" type="Button"]
|
||||
margin_right = 130.0
|
||||
margin_bottom = 24.0
|
||||
size_flags_vertical = 3
|
||||
text = "New Game"
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[connection signal="button_up" from="." to="." method="_on_But_NewGame_button_up"]
|
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_Quit.gd
Normal file
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_Quit.gd
Normal file
@ -0,0 +1,6 @@
|
||||
extends Button
|
||||
|
||||
|
||||
|
||||
func _on_But_Quit_button_up():
|
||||
get_tree().quit()
|
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_Quit.tscn
Normal file
15
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_Quit.tscn
Normal file
@ -0,0 +1,15 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_Quit.gd" type="Script" id=1]
|
||||
|
||||
[node name="But_Quit" type="Button"]
|
||||
margin_top = 240.0
|
||||
margin_right = 179.0
|
||||
margin_bottom = 284.0
|
||||
text = "Quit"
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[connection signal="button_up" from="." to="." method="_on_But_Quit_button_up"]
|
64
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_SaveSettings.gd
Normal file
64
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/But_SaveSettings.gd
Normal file
@ -0,0 +1,64 @@
|
||||
#Script for settings save button
|
||||
#Tool lets you any code in editor, such as plugins
|
||||
tool
|
||||
extends Button
|
||||
|
||||
#Creates param usable in the UI; and the params next to export make it string and file browser
|
||||
export(String, FILE) var next_scene_path: = ""
|
||||
|
||||
#Button response: save settings and move on.
|
||||
func _on_But_NewGame_button_up():
|
||||
var inputName = get_node("../../VBoxContainer/HBoxContainer/input_name")
|
||||
var inputRisk = get_node("../../VBoxContainer/HBoxContainer2/input_risk")
|
||||
_saveSettings(inputName.text, inputRisk.text)
|
||||
get_tree().change_scene(next_scene_path)
|
||||
|
||||
|
||||
#HELPER FUNCTIONS:
|
||||
func _get_configuration_warning() -> String:
|
||||
return "next_scene_path must be set for this button to work" if next_scene_path == "" else ""
|
||||
|
||||
|
||||
func _saveSettings(inputSettings : String, riskFactor : String) -> void:
|
||||
var player_settings = get_node("/root/PlayerSettings")
|
||||
player_settings.playerSettingsSingleton.inputName = inputSettings
|
||||
player_settings.playerSettingsSingleton.riskFactor = riskFactor
|
||||
#Temp:
|
||||
var temp_manual_JSON = {
|
||||
"playerSettingsTemplate": {
|
||||
"inputName": inputSettings,
|
||||
"riskFactor": riskFactor
|
||||
}
|
||||
}
|
||||
|
||||
#Save to file (JSON for now)
|
||||
var settings_file = "user://testPlayerSettings.sav"
|
||||
var file = File.new()
|
||||
if file.open(settings_file, File.WRITE) != 0:
|
||||
print("Cannot write temporary file to: " + settings_file)
|
||||
else:
|
||||
file.store_line(to_json(temp_manual_JSON))
|
||||
file.close()
|
||||
|
||||
|
||||
#****This save Settings functions as designed; but modified to work with alternate approach of loading
|
||||
#func _saveSettings(inputSettings : String, riskFactor : String) -> void:
|
||||
#Debugging:
|
||||
# print("Input name: " + inputSettings + "; and risk factor set to : " + riskFactor)
|
||||
# var player_settings = get_node("/root/PlayerSettings")
|
||||
# player_settings.playerSettingsSingleton.inputName = inputSettings
|
||||
# player_settings.playerSettingsSingleton.riskFactor = riskFactor
|
||||
|
||||
#Save to file (for now)
|
||||
# if settings_save_file_name == "":
|
||||
# settings_save_file_name = "settings.save"
|
||||
# var settings_file = "user://" + settings_save_file_name
|
||||
# var file = File.new()
|
||||
# file.open(settings_file, File.WRITE)
|
||||
# file.store_var(player_settings.playerSettingsSingleton.inputName)
|
||||
#DKM TEMP: To save object; removed for testing
|
||||
#file.store_var(player_settings.playerSettingsSingleton, true)
|
||||
# file.close()
|
||||
|
||||
|
||||
|
5
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/InputResponse.gd
Normal file
5
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/InputResponse.gd
Normal file
@ -0,0 +1,5 @@
|
||||
extends VBoxContainer
|
||||
|
||||
func set_text(input: String, response: String):
|
||||
$InputHistory.text = input
|
||||
$Response.text = response
|
27
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/InputResponse.tscn
Normal file
27
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/InputResponse.tscn
Normal file
@ -0,0 +1,27 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://assets/base_dynamicfont_16.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=2]
|
||||
[ext_resource path="res://UserInterface/InputResponse.gd" type="Script" id=3]
|
||||
|
||||
[node name="InputResponse" type="VBoxContainer"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 68.0
|
||||
script = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="InputHistory" type="Label" parent="."]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 26.0
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
custom_colors/font_color = Color( 0.686275, 0.658824, 0.658824, 1 )
|
||||
text = " > This is what user selected"
|
||||
|
||||
[node name="Response" type="Label" parent="."]
|
||||
margin_top = 30.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 68.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
text = "Game text continues here... "
|
17
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/Title.tscn
Normal file
17
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/UserInterface/Title.tscn
Normal file
@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/base_dynamicFont_BIG.tres" type="DynamicFont" id=1]
|
||||
|
||||
[node name="Title" type="Label"]
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
margin_left = -110.5
|
||||
margin_top = 114.422
|
||||
margin_right = 110.5
|
||||
margin_bottom = 180.422
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
text = "Main Menu"
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
11
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/_toArchive/But_AddChar.tscn
Normal file
11
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/_toArchive/But_AddChar.tscn
Normal file
@ -0,0 +1,11 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="But_AddChar" type="Button"]
|
||||
margin_top = 85.0
|
||||
margin_right = 130.0
|
||||
margin_bottom = 109.0
|
||||
size_flags_vertical = 3
|
||||
text = "Add Character"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
8
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/_toArchive/But_LoadGame.tscn
Normal file
8
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/_toArchive/But_LoadGame.tscn
Normal file
@ -0,0 +1,8 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="But_LoadGame" type="Button"]
|
||||
margin_top = 28.0
|
||||
margin_right = 130.0
|
||||
margin_bottom = 52.0
|
||||
size_flags_vertical = 3
|
||||
text = "Load Game"
|
11
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/_toArchive/But_Multiplayer.tscn
Normal file
11
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/_toArchive/But_Multiplayer.tscn
Normal file
@ -0,0 +1,11 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="But_Multiplayer" type="Button"]
|
||||
margin_top = 56.0
|
||||
margin_right = 130.0
|
||||
margin_bottom = 81.0
|
||||
size_flags_vertical = 3
|
||||
text = "Multiplayer"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
8
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/_toArchive/But_Settings.tscn
Normal file
8
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/_toArchive/But_Settings.tscn
Normal file
@ -0,0 +1,8 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="But_Settings" type="Button"]
|
||||
margin_top = 113.0
|
||||
margin_right = 130.0
|
||||
margin_bottom = 138.0
|
||||
size_flags_vertical = 3
|
||||
text = "Settings"
|
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/background_demo.png
Normal file
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/background_demo.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 60 KiB |
34
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/background_demo.png.import
Normal file
34
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/background_demo.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/background_demo.png"
|
||||
dest_files=[ "res://.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
7
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/base_dynamicFont_BIG.tres
Normal file
7
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/base_dynamicFont_BIG.tres
Normal file
@ -0,0 +1,7 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/l_10646.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
size = 42
|
||||
font_data = ExtResource( 1 )
|
7
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/base_dynamicfont.tres
Normal file
7
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/base_dynamicfont.tres
Normal file
@ -0,0 +1,7 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/l_10646.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
size = 24
|
||||
font_data = ExtResource( 1 )
|
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/base_dynamicfont_16.tres
Normal file
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/base_dynamicfont_16.tres
Normal file
@ -0,0 +1,6 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/l_10646.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
font_data = ExtResource( 1 )
|
Binary file not shown.
@ -0,0 +1,6 @@
|
||||
[gd_resource type="Theme" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=1]
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource( 1 )
|
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/ui_title_theme.tres
Normal file
6
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/assets/ui_title_theme.tres
Normal file
@ -0,0 +1,6 @@
|
||||
[gd_resource type="Theme" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/base_dynamicFont_BIG.tres" type="DynamicFont" id=1]
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource( 1 )
|
@ -0,0 +1,7 @@
|
||||
[gd_resource type="Environment" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="ProceduralSky" id=1]
|
||||
|
||||
[resource]
|
||||
background_mode = 2
|
||||
background_sky = SubResource( 1 )
|
38
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/globalScripts/playerSettings.gd
Normal file
38
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/globalScripts/playerSettings.gd
Normal file
@ -0,0 +1,38 @@
|
||||
#***PLAYER SETTINGS: a singleton to hold settings in-game. Currently for test
|
||||
# purposes, initializes a playerSettingsTemplate class, and attempts to
|
||||
# load in a saved player settings file. This then updates the singleton.
|
||||
|
||||
extends Node
|
||||
|
||||
var settings_file = "user://testPlayerSettings.sav"
|
||||
var playerSettingsSingleton = PlayerSettingsTemplate.new()
|
||||
|
||||
func _ready() -> void:
|
||||
load_settings_file()
|
||||
|
||||
#Using JSON:
|
||||
#DKM TEMP: manual JSON parsing is most certainly not the way to go -- temp testing these
|
||||
# are saved and loaded correctly.
|
||||
func load_settings_file():
|
||||
var file = File.new()
|
||||
file.open(settings_file, file.READ)
|
||||
var text = file.get_as_text()
|
||||
var parsedText = parse_json(text)
|
||||
if(parsedText != null):
|
||||
print("Input name loaded as: " + parsedText.playerSettingsTemplate.inputName)
|
||||
playerSettingsSingleton.inputName = parsedText.playerSettingsTemplate.inputName
|
||||
playerSettingsSingleton.riskFactor = parsedText.playerSettingsTemplate.riskFactor
|
||||
else:
|
||||
print("No previously existing player settings file found")
|
||||
|
||||
#DKM TEMP:
|
||||
#****THIS LOADS a string successfully, but not objects
|
||||
#func _loadSettings() -> void:
|
||||
#DKM TEMP: we cannot hard code this here and allow user access on But_SaveS UI
|
||||
# var settings_file = "user://testSettings"
|
||||
# var file = File.new()
|
||||
# if file.file_exists(settings_file):
|
||||
# file.open(settings_file, File.READ)
|
||||
# playerSettingsSingleton.inputName = file.get_var()
|
||||
# file.close()
|
||||
# print("name found as: " + playerSettingsSingleton.inputName)
|
5
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/globalScripts/playerSettingsTemplate.gd
Normal file
5
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20211114A/globalScripts/playerSettingsTemplate.gd
Normal file
@ -0,0 +1,5 @@
|
||||
extends Node
|
||||
class_name PlayerSettingsTemplate
|
||||
|
||||
var inputName = "None"
|
||||
var riskFactor = "0"
|
Binary file not shown.
After ![]() (image error) Size: 3.2 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -0,0 +1,37 @@
|
||||
; 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=4
|
||||
|
||||
_global_script_classes=[ {
|
||||
"base": "Node",
|
||||
"class": "PlayerSettingsTemplate",
|
||||
"language": "GDScript",
|
||||
"path": "res://globalScripts/playerSettingsTemplate.gd"
|
||||
} ]
|
||||
_global_script_class_icons={
|
||||
"PlayerSettingsTemplate": ""
|
||||
}
|
||||
|
||||
[application]
|
||||
|
||||
config/name="RPGR_moduleWork_21_1114A"
|
||||
run/main_scene="res://Screens/MenuScreen.tscn"
|
||||
config/icon="res://icon.png"
|
||||
|
||||
[autoload]
|
||||
|
||||
PlayerSettings="*res://globalScripts/playerSettings.gd"
|
||||
|
||||
[physics]
|
||||
|
||||
common/enable_pause_aware_picking=true
|
||||
|
||||
[rendering]
|
||||
|
||||
environment/default_environment="res://default_env.tres"
|
@ -0,0 +1,3 @@
|
||||
source_md5="266f789a4e895911161321092c2c2429"
|
||||
dest_md5="a08a6dcf169f683724bfd5cd82e23fe6"
|
||||
|
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex
Normal file
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/.import/background_demo.png-bf78baa5e40d24f1836aa08964398dec.stex
Normal file
Binary file not shown.
3
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
Normal file
3
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="47313fa4c47a9963fddd764e1ec6e4a8"
|
||||
dest_md5="2ded9e7f9060e2b530aab678b135fc5b"
|
||||
|
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Normal file
BIN
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
Normal file
Binary file not shown.
@ -0,0 +1,39 @@
|
||||
#BUT_HISTORY:
|
||||
# Unique script attached to the But_History to hide/show history versus
|
||||
# current game page.
|
||||
|
||||
tool
|
||||
extends Button
|
||||
|
||||
onready var game_history_array = get_node("/root/History").historyScreensSingleton.output_history_array
|
||||
|
||||
var is_history = false
|
||||
|
||||
|
||||
func _on_But_History_button_up():
|
||||
var history_pager_button = get_node("../../ItemList/But_History_Page")
|
||||
var history_rows_node = get_node("../../GameInfo/HistoryRows")
|
||||
var current_text_node = get_node("../../GameInfo/CurrentText")
|
||||
var option_one = get_node("../../InputArea/VBoxContainer/option1")
|
||||
var option_two = get_node("../../InputArea/VBoxContainer/option2")
|
||||
var option_three = get_node("../../InputArea/VBoxContainer/option3")
|
||||
|
||||
if(!is_history):
|
||||
if(game_history_array != null):
|
||||
history_rows_node.add_child(game_history_array[0])
|
||||
history_pager_button.show()
|
||||
history_rows_node.show()
|
||||
current_text_node.hide()
|
||||
option_one.hide()
|
||||
option_two.hide()
|
||||
option_three.hide()
|
||||
is_history = true
|
||||
else:
|
||||
history_pager_button.hide()
|
||||
history_rows_node.hide()
|
||||
current_text_node.show()
|
||||
option_one.show()
|
||||
option_two.show()
|
||||
option_three.show()
|
||||
is_history = false
|
||||
|
@ -0,0 +1,22 @@
|
||||
#BUT_HISTORY_PAGE:
|
||||
# Unique paging script for showing next page in the history game's history
|
||||
# array.
|
||||
|
||||
|
||||
tool
|
||||
extends Button
|
||||
|
||||
onready var game_history_array = get_node("/root/History").historyScreensSingleton.output_history_array
|
||||
|
||||
var current_page = 0
|
||||
|
||||
func _on_But_History_Page_button_up():
|
||||
var history_rows_node = get_node("../../GameInfo/HistoryRows")
|
||||
if(current_page < game_history_array.size()-1):
|
||||
current_page += 1
|
||||
else:
|
||||
current_page = 0
|
||||
history_rows_node.remove_child(history_rows_node.get_child(0))
|
||||
history_rows_node.add_child(game_history_array[current_page])
|
||||
|
||||
|
@ -0,0 +1,72 @@
|
||||
#COMMAND PROCESSOR:
|
||||
# Handles player input, including navigation on the map
|
||||
|
||||
extends Node
|
||||
|
||||
|
||||
var current_locale = null
|
||||
var current_opt1 = null
|
||||
var current_opt2 = null
|
||||
var current_opt3 = null
|
||||
|
||||
#Allows us to pass in the starting location
|
||||
func initialize(starting_locale) -> String:
|
||||
current_opt1 = get_node("../Background/MarginContainer/Rows/InputArea/VBoxContainer/option1")
|
||||
current_opt2 = get_node("../Background/MarginContainer/Rows/InputArea/VBoxContainer/option2")
|
||||
current_opt3 = get_node("../Background/MarginContainer/Rows/InputArea/VBoxContainer/option3")
|
||||
|
||||
current_opt1.grab_focus()
|
||||
return change_room(starting_locale)
|
||||
|
||||
#DKM TEMP: this must load from files written by toolset
|
||||
#Function that loads response from the option string chosen
|
||||
func process_command(option: String) -> String:
|
||||
var optCmd_Action = option.split(": ", false)
|
||||
if (optCmd_Action.size() < 2):
|
||||
return "Error: no valid command and action in option!"
|
||||
match optCmd_Action[0]:
|
||||
"Go":
|
||||
return go(optCmd_Action[1])
|
||||
"Wait":
|
||||
return "You rest a bit. Now what?"
|
||||
"Talk":
|
||||
return talk(optCmd_Action[1])
|
||||
"Examine":
|
||||
return examine(optCmd_Action[1])
|
||||
"Scream":
|
||||
return "You yell :'" + optCmd_Action[1].to_upper() +"'!!"
|
||||
_:
|
||||
return "Nothing happens! Command word was: " + optCmd_Action[0]
|
||||
|
||||
|
||||
|
||||
func go(action: String) -> String:
|
||||
var destination = action.split(" ", false)[0]
|
||||
if current_locale.exits.keys().has(destination):
|
||||
var change_response = change_room(current_locale.exits[destination])
|
||||
return PoolStringArray(["You go %s." % destination, change_response]).join("\n")
|
||||
else:
|
||||
return "That is not a valid place to go!"
|
||||
|
||||
#DKM TEMP: do an examination dictionary lookup here?
|
||||
func examine(action: String) -> String:
|
||||
return action.to_upper() + " looks about how you'd expect. [Dictionary lookup forthcoming]"
|
||||
|
||||
#DKM TEMP: dialog entry needed -- temp
|
||||
func talk(action: String) -> String:
|
||||
var target = action.split("to ", false)[0].to_upper()
|
||||
return target + " has little to say! [Dialog forthcoming]"
|
||||
|
||||
#Helper:
|
||||
func change_room(new_room: Locale) -> String:
|
||||
current_locale = new_room
|
||||
current_opt1.text = new_room.option1
|
||||
current_opt2.text = new_room.option2
|
||||
current_opt3.text = new_room.option3
|
||||
var exit_string = PoolStringArray(new_room.exits.keys()).join(" ")
|
||||
var strings = PoolStringArray([
|
||||
"You are now in: " + new_room.locale_name + ". " +
|
||||
new_room.locale_description,
|
||||
"Exits: " + exit_string
|
||||
]).join("\n")
|
||||
return strings;
|
@ -0,0 +1,5 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
@ -0,0 +1,80 @@
|
||||
#GAME:
|
||||
# Controls output space, loading descriptions and options for each locale and
|
||||
# appending to the history array.
|
||||
|
||||
extends Control
|
||||
|
||||
onready var history_source = get_node("/root/History").historyScreensSingleton
|
||||
|
||||
#Abstract class we instance when wanted in game as child of HistoryReference
|
||||
const TextOutput = preload("res://UserInterface/Response.tscn")
|
||||
const InputResponse = preload("res://UserInterface/InputResponse.tscn")
|
||||
|
||||
|
||||
onready var command_processor = $CommandProcessor
|
||||
onready var current_text = $Background/MarginContainer/Rows/GameInfo/CurrentText
|
||||
onready var history_rows = $Background/MarginContainer/Rows/GameInfo/HistoryRows
|
||||
onready var history_pager = $Background/MarginContainer/Rows/ItemList/But_History_Page
|
||||
onready var locale_manager = $LocaleManager
|
||||
onready var option_one = $Background/MarginContainer/Rows/InputArea/VBoxContainer/option1
|
||||
onready var option_two= $Background/MarginContainer/Rows/InputArea/VBoxContainer/option2
|
||||
onready var option_three = $Background/MarginContainer/Rows/InputArea/VBoxContainer/option3
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
history_pager.hide()
|
||||
history_rows.hide()
|
||||
current_text.show()
|
||||
option_one.show()
|
||||
option_two.show()
|
||||
option_three.show()
|
||||
|
||||
var opening_text = "The game has begun! You can select from the available options below. "
|
||||
#create_response("The game has begun! You can select from the available options below.")
|
||||
|
||||
var starting_locale_response = command_processor.initialize(locale_manager.get_child(0))
|
||||
create_response(opening_text + " " + starting_locale_response)
|
||||
|
||||
#Below temporarily takes user selection and appends it to responses; adding new instances
|
||||
# of our input row with an input and response pair for each
|
||||
func handleUserInput(user_choice: String) -> void:
|
||||
var input_response = InputResponse.instance()
|
||||
var inputText = "User selected: " + user_choice
|
||||
var response = command_processor.process_command(user_choice)
|
||||
input_response.set_text(inputText, response)
|
||||
add_response_to_game(input_response)
|
||||
|
||||
#Handles input text
|
||||
func create_response(response_text: String):
|
||||
var response = TextOutput.instance()
|
||||
response.text = response_text
|
||||
add_response_to_game(response)
|
||||
|
||||
#Copies the response output to add to both current game output, and the
|
||||
# history array.
|
||||
func add_response_to_game(response: Control):
|
||||
var response_history = response.duplicate()
|
||||
|
||||
#DKM TEMP: stopped here, trying to add page number to history text
|
||||
#var history_page_number = HISTORY_SOURCE.output_history_array.size() + 1
|
||||
#var history_string = "Page " + str(history_page_number) + "; "
|
||||
if(history_source.output_history_array != null):
|
||||
history_source.output_history_array.append(response_history)
|
||||
if(current_text.get_child_count() > 0):
|
||||
current_text.remove_child(current_text.get_child(0))
|
||||
current_text.add_child(response)
|
||||
|
||||
|
||||
func _on_option1_button_down() -> void:
|
||||
var option1 = get_node("Background/MarginContainer/Rows/InputArea/VBoxContainer/option1")
|
||||
handleUserInput(option1.get_text())
|
||||
|
||||
|
||||
func _on_option2_button_down() -> void:
|
||||
var option2 = get_node("Background/MarginContainer/Rows/InputArea/VBoxContainer/option2")
|
||||
handleUserInput(option2.get_text())
|
||||
|
||||
|
||||
func _on_option3_button_down() -> void:
|
||||
var option3 = get_node("Background/MarginContainer/Rows/InputArea/VBoxContainer/option3")
|
||||
handleUserInput(option3.get_text())
|
@ -0,0 +1,216 @@
|
||||
[gd_scene load_steps=12 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Game.gd" type="Script" id=2]
|
||||
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=3]
|
||||
[ext_resource path="res://CommandProcessor.gd" type="Script" id=4]
|
||||
[ext_resource path="res://Locale.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://LocaleManager.gd" type="Script" id=6]
|
||||
[ext_resource path="res://But_History.gd" type="Script" id=7]
|
||||
[ext_resource path="res://But_History_Page.gd" type="Script" id=8]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
bg_color = Color( 0.117647, 0.117647, 0.117647, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=2]
|
||||
bg_color = Color( 0.243137, 0.235294, 0.235294, 1 )
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=3]
|
||||
bg_color = Color( 0.286275, 0.286275, 0.286275, 1 )
|
||||
|
||||
[node name="Game" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CommandProcessor" type="Node" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="LocaleManager" type="Node" parent="."]
|
||||
script = ExtResource( 6 )
|
||||
|
||||
[node name="Loc_Boat" parent="LocaleManager" instance=ExtResource( 5 )]
|
||||
margin_left = 41.38
|
||||
margin_top = -513.913
|
||||
margin_right = 291.381
|
||||
margin_bottom = -313.913
|
||||
locale_name = "a boat"
|
||||
locale_description = "You have been shipwrecked."
|
||||
option1 = "Go: east off the boat"
|
||||
option2 = "Examine: this boat"
|
||||
option3 = "Wait: a while"
|
||||
|
||||
[node name="Loc_Shore" parent="LocaleManager" instance=ExtResource( 5 )]
|
||||
margin_left = 509.38
|
||||
margin_top = -512.913
|
||||
margin_right = 759.381
|
||||
margin_bottom = -312.913
|
||||
locale_name = "the beach outside the wrecked ship"
|
||||
locale_description = "You are standing on a white sand beach beside the crashing waves. You can go west, back onto the boat, or go north into the woods."
|
||||
option1 = "Go: west to boat"
|
||||
option2 = "Go: north to woods"
|
||||
option3 = "Talk: to yourself"
|
||||
|
||||
[node name="Loc_WoodsA1" parent="LocaleManager" instance=ExtResource( 5 )]
|
||||
margin_left = 510.439
|
||||
margin_top = -806.384
|
||||
margin_right = 760.44
|
||||
margin_bottom = -606.384
|
||||
locale_name = "the island woods"
|
||||
locale_description = "These woods get thick!"
|
||||
option1 = "Go: south back to the beach"
|
||||
option2 = "Go: north deeper in"
|
||||
option3 = "Scream: for help"
|
||||
|
||||
[node name="Loc_WoodsA2" parent="LocaleManager" instance=ExtResource( 5 )]
|
||||
margin_left = 509.439
|
||||
margin_top = -1083.38
|
||||
margin_right = 759.44
|
||||
margin_bottom = -883.384
|
||||
locale_name = "deeper into the woods"
|
||||
locale_description = "The woods are very thick. You feel like someone -- or something, may be watching you."
|
||||
option1 = "Go: south back in the direction of the beach"
|
||||
option2 = "Go: east into the thicket"
|
||||
option3 = "Examine: the woods"
|
||||
|
||||
[node name="Loc_WoodsA3" parent="LocaleManager" instance=ExtResource( 5 )]
|
||||
margin_left = 882.439
|
||||
margin_top = -1084.38
|
||||
margin_right = 1132.44
|
||||
margin_bottom = -884.38
|
||||
locale_name = "a clearing"
|
||||
locale_description = "There is a clearing here in the woods. You hear strange sounds, and musics. Something skitters north into the woods"
|
||||
option1 = "Go: north after the creature"
|
||||
option2 = "Go: west back into the thicket"
|
||||
option3 = "Listen: to the sounds"
|
||||
|
||||
[node name="Loc_WoodsA4" parent="LocaleManager" instance=ExtResource( 5 )]
|
||||
margin_left = 878.439
|
||||
margin_top = -1361.38
|
||||
margin_right = 1128.44
|
||||
margin_bottom = -1161.38
|
||||
locale_name = "a cliff top"
|
||||
locale_description = "The strange animal darts through and vanishes in front of you. There is a serious drop off here, plunging a long ways to rocks below. A figure moves along the rocks, moaning and cursing, grumpily."
|
||||
option1 = "Go: south back to the clearing "
|
||||
option2 = "Talk: to the grumpy figure"
|
||||
option3 = "Examine: the grumpy figure"
|
||||
|
||||
[node name="Background" type="PanelContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
custom_styles/panel = SubResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Background"]
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 600.0
|
||||
custom_constants/margin_right = 20
|
||||
custom_constants/margin_top = 10
|
||||
custom_constants/margin_left = 20
|
||||
custom_constants/margin_bottom = 20
|
||||
|
||||
[node name="Rows" type="VBoxContainer" parent="Background/MarginContainer"]
|
||||
margin_left = 20.0
|
||||
margin_top = 10.0
|
||||
margin_right = 1004.0
|
||||
margin_bottom = 580.0
|
||||
custom_constants/separation = 10
|
||||
|
||||
[node name="ItemList" type="ItemList" parent="Background/MarginContainer/Rows"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 40.0
|
||||
rect_min_size = Vector2( 0, 40 )
|
||||
|
||||
[node name="But_ChangeScene" parent="Background/MarginContainer/Rows/ItemList" instance=ExtResource( 1 )]
|
||||
margin_right = 82.0
|
||||
margin_bottom = 30.0
|
||||
text = "Menu"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="But_History" type="Button" parent="Background/MarginContainer/Rows/ItemList"]
|
||||
margin_left = 96.0
|
||||
margin_right = 167.0
|
||||
margin_bottom = 33.0
|
||||
text = "Toggle History"
|
||||
script = ExtResource( 7 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="But_History_Page" type="Button" parent="Background/MarginContainer/Rows/ItemList"]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -103.0
|
||||
margin_bottom = 33.0
|
||||
text = "Next Page"
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="GameInfo" type="PanelContainer" parent="Background/MarginContainer/Rows"]
|
||||
margin_top = 50.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 418.0
|
||||
size_flags_vertical = 3
|
||||
custom_styles/panel = SubResource( 2 )
|
||||
|
||||
[node name="CurrentText" type="VBoxContainer" parent="Background/MarginContainer/Rows/GameInfo"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 368.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_constants/separation = 20
|
||||
|
||||
[node name="HistoryRows" type="VBoxContainer" parent="Background/MarginContainer/Rows/GameInfo"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 368.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_constants/separation = 20
|
||||
|
||||
[node name="InputArea" type="PanelContainer" parent="Background/MarginContainer/Rows"]
|
||||
margin_top = 428.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 570.0
|
||||
rect_min_size = Vector2( 0, 120 )
|
||||
custom_styles/panel = SubResource( 3 )
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Background/MarginContainer/Rows/InputArea"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 142.0
|
||||
custom_constants/separation = 5
|
||||
|
||||
[node name="option1" type="Button" parent="Background/MarginContainer/Rows/InputArea/VBoxContainer"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 44.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Option 1"
|
||||
align = 0
|
||||
|
||||
[node name="option2" type="Button" parent="Background/MarginContainer/Rows/InputArea/VBoxContainer"]
|
||||
margin_top = 49.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 93.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Option 2"
|
||||
align = 0
|
||||
|
||||
[node name="option3" type="Button" parent="Background/MarginContainer/Rows/InputArea/VBoxContainer"]
|
||||
margin_top = 98.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 142.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Option 3"
|
||||
align = 0
|
||||
|
||||
[connection signal="button_up" from="Background/MarginContainer/Rows/ItemList/But_History" to="Background/MarginContainer/Rows/ItemList/But_History" method="_on_But_History_button_up"]
|
||||
[connection signal="button_up" from="Background/MarginContainer/Rows/ItemList/But_History_Page" to="Background/MarginContainer/Rows/ItemList/But_History_Page" method="_on_But_History_Page_button_up"]
|
||||
[connection signal="button_down" from="Background/MarginContainer/Rows/InputArea/VBoxContainer/option1" to="." method="_on_option1_button_down"]
|
||||
[connection signal="button_down" from="Background/MarginContainer/Rows/InputArea/VBoxContainer/option2" to="." method="_on_option2_button_down"]
|
||||
[connection signal="button_down" from="Background/MarginContainer/Rows/InputArea/VBoxContainer/option3" to="." method="_on_option3_button_down"]
|
@ -0,0 +1,49 @@
|
||||
#LOCALE CLASS:
|
||||
# Template script for the Locale scene; allows for connecting exits, and also
|
||||
# maintains a visited bool (currently un-used) and takes additional
|
||||
# options via the GUI:
|
||||
# 1. Name
|
||||
# 2. Description
|
||||
# 3. The 3 option strings available at the location
|
||||
#
|
||||
|
||||
|
||||
extends PanelContainer
|
||||
#Allows Godot to handle autocomplete and 'register' class
|
||||
class_name Locale
|
||||
|
||||
export (String) var locale_name = "Location Name"
|
||||
export (String) var locale_description = "This is the description of the location."
|
||||
|
||||
#DKM TEMP: assuming this gets set here
|
||||
export (String) var option1 = "Option 1"
|
||||
export (String) var option2 = "Option 2"
|
||||
export (String) var option3 = "Option 3"
|
||||
|
||||
var visited = false;
|
||||
|
||||
var exits: Dictionary = {}
|
||||
|
||||
#DKM TEMP: right now connects both directions, but can make an alt func that c
|
||||
# connects just one way for example (for one-way-doors)
|
||||
# currently not in use, but the override defaults false but if passed can let
|
||||
# you apply custom direction
|
||||
func connect_exit(direction: String, locale: Locale, override_direction: bool = false):
|
||||
if(!override_direction):
|
||||
match direction:
|
||||
"west":
|
||||
exits[direction] = locale
|
||||
locale.exits["east"] = self
|
||||
"east":
|
||||
exits[direction] = locale
|
||||
locale.exits["west"] = self
|
||||
"north":
|
||||
exits[direction] = locale
|
||||
locale.exits["south"] = self
|
||||
"south":
|
||||
exits[direction] = locale
|
||||
locale.exits["north"] = self
|
||||
_:
|
||||
printerr("Tried to connect invalid direction: %s", direction)
|
||||
else:
|
||||
exits[direction] = locale
|
@ -0,0 +1,39 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://assets/base_dynamicfont_16.tres" type="DynamicFont" id=2]
|
||||
[ext_resource path="res://Locale.gd" type="Script" id=3]
|
||||
|
||||
[node name="Locale" type="PanelContainer"]
|
||||
margin_right = 250.001
|
||||
margin_bottom = 200.0
|
||||
rect_min_size = Vector2( 250, 200 )
|
||||
script = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
margin_left = 7.0
|
||||
margin_top = 7.0
|
||||
margin_right = 243.001
|
||||
margin_bottom = 193.0
|
||||
|
||||
[node name="Rows" type="VBoxContainer" parent="MarginContainer"]
|
||||
margin_right = 236.0
|
||||
margin_bottom = 186.0
|
||||
|
||||
[node name="LocaleName" type="Label" parent="MarginContainer/Rows"]
|
||||
margin_right = 236.0
|
||||
margin_bottom = 38.0
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
text = "Locale Name"
|
||||
align = 1
|
||||
|
||||
[node name="LocaleDescription" type="Label" parent="MarginContainer/Rows"]
|
||||
margin_top = 42.0
|
||||
margin_right = 236.0
|
||||
margin_bottom = 97.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
text = "This is the description text for the locale. "
|
||||
autowrap = true
|
@ -0,0 +1,17 @@
|
||||
#LOCALE MANAGER:
|
||||
# Temporary script holds connections between map items, using the two-way
|
||||
# connect_exit script available on Location class to wire up map.
|
||||
|
||||
extends Node
|
||||
|
||||
|
||||
#DKM TEMP: must load from toolset
|
||||
func _ready() -> void:
|
||||
$Loc_Boat.connect_exit("east", $Loc_Shore)
|
||||
$Loc_Shore.connect_exit("north", $Loc_WoodsA1)
|
||||
$Loc_WoodsA1.connect_exit("north", $Loc_WoodsA2)
|
||||
$Loc_WoodsA2.connect_exit("east", $Loc_WoodsA3)
|
||||
$Loc_WoodsA3.connect_exit("north", $Loc_WoodsA4)
|
||||
|
||||
|
||||
|
@ -0,0 +1,34 @@
|
||||
****************************
|
||||
README.TXT:
|
||||
****************************
|
||||
Author: Doug McCord
|
||||
Date: 30-Jan-2022
|
||||
|
||||
****************************
|
||||
Intro notes:
|
||||
I created this to help explain the current Godot file structure I'm using. An
|
||||
effort has been made to use a consistent organization, though it can most
|
||||
definitely be improved/made more consistent.
|
||||
|
||||
****************************
|
||||
Project file structure:
|
||||
Surface Layer:
|
||||
Game scripts are located at this level, included unique history scripts
|
||||
and the Game.gd script itself.
|
||||
_toArchive:
|
||||
Directory to serve as reference-only; precursor to trash
|
||||
|
||||
assets:
|
||||
Images, fonts, TRES text resource data files
|
||||
|
||||
globalScripts:
|
||||
For project-wide use, or scripts that are not either:
|
||||
A. attached to a template scene, intended to go with all instances of that, or
|
||||
B. unique, scene-specific scripts.
|
||||
|
||||
Screens:
|
||||
Additional scenes that are not the main game; includes both .tscn scene files and
|
||||
their associated scripts.
|
||||
|
||||
UserInterface: (note misnomer for text-based game)
|
||||
Re-useable UI elements and their scripts, such as change-scene, input-response
|
25
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/AddCharacter_temp.tscn
Normal file
25
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/AddCharacter_temp.tscn
Normal file
@ -0,0 +1,25 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
anchor_left = 0.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
text = "Add Character (temp)"
|
||||
|
||||
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
||||
text = "Temp: back to menu"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/LoadGame_temp.tscn
Normal file
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/LoadGame_temp.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
text = "Load game (temp)"
|
@ -0,0 +1,9 @@
|
||||
#MENUSCREEN:
|
||||
# Script purely to grab focus for tabbing control
|
||||
|
||||
extends Control
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
$VBoxContainer/But_NewGame.grab_focus()
|
96
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/MenuScreen.tscn
Normal file
96
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/MenuScreen.tscn
Normal file
@ -0,0 +1,96 @@
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Screens/MenuScreen.gd" type="Script" id=2]
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://assets/background_demo.png" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=8]
|
||||
[ext_resource path="res://assets/ui_title_theme.tres" type="Theme" id=9]
|
||||
[ext_resource path="res://UserInterface/But_Quit.tscn" type="PackedScene" id=10]
|
||||
|
||||
[node name="MenuScreen" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 8 )
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="background_demo" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 7 )
|
||||
expand = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 5 )]
|
||||
margin_top = 51.8676
|
||||
margin_bottom = 117.868
|
||||
theme = ExtResource( 9 )
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -119.0
|
||||
margin_top = -152.0
|
||||
margin_right = 119.0
|
||||
margin_bottom = 152.0
|
||||
rect_scale = Vector2( 1.04675, 1.07389 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="But_NewGame" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_right = 238.0
|
||||
margin_bottom = 48.0
|
||||
next_scene_path = "res://Game.tscn"
|
||||
|
||||
[node name="But_LoadGame" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 52.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 100.0
|
||||
text = "Load Game"
|
||||
next_scene_path = "res://Game.tscn"
|
||||
|
||||
[node name="But_Multiplayer" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 104.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 152.0
|
||||
text = "Multiplayer"
|
||||
next_scene_path = "res://Screens/Multiplayer_temp.tscn"
|
||||
|
||||
[node name="But_AddChar" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 156.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 204.0
|
||||
text = "Add Character"
|
||||
next_scene_path = "res://Screens/AddCharacter_temp.tscn"
|
||||
|
||||
[node name="But_Settings" parent="VBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_top = 208.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 256.0
|
||||
text = "Settings"
|
||||
next_scene_path = "res://Screens/Settings.tscn"
|
||||
|
||||
[node name="But_Quit" parent="VBoxContainer" instance=ExtResource( 10 )]
|
||||
margin_top = 260.0
|
||||
margin_right = 238.0
|
||||
margin_bottom = 304.0
|
||||
|
||||
[node name="Version" type="Label" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -165.0
|
||||
margin_top = -38.0
|
||||
text = "Version: 0.0.0"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
25
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/Multiplayer_temp.tscn
Normal file
25
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/Multiplayer_temp.tscn
Normal file
@ -0,0 +1,25 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
anchor_left = 0.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 0.0
|
||||
margin_bottom = 0.0
|
||||
text = "Multiplayer (temp)"
|
||||
|
||||
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
||||
text = "Temp: back to menu"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/NewGame_temp.tscn
Normal file
13
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/NewGame_temp.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="newGameTextTemp" parent="." instance=ExtResource( 1 )]
|
||||
text = "Start new game (temp)"
|
130
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/Settings.tscn
Normal file
130
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/Settings.tscn
Normal file
@ -0,0 +1,130 @@
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://assets/background_demo.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=3]
|
||||
[ext_resource path="res://assets/ui_title_theme.tres" type="Theme" id=4]
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://Screens/inputText.gd" type="Script" id=6]
|
||||
[ext_resource path="res://assets/base_dynamicfont.tres" type="DynamicFont" id=7]
|
||||
[ext_resource path="res://UserInterface/But_SaveSettings.gd" type="Script" id=8]
|
||||
[ext_resource path="res://Screens/SettingsInitialize.gd" type="Script" id=9]
|
||||
|
||||
[node name="SettingsScreen" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 3 )
|
||||
script = ExtResource( 9 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="background_demo" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 2 )
|
||||
expand = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
anchor_left = 0.0
|
||||
anchor_right = 0.0
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 296.0
|
||||
margin_bottom = 135.0
|
||||
theme = ExtResource( 4 )
|
||||
text = " Player Settings
|
||||
"
|
||||
|
||||
[node name="Hbox_buttons" type="HBoxContainer" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -426.0
|
||||
margin_top = -67.0
|
||||
grow_vertical = 0
|
||||
rect_scale = Vector2( 1.04675, 1.07389 )
|
||||
alignment = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="But_SaveSettings" parent="Hbox_buttons" instance=ExtResource( 5 )]
|
||||
margin_right = 164.0
|
||||
margin_bottom = 67.0
|
||||
text = "Save Settings"
|
||||
script = ExtResource( 8 )
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="But_CloseWithoutSaving" parent="Hbox_buttons" instance=ExtResource( 5 )]
|
||||
margin_left = 168.0
|
||||
margin_right = 426.0
|
||||
margin_bottom = 67.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "Close Without Saving"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_top = -187.879
|
||||
margin_right = 605.0
|
||||
margin_bottom = -115.879
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
margin_right = 605.0
|
||||
margin_bottom = 48.0
|
||||
|
||||
[node name="label_disName" type="Label" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_top = 5.0
|
||||
margin_right = 175.0
|
||||
margin_bottom = 43.0
|
||||
size_flags_horizontal = 2
|
||||
text = "Display Name: "
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="input_name" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_left = 304.0
|
||||
margin_right = 605.0
|
||||
margin_bottom = 48.0
|
||||
size_flags_horizontal = 3
|
||||
custom_fonts/font = ExtResource( 7 )
|
||||
max_length = 48
|
||||
script = ExtResource( 6 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
||||
margin_top = 52.0
|
||||
margin_right = 605.0
|
||||
margin_bottom = 100.0
|
||||
|
||||
[node name="label_risk" type="Label" parent="VBoxContainer/HBoxContainer2"]
|
||||
margin_top = 5.0
|
||||
margin_right = 300.0
|
||||
margin_bottom = 43.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Risk Factor Threshold: "
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="input_risk" type="LineEdit" parent="VBoxContainer/HBoxContainer2"]
|
||||
margin_left = 304.0
|
||||
margin_right = 605.0
|
||||
margin_bottom = 48.0
|
||||
size_flags_horizontal = 3
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
17
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/SettingsInitialize.gd
Normal file
17
Phase2/Godot_GameCode/Experiments/Doug/rpgr_gameWork_20220102A/Screens/SettingsInitialize.gd
Normal file
@ -0,0 +1,17 @@
|
||||
#SETTINGSINITIALIZE:
|
||||
# Temp: manual connector between the input fields and the player settings
|
||||
# singleton.
|
||||
#
|
||||
|
||||
extends Control
|
||||
|
||||
onready var psCurrentSettings = get_node("/root/PlayerSettings")
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
var inputName = get_node("VBoxContainer/HBoxContainer/input_name")
|
||||
var inputRisk = get_node("VBoxContainer/HBoxContainer2/input_risk")
|
||||
inputName.text = psCurrentSettings.playerSettingsSingleton.inputName
|
||||
inputRisk.text = psCurrentSettings.playerSettingsSingleton.riskFactor
|
||||
|
||||
|
@ -0,0 +1,7 @@
|
||||
extends LineEdit
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
grab_focus()
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user