mirror of
https://github.com/RPG-Research/bcirpg.git
synced 2024-04-16 14:23:01 +00:00
Adding Line Edits for Add Character function
This commit is contained in:
parent
701b4d1142
commit
b66828124c
@ -0,0 +1 @@
|
||||
|
@ -1 +1 @@
|
||||
source_md5="fe8dea03f3f241ec8c3f199dcd974cbe"
|
||||
source_md5="21f53e0bac965cda7f61932893c6d36b"
|
||||
|
@ -1,26 +0,0 @@
|
||||
{
|
||||
"Node_Boat1":{
|
||||
"Id":"Boat_001",
|
||||
"Action":"ShowText",
|
||||
"A_Params":"",
|
||||
"Text":"The game has begun! You may select from the options below. You are in a boat. You have been shipwrecked. You can leave the boat through a hatch.",
|
||||
"Option_Labels":["Examine Ship","Climb through hatch"],
|
||||
"Option_GoTos":["Boat_002","Shore_001"]
|
||||
},
|
||||
"Node_Boat_002":{
|
||||
"Id":"Boat_002",
|
||||
"Action":"ShowText",
|
||||
"A_Params":"",
|
||||
"Text":"The boat is old and wrecked.",
|
||||
"Option_Labels":["Continue"],
|
||||
"Option_GoTos":["Boat_001"]
|
||||
},
|
||||
"Node_Shore_001":{
|
||||
"Id":"Shore_001",
|
||||
"Action":"ShowText",
|
||||
"A_Params":"",
|
||||
"Text":"You've reached the shore!",
|
||||
"Option_Labels":["Return to boat"],
|
||||
"Option_GoTos":["Boat_001"]
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
[player_preferences]
|
||||
|
||||
player_name="Tester the Bold!"
|
||||
risk_threshold=2.0
|
||||
|
||||
[visual_controls]
|
||||
|
||||
font_size=3.0
|
||||
brightness=5.0
|
||||
|
||||
[general_settings]
|
||||
|
||||
volume=0.0
|
||||
closed_captions=false
|
||||
dev_console=true
|
||||
|
||||
[virtual_keyboard]
|
||||
|
||||
keyboard_layout=2
|
||||
|
||||
[theme]
|
||||
|
||||
theme_selection=0
|
@ -1,3 +0,0 @@
|
||||
Files for testing only. On deployment, these should be put at the appropriate user:// location for your operating system. For windows this is:
|
||||
|
||||
C:\Users\{username}\AppData\Roaming\Godot\app_userdata\BCIRPGR_mergedDemo
|
@ -1,9 +0,0 @@
|
||||
Name,Thickly Goes
|
||||
Profession,Brawler
|
||||
Strength,Excessive
|
||||
Intellect,Diminished
|
||||
Willpower,Variable
|
||||
Charm,Lacking
|
||||
Weapon,Meaty Fists
|
||||
Armor,Leather Jacket and Chaps
|
||||
A Quote,You talkin to me?!
|
|
@ -1,13 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="csv_translation"
|
||||
type="Translation"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://TestingFiles/UserData/characterFiles/testingCSVCharFile.csv"
|
||||
[params]
|
||||
|
||||
compress=true
|
||||
delimiter=0
|
@ -10,7 +10,6 @@ func _ready() -> void:
|
||||
theme=load(settings.themeFile)
|
||||
$Title/But_SaveChar.grab_focus()
|
||||
|
||||
|
||||
func _on_But_SaveChar_pressed() -> void:
|
||||
$Title/FileDialog.popup()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=4 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]
|
||||
[ext_resource path="res://userInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://userInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://screens/Character_Add.gd" type="Script" id=3]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
@ -17,9 +17,6 @@ margin_left = 215.0
|
||||
margin_top = 23.0
|
||||
margin_right = 997.0
|
||||
margin_bottom = 447.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Title" parent="." instance=ExtResource( 1 )]
|
||||
anchor_left = 0.0
|
||||
@ -35,9 +32,6 @@ text = "Create Character (temp)"
|
||||
margin_right = 12.0
|
||||
margin_bottom = 20.0
|
||||
text = "Save Character"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
||||
margin_left = -1.0
|
||||
@ -45,14 +39,12 @@ margin_top = 48.0
|
||||
margin_right = 142.0
|
||||
margin_bottom = 72.0
|
||||
text = "Temp: Main Menu"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="But_StartNewGame" parent="Title" instance=ExtResource( 2 )]
|
||||
margin_top = 98.0
|
||||
margin_right = 159.0
|
||||
margin_bottom = 122.0
|
||||
text = "Temp: Start New Game"
|
||||
next_scene_path = "res://gamePlay/Game.tscn"
|
||||
|
||||
[node name="FileDialog" type="FileDialog" parent="Title"]
|
||||
margin_left = 164.0
|
||||
@ -60,9 +52,102 @@ margin_top = 35.0
|
||||
margin_right = 741.0
|
||||
margin_bottom = 426.0
|
||||
access = 1
|
||||
current_dir = "user://characterFiles"
|
||||
current_file = "characterFiles"
|
||||
current_path = "user://characterFiles/characterFiles"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Title"]
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
margin_left = -20.0
|
||||
margin_top = 50.0
|
||||
margin_right = 20.0
|
||||
margin_bottom = 140.0
|
||||
|
||||
[node name="LabelName" type="Label" parent="Title/VBoxContainer"]
|
||||
margin_right = 81.0
|
||||
margin_bottom = 31.0
|
||||
text = "NAME
|
||||
"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Title/VBoxContainer/LabelName"]
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="LabelProfession" type="Label" parent="Title/VBoxContainer"]
|
||||
margin_top = 35.0
|
||||
margin_right = 81.0
|
||||
margin_bottom = 66.0
|
||||
text = "PROFESSION
|
||||
"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Title/VBoxContainer/LabelProfession"]
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="LabelStrength" type="Label" parent="Title/VBoxContainer"]
|
||||
margin_top = 70.0
|
||||
margin_right = 81.0
|
||||
margin_bottom = 84.0
|
||||
text = "STRENGTH"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Title/VBoxContainer/LabelStrength"]
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="LabelIntellect" type="Label" parent="Title/VBoxContainer"]
|
||||
margin_top = 88.0
|
||||
margin_right = 81.0
|
||||
margin_bottom = 119.0
|
||||
text = "INTELLECT
|
||||
"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Title/VBoxContainer/LabelIntellect"]
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="LabelWillpower" type="Label" parent="Title/VBoxContainer"]
|
||||
margin_top = 123.0
|
||||
margin_right = 81.0
|
||||
margin_bottom = 137.0
|
||||
text = "WILLPOWER"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Title/VBoxContainer/LabelWillpower"]
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="LabelCharm" type="Label" parent="Title/VBoxContainer"]
|
||||
margin_top = 141.0
|
||||
margin_right = 81.0
|
||||
margin_bottom = 155.0
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Title/VBoxContainer/LabelCharm"]
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="LabelWeapon" type="Label" parent="Title/VBoxContainer"]
|
||||
margin_top = 159.0
|
||||
margin_right = 81.0
|
||||
margin_bottom = 173.0
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Title/VBoxContainer/LabelWeapon"]
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="LabelArmor" type="Label" parent="Title/VBoxContainer"]
|
||||
margin_top = 177.0
|
||||
margin_right = 81.0
|
||||
margin_bottom = 191.0
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Title/VBoxContainer/LabelArmor"]
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[node name="LabelAQuote" type="Label" parent="Title/VBoxContainer"]
|
||||
margin_top = 195.0
|
||||
margin_right = 81.0
|
||||
margin_bottom = 209.0
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Title/VBoxContainer/LabelAQuote"]
|
||||
margin_right = 58.0
|
||||
margin_bottom = 24.0
|
||||
|
||||
[connection signal="pressed" from="Title/But_SaveChar" to="." method="_on_But_SaveChar_pressed"]
|
||||
[connection signal="file_selected" from="Title/FileDialog" to="." method="_on_FileDialog_file_selected"]
|
||||
|
@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=4 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]
|
||||
[ext_resource path="res://userInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://userInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://screens/Character_Load.gd" type="Script" id=3]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
@ -48,7 +48,6 @@ margin_top = 71.0
|
||||
margin_right = 181.0
|
||||
margin_bottom = 95.0
|
||||
text = "Temp: Start New Game"
|
||||
next_scene_path = "res://gamePlay/Game.tscn"
|
||||
|
||||
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
||||
margin_left = 21.0
|
||||
@ -56,7 +55,6 @@ margin_top = 109.0
|
||||
margin_right = 164.0
|
||||
margin_bottom = 133.0
|
||||
text = "Temp: Main Menu "
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="LoadCharacter_FileDialog" type="FileDialog" parent="."]
|
||||
margin_left = 193.0
|
||||
@ -66,9 +64,6 @@ margin_bottom = 409.0
|
||||
window_title = "Open a File"
|
||||
mode = 0
|
||||
access = 1
|
||||
current_dir = "user://characterFiles"
|
||||
current_file = "characterFiles"
|
||||
current_path = "user://characterFiles/characterFiles"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
@ -47,7 +47,6 @@ rect_min_size = Vector2( 0, 40 )
|
||||
margin_right = 200.0
|
||||
margin_bottom = 36.0
|
||||
text = "More Options"
|
||||
next_scene_path = "res://screens/MoreOptions.tscn"
|
||||
|
||||
[node name="But_HistoryPager" type="Button" parent="Background/MarginContainer/Rows/ItemList"]
|
||||
anchor_left = 0.5
|
||||
|
@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=5 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]
|
||||
[ext_resource path="res://userInterface/Title.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://userInterface/But_ChangeScene.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://screens/ImportCharacter.gd" type="Script" id=3]
|
||||
[ext_resource path="res://userInterface/But_PlayButton.gd" type="Script" id=4]
|
||||
|
||||
@ -9,9 +9,6 @@
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="PopupDialog" type="PopupDialog" parent="."]
|
||||
anchor_top = 0.5
|
||||
@ -37,8 +34,6 @@ margin_bottom = 480.0
|
||||
window_title = "Open a File"
|
||||
mode = 0
|
||||
access = 1
|
||||
current_dir = "user://characterFiles"
|
||||
current_path = "user://characterFiles/"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
@ -65,7 +60,6 @@ margin_top = 78.0
|
||||
margin_right = 152.0
|
||||
margin_bottom = 115.0
|
||||
text = "Back"
|
||||
next_scene_path = "res://Screens/MenuScreen.tscn"
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
|
||||
anchor_left = 0.0634766
|
||||
@ -104,9 +98,6 @@ margin_top = -173.0
|
||||
margin_right = 432.0
|
||||
margin_bottom = 286.0
|
||||
follow_focus = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
|
||||
__meta__ = {
|
||||
|
@ -1,13 +1,10 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_ChangeScene.gd" type="Script" id=1]
|
||||
[gd_scene format=2]
|
||||
|
||||
[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
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://UserInterface/But_Quit.gd" type="Script" id=1]
|
||||
[ext_resource path="res://userInterface/But_Quit.gd" type="Script" id=1]
|
||||
|
||||
[node name="But_Quit" type="Button"]
|
||||
margin_top = 240.0
|
||||
|
Loading…
Reference in New Issue
Block a user