Working on basic UI for genre substitution

This commit is contained in:
elliottHong 2023-08-06 11:33:53 -07:00
parent ef3c27b371
commit d12474ae7b
6 changed files with 71 additions and 2 deletions

View File

@ -0,0 +1,13 @@
[remap]
importer="csv_translation"
type="Translation"
valid=false
[deps]
source_file="res://TestingFiles/UserData/characterFiles/testingCSVCharFile.csv"
[params]
compress=true
delimiter=0

View File

@ -17,5 +17,3 @@ func _on_But_History_Page_button_up():
current_page = 0 current_page = 0
history_rows_node.remove_child(history_rows_node.get_child(0)) history_rows_node.remove_child(history_rows_node.get_child(0))
history_rows_node.add_child(game_history_array[current_page]) history_rows_node.add_child(game_history_array[current_page])

View File

@ -0,0 +1,16 @@
extends PanelContainer
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass

View File

@ -0,0 +1,40 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://genre_substitution.gd" type="Script" id=1]
[sub_resource type="DynamicFont" id=1]
[node name="PanelContainer" type="PanelContainer"]
margin_right = 1024.0
margin_bottom = 600.0
script = ExtResource( 1 )
[node name="VLayout" type="VBoxContainer" parent="."]
margin_left = 7.0
margin_top = 7.0
margin_right = 1017.0
margin_bottom = 593.0
[node name="DescriptionHeader" type="VBoxContainer" parent="VLayout"]
margin_right = 1010.0
margin_bottom = 50.0
rect_min_size = Vector2( 0, 50 )
[node name="MH1" type="Panel" parent="VLayout/DescriptionHeader"]
margin_right = 1010.0
margin_bottom = 50.0
rect_min_size = Vector2( 250, 50 )
rect_pivot_offset = Vector2( 250, -32 )
[node name="Label" type="Label" parent="VLayout/DescriptionHeader/MH1"]
anchor_left = 0.098
anchor_top = 0.44
anchor_right = 0.098
anchor_bottom = 0.44
margin_left = -14.98
margin_top = -5.0
margin_right = 12.02
margin_bottom = 9.0
rect_scale = Vector2( 4.85677, 1.04501 )
custom_fonts/font = SubResource( 1 )
text = "Default:"