mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2025-02-04 12:28:35 +00:00
Added Dark and Light Themes
This commit is contained in:
@@ -16,16 +16,16 @@ anchor_left = 0.912
|
||||
anchor_top = 0.932
|
||||
anchor_right = 0.912
|
||||
anchor_bottom = 0.932
|
||||
margin_left = -3.68005
|
||||
margin_top = -4.52002
|
||||
margin_right = 49.3199
|
||||
margin_bottom = 15.48
|
||||
margin_left = -37.68
|
||||
margin_top = -329.52
|
||||
margin_right = 50.32
|
||||
margin_bottom = -305.52
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Forfeit" type="Button" parent="Buttons"]
|
||||
margin_right = 53.0
|
||||
margin_right = 88.0
|
||||
margin_bottom = 20.0
|
||||
text = "Forfeit"
|
||||
|
||||
@@ -47,10 +47,11 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
margin_left = 599.361
|
||||
margin_top = 2.97302
|
||||
margin_right = 636.361
|
||||
margin_bottom = 22.973
|
||||
visible = false
|
||||
margin_left = 6.4668
|
||||
margin_top = 6.14783
|
||||
margin_right = 43.4668
|
||||
margin_bottom = 26.1478
|
||||
text = "Win"
|
||||
|
||||
[connection signal="pressed" from="Buttons/Forfeit" to="." method="_on_Forfeit_pressed"]
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=8 format=2]
|
||||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://assets/game/board_blue.png" type="Texture" id=1]
|
||||
[ext_resource path="res://dark_theme.tres" type="Theme" id=2]
|
||||
[ext_resource path="res://scenes/ships/3ShipB.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://scenes/ships/3shipA.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://scenes/ships/4Ship.tscn" type="PackedScene" id=6]
|
||||
@@ -15,6 +16,7 @@ anchor_bottom = 0.890237
|
||||
margin_top = -0.445435
|
||||
margin_bottom = 39.5145
|
||||
mouse_filter = 2
|
||||
theme = ExtResource( 2 )
|
||||
script = ExtResource( 10 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
@@ -70,20 +72,20 @@ contacts_reported = 1
|
||||
contact_monitor = true
|
||||
|
||||
[node name="Confirm Placement" type="Button" parent="."]
|
||||
margin_left = 409.0
|
||||
margin_top = 331.0
|
||||
margin_right = 543.0
|
||||
margin_bottom = 351.0
|
||||
margin_left = 417.0
|
||||
margin_top = 316.0
|
||||
margin_right = 608.0
|
||||
margin_bottom = 340.0
|
||||
text = "Confirm Placement"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Clear" type="Button" parent="."]
|
||||
margin_left = 353.0
|
||||
margin_top = 331.0
|
||||
margin_right = 406.0
|
||||
margin_bottom = 351.0
|
||||
margin_left = 348.0
|
||||
margin_top = 316.0
|
||||
margin_right = 408.0
|
||||
margin_bottom = 340.0
|
||||
text = "Clear"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
|
||||
Reference in New Issue
Block a user