Change resolution to 720p and add UI to BattleScene
This commit is contained in:
12
UI/Card.tscn
12
UI/Card.tscn
@ -54,7 +54,7 @@ margin_right = -10.0
|
||||
margin_bottom = -10.0
|
||||
|
||||
[node name="Name" type="Label" parent="VBox"]
|
||||
margin_right = 1004.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 31.0
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
text = "Default"
|
||||
@ -63,8 +63,8 @@ autowrap = true
|
||||
|
||||
[node name="AutoGrid" parent="VBox" instance=ExtResource( 5 )]
|
||||
margin_top = 35.0
|
||||
margin_right = 1004.0
|
||||
margin_bottom = 486.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 606.0
|
||||
|
||||
[node name="InputDice0" type="TextureRect" parent="VBox/AutoGrid"]
|
||||
margin_left = 42.0
|
||||
@ -89,9 +89,9 @@ align = 1
|
||||
valign = 1
|
||||
|
||||
[node name="Description" type="Label" parent="VBox"]
|
||||
margin_top = 490.0
|
||||
margin_right = 1004.0
|
||||
margin_bottom = 580.0
|
||||
margin_top = 610.0
|
||||
margin_right = 1260.0
|
||||
margin_bottom = 700.0
|
||||
rect_min_size = Vector2( 0, 90 )
|
||||
custom_fonts/font = SubResource( 5 )
|
||||
text = "Default Description"
|
||||
|
@ -8,32 +8,40 @@
|
||||
[node name="CardView" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_top = 249.0
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="."]
|
||||
[node name="Margin" type="MarginContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 30.0
|
||||
margin_top = 30.0
|
||||
margin_right = -30.0
|
||||
margin_bottom = -30.0
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="Margin"]
|
||||
margin_right = 1220.0
|
||||
margin_bottom = 660.0
|
||||
rect_min_size = Vector2( 0, 300 )
|
||||
custom_constants/separation = 50
|
||||
|
||||
[node name="Card1" parent="HBox" instance=ExtResource( 1 )]
|
||||
[node name="Card1" parent="Margin/HBox" instance=ExtResource( 1 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 308.0
|
||||
margin_bottom = 351.0
|
||||
margin_right = 373.0
|
||||
margin_bottom = 660.0
|
||||
card_info = ExtResource( 2 )
|
||||
|
||||
[node name="Card2" parent="HBox" instance=ExtResource( 1 )]
|
||||
[node name="Card2" parent="Margin/HBox" instance=ExtResource( 1 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 358.0
|
||||
margin_right = 666.0
|
||||
margin_bottom = 351.0
|
||||
margin_left = 423.0
|
||||
margin_right = 796.0
|
||||
margin_bottom = 660.0
|
||||
card_info = ExtResource( 4 )
|
||||
|
||||
[node name="Card3" parent="HBox" instance=ExtResource( 1 )]
|
||||
[node name="Card3" parent="Margin/HBox" instance=ExtResource( 1 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 716.0
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 351.0
|
||||
margin_left = 846.0
|
||||
margin_right = 1220.0
|
||||
margin_bottom = 660.0
|
||||
card_info = ExtResource( 3 )
|
||||
|
Reference in New Issue
Block a user