mirror of
https://github.com/RPG-Research/bcirpg.git
synced 2024-04-16 14:23:01 +00:00
Merge branch 'master' of https://github.com/RPG-Research/erpg
This commit is contained in:
commit
10a91bc9f4
@ -0,0 +1 @@
|
||||
<mxfile host="Electron" modified="2021-10-31T18:17:38.070Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/13.7.9 Chrome/85.0.4183.121 Electron/10.1.3 Safari/537.36" etag="0C0C2V3-38VKstW1noUV" version="13.7.9" type="device"><diagram id="j9d7ekKyi2tb7DcC3AJL" name="Page-1">1Vtbc9o6EP41PCbjC+bySICk6Zw2aXPOpHnKCCNAjW25shxIf/2RhHyXwQaDSWaSoGV3La12P+1Kcsccu5s7AvzVNzyHTsfQ5puOOekYhj7Qeuwfp3xIyrArKUuC5pKWEJ7QXyiJmqSGaA6DDCPF2KHIzxJt7HnQphkaIASvs2wL7GSf6oMlLBCebOAUqc9oTldb6sDSEvoXiJar6Mm6Jr9xQcQsCcEKzPE6RTKnHXNMMKbbT+5mDB1uvcguW7nbkm/jjhHo0SoC2t3soXfjfvk6+t23fj7/QA9ofGXKvtGPaMBwzsYvm5jQFV5iDzjThHpDcOjNIdeqsVbC8w/GPiPqjPgbUvohJxOEFDPSirqO/LbYczmYAIfEhju6G3kAIEtId/AZWz4+ltQDpF3uIHYhJR+MgUAHUPSenWsgXWYZ8yVWZR+kYWsYWep9B04on/TERkAZ6ZFgGwZBcRIchzk4N/Z6hSh88oEwy5oFWUVTvkNC4Wbn4OW3pvRPGaED2Vwn3q5HLrxKeXrEd4y1/gV//AVYrTav06/378R4/fK2urLacEm4QfRX6vMLV3VtydZkIzWLxkeq8QgJYsOGJKJ5zAS/0o2UJt5MVIlWpEvpr4fFiFGMEaWdu22GhFEIiQkKfAfwHoxXgACb29TQHnyKsFcMkIAS/BYjspGdTIa0PudzN0u+Kl0vHLy2mVJ6PZcPUcdVA8EUo30L0aTGnsHnQnirIsLrw6YhXoo+YuTR1IRq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1zd7l3OyepxDSB4NsIRSfu5zrokURalg+0I47HHwcc1JXsE7iCSNCxLWviMHnExyUO0qycZKrmG8PFGAftn1o1p2Kp9UTzIcpRPHsN7T5KDU2iQHvLGJZocYxeQb48nVbTA5W2J2FwXnQWu9ng9Eq1ku6pTodME8F12Y7B6MRMOudM21QmWZVYB40HY5HzU8UY5excJ7uzlnl+WkcLY8LH7MAR3Ed/F1cLZNF8JTZabvRt8CE98TjndzePotRi/VBCwN+prHFLM5NsCsA4i8g8+C6CF9N3knTu51TXUozcjl911Qk9ee9lWa2up+fvQIafVPvCujp8tgoPd0Pl+ZlxWO3EI8PPuQ5QHpjPN50fxZhVXCDqJbzZTW8N7BmwH5bCtd4COn27LO5nCF3U9o0KpbDJyvxzGKJV2rCM5fDWjebYHUV9y9OVQ4r71YVrze1ATrKGN2LDOXvt1QAht6ZYGBXJ1Wr8i2wxRm7anv6mLW1xFUVRi713m5ujVQcecfXhM7ivHoryWeDzlr1LtG5bkDu6mTKWe9dH4sXGdM3IO9d/k5tnBEukNO+x+r64NJcthV8PS5Ba8TVo3csLua2785eniR1OM6V8+8YXinem2kodWDN5AX17c5Y8p6/Of0f</diagram></mxfile>
|
@ -1 +1 @@
|
||||
<mxfile host="Electron" modified="2021-02-06T16:34:19.496Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.1.8 Chrome/87.0.4280.88 Electron/11.1.1 Safari/537.36" etag="ph2-X5ct2075pg68alrL" version="14.1.8" type="device"><diagram id="fAsaXBa20SJPP_OvaYnQ" name="Page-1">3VhNc9owEP01TE9lZBuTcAyQpNNJ2syQTptTR9jCVmuzHlkEyK+vZK8/hE1KW8BtLyA9rVbS7j7tyj1nEm9uBU3Ce/BZ1LOJv+k5055tW449VH8a2ebIaIhAILiPQhUw4y8MQYLoivssNQQlQCR5YoIeLJfMkwZGhYC1KbaAyFw1oQFrADOPRk30M/dlmKOXLqnwd4wHYbGyRXAkpoUwAmlIf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" modified="2021-10-31T17:23:06.306Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/13.7.9 Chrome/85.0.4183.121 Electron/10.1.3 Safari/537.36" etag="kzPvfJ8Ikf6QxiqpKvg2" version="13.7.9" type="device"><diagram id="fAsaXBa20SJPP_OvaYnQ" name="Page-1">1VjbctowEP0apk9lfCXwGCDQ6SRtZkinzVNH2MJWa3s9khwgX1/Jli/CLqWpSeiLRzpar6TdPdqVBvYs3i0pSsM78HE0sAx/N7DnA8tyHEN8JbAvgKuxXQABJX4BmTWwIs9Ygeq/ICM+ZpogB4g4SXXQgyTBHtcwRClsdbENRPqsKQpwC1h5KGqjX4nPwwIdu0aNf8AkCMuZTUONxKgUVgALkQ/bBmTfDOwZBeBFK97NcCRtV9ql+G/xm9FqYRQn/JQfrMXCMtPIiJfZx5Gx/mRMZtF75QzG9+WGsS/2r7pAeQgBJCi6qdEphSzxsdRqiF4tcwuQCtAU4A/M+V45E2UcBBTyOFKj7ZWrzTDIqIePLLeMAEQDzI/IWYWc3EtjAmWXJYYYc7oXAhRHiJMn3ddIhUxQydVWFQ1l2L8wstL7hKJMzbQSO+ACuqfgYcZaTmCcws8q4CzdfCKQUikX7wJJueEmgq0XCoVDJtV+l+LbkHC8SlFuza0QO2b2J0w53h01lBq9UrGsyDxW3W3NjCr+wyYrSrB307pvEb94R/i3RvtRqhq6qjffKc15Z9/o3GNKxLYxVdjLeWCdyAPnongwavFgQSEWyAOOU7EA3OnMW7QWKUVzAIpIkIi2JwwnrTmVEUzEoX2tBmLi+4WvMSPPaJ3rkyZPgSQ835c7HbjzTiccC7QWVarMoybRDvcuCr03hjJNaDxSbjrZC0r5vdxMQwQ2GybC4dBN1Rr+4QQzOl3zSjyrufXYGDmdZ8KzdN9QJLuPzbFaVd4rdZ2fn5OL4qdZBnmLoCuPIu6FF8zPMkJ7IqhGzzKBXy4/rZbjZhTnB6qxOTxiDaADaxQJY07XshXI1h/8/MJ6xMceYQSS8xUklqNXJG5HRTLqqkhG56pIzDcpqesjTjvg6vOu9yPOOfGIMy+rFndaTJkTJpix1znyOeUibnsrzH01x9l44E50Hkw6eGB18GB8Lhpc/c8Fw/kT/2WRYtIixS0gXyB3IL/L/PsAEOXpy8hvr1navL8e5pOW98sKIK8W7oERnueF+Ro4F6mnXSJw6fMudqVqzm4u1TGU/1NEijE0HVmWUE+Fzqin7OO6Gutss4N29mvSznTeNPtUnXNnH/NUovVeYR/UdioSqgdBFQnVS0mpolio+qt28jWleeopxVT9e/I8tmscxEyhsd/bX7u8XHGgMk9+YZi+Y3runIVAvPZdXmdmF3ebN4g1gyjj+LqirKkROOdzOxn3wOmx8XpvXAN5vyrffwtv1Y/o9s0v</diagram></mxfile>
|
@ -0,0 +1,3 @@
|
||||
source_md5="266f789a4e895911161321092c2c2429"
|
||||
dest_md5="a08a6dcf169f683724bfd5cd82e23fe6"
|
||||
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
source_md5="47313fa4c47a9963fddd764e1ec6e4a8"
|
||||
dest_md5="2ded9e7f9060e2b530aab678b135fc5b"
|
||||
|
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,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)"
|
@ -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,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
|
||||
}
|
@ -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)"
|
@ -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)"
|
@ -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
|
||||
}
|
@ -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()
|
||||
|
@ -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 ""
|
||||
|
@ -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"]
|
@ -0,0 +1,6 @@
|
||||
extends Button
|
||||
|
||||
|
||||
|
||||
func _on_But_Quit_button_up():
|
||||
get_tree().quit()
|
@ -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"]
|
@ -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()
|
||||
|
||||
|
||||
|
@ -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
|
||||
}
|
@ -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
|
||||
}
|
@ -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"
|
@ -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
|
||||
}
|
@ -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"
|
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
@ -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
|
@ -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 )
|
@ -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 )
|
@ -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 )
|
@ -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)
|
@ -0,0 +1,5 @@
|
||||
extends Node
|
||||
class_name PlayerSettingsTemplate
|
||||
|
||||
var inputName = "None"
|
||||
var riskFactor = "0"
|
Binary file not shown.
After Width: | Height: | 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"
|
@ -1 +1 @@
|
||||
<mxfile host="Electron" modified="2021-06-13T18:44:58.767Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.5.1 Chrome/89.0.4389.82 Electron/12.0.1 Safari/537.36" etag="dxsdk5Dg-ienZPCrnPIt" version="14.5.1" type="device"><diagram id="LRw4pvpjIUqWVugM_4u6" name="Page-1">zVhdc6IwFP01PnaHD6X1EdR2ndl23PLQx50IEbMGQkOo2l+/FwkCEhgdS9e+FM/NvUlOzr35GJiTcPfEUbx+Zj6mA0PzdwNzOjAM3bIM+Jche4mMDYkEnPgSKwGXfGIJahJNiY+TWkPBGBUkroMeiyLsiRqGOGfberMVo/VeYxTgBuB6iDbRN+KLdY4+jLQS/4lJsC561jVpCVHRWALJGvlsW4HM2cCccMZE/hXuJphm7BW85H6PLdbjwDiOxDkOnxb5u/jgjmaPhyvnZZfE7/6djPKBaConLAcr9gUDnKWRj7Mg2sB0tmsisBsjL7NuYdEBW4uQwi8dPmU4zAXetY5TP84edINZiAXfQ5Otgt91hduHglok1zQ4+pbThg858wtYMBQsWBS6dVLwtQJxmFmOUFIgkzXiyBOYg+sLCsHT/tP8K/xgYKVrM9iCsxVOEsKiepgz3ac4xChiXDGGMyO4MfZIlmn2xa6TlIqU4wsGDmCV2WsUhygJgLMpxStxpQALhyJjK4I0x0pB9qTHYUOPjyC0ijZuIkmPPH0LJ+MbqlTSYaQrhDJUkGLqfbFSBK7QYnsC6sApN7D7xNlnGtK8gelkcyew0/1CS0wXLCG5wqZLJgQLKw1smWKCnXDIUkFJhCfHvVf7GmIt7f7HKHeS54Zhk2ldHzWZNnrbI/T2TWLFYFpVtq33lBWGu+RwprGhgTGMd6XxtCYuT4G0AGwhOFmmAqpzpX4qamoZIutPhuXHMn2oH03cDogSdzFd3fkk8UicrbKyzTMOGZCrMr1ilLCIRIE6uAAxBNlaKoy/U+JtItgOldYFxwmOPPWA5pFIpZAV1lkYw7FMPV47jjFs6PXAQGq+ul+xVV2TGfuTSlJJBEiXZiIMx70lgvnfEsHdEEqvS4JDiD96h83osJkdtmGHbdRhszps9x22hw7buGvu2i3qe3ei5S69qy4HPeq9eRr7Nr1nZ3KUjdBeEgpl7codwHXalO+0yd5p07zTJninTe1Om9SdNp07bSJ3agq/NREfz4UdIlaeE3sU8agnEU9x4nESi8bFtX4LLNdOvpYYj29y4qdOTRcHeZtE5OeM9gt22f4Jw3KrrsLq5rN3EoeHpT0r+uS1JbKy9RTyl6WB+nHg5gS8r1/iKno9arp22jZ706vV0Os8jBnPlGq7k/n88LwnGkzBnEWdjkRwtoErCs3uPNOIZQdZZwUb4QlUvCN4wBGuXo+K209IfD/rRsl/fYW+4gpk1GuIak1UbxLG5SsCP8tXyIOt8phrzv4B</diagram></mxfile>
|
||||
<mxfile host="Electron" modified="2021-10-31T17:31:29.443Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/13.7.9 Chrome/85.0.4183.121 Electron/10.1.3 Safari/537.36" etag="yQKDo68Vn3Dr4jFQV7HA" version="13.7.9" type="device"><diagram id="LRw4pvpjIUqWVugM_4u6" name="Page-1">zVhdc6IwFP01PnaHL60+gtquM9tOtz70cSdChKyB0BCq9tfvRYKABEbH0rUPHTw39yY5OffmY2BOw90jR3HwxDxMB4bm7QbmbGAYlmXA/wzY54A+nkjE58STWAksySeWoCbRlHg4qTUUjFFB4jrosijCrqhhiHO2rTdbM1rvNUY+bgBLF9Em+kY8EeToeKiV+E9M/KDoWdekJURFYwkkAfLYtgKZ84E55YyJ/CvcTTHNyCt4yf0eWqzHgXEciXMcPkfk78sHdzR7Yq2d510Sv3t3MsoHoqmcsBys2BcMcJZGHs6CaAPT2QZE4GWM3My6hTUHLBAhhV86fDYHVfSAucC7CiQH+YhZiAXfQ5Otgt+gwu24oBbJNfWPvuW04UPO/AIWDAULIwrdOin4jnxxmFmOUFIg0wBx5ArMwfUZheBp/2n+FX4wsNK1GeyFszVOEsKiepgz3Wc4xChiXDGGMyMsY+ySLNPsi12nKRUpxxcMHMAqs9coDlHiA2czitfiSgEW1iJjK4I0J0pB9qRHq6HHBxBaRRs3kaRHnr6Fk8kNVSppHeoKoVgKUky9L1aKwBVabFdAHTjlBnafOPtMQ5o3MJ1sogR2ul9ohekLS0iusNmKCcHCSgNbpphgJxyyVFAS4elx79W+htiRdv9jmDvJc4PVZFrXh02mjd72CL19k1gzmGmV7dF7ygrDXXI409jQwLDiXWk8rYmrUyAtAFsITlapgOpcqZ+KmlqGyPqTYfmxTB/qRxO3faLEl5iu7zySuCTOVlnZ5gmHDMhVmV4xSlhEIl8dXIA+/GwtFcbfKXE3EWyHSusLxwmOXPWAFpFIpZAV1nkYw7FMPV47jjFs6PXAQGq+ul+xVV2TGfuTSlJJBEiXZiJYk94SwfxvibDcEEqvS4JDiD96h83osJkdNqvDNuywjTps9x22cYdt0jV37Rb1vTvRcpfeVZeDHvXePI19m96zMznKRmivCIWyduUOsHTalO+0yd5p07zTJninTe1Om9SdNp07bSJ3agq/NREfz4UdIlaeE3sU8bAnEc9w4nISi8bFtX4LLNdOvpYYD29y4qdOTRcHuZtE5OeM9gt22f4Rw3KrrsLq5vN3EoeH1T4r+vS1JbKy9Qzyl6W++nHg5gS8r1/iKno9arp22jZ70+uooddFGDOeKdVeTheLw/OeaDAFExR1OhLB2QauKDS788wilh1knTVshCdQ8Y7gAm24ej0qbj8h8bysGyX/9RX6iiuQUa8hqjVRvUkYl68I/CxfIQ+2yluuOf8H</diagram></mxfile>
|
Loading…
Reference in New Issue
Block a user