mirror of
https://github.com/RPG-Research/bcirpg.git
synced 2024-04-16 14:23:01 +00:00
Working on basic UI for genre substitution
This commit is contained in:
parent
ef3c27b371
commit
d12474ae7b
@ -0,0 +1 @@
|
||||
|
@ -0,0 +1 @@
|
||||
source_md5="fe8dea03f3f241ec8c3f199dcd974cbe"
|
@ -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
|
@ -17,5 +17,3 @@ func _on_But_History_Page_button_up():
|
||||
current_page = 0
|
||||
history_rows_node.remove_child(history_rows_node.get_child(0))
|
||||
history_rows_node.add_child(game_history_array[current_page])
|
||||
|
||||
|
||||
|
16
Phase2/Godot_Toolset/Main/genre_substitution.gd
Normal file
16
Phase2/Godot_Toolset/Main/genre_substitution.gd
Normal 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
|
40
Phase2/Godot_Toolset/Main/genre_substitution.tscn
Normal file
40
Phase2/Godot_Toolset/Main/genre_substitution.tscn
Normal 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:"
|
Loading…
Reference in New Issue
Block a user