Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Flossy Gnu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Purism
Flossy Gnu
Commits
152ffcdf
Commit
152ffcdf
authored
Mar 15, 2019
by
Nathan Lovato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add dark background to high score board, improve layout
parent
6db6f80b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
8 deletions
+35
-8
game/ScoreBoard/ScoreBoard.tscn
game/ScoreBoard/ScoreBoard.tscn
+33
-6
game/ScoreBoard/ScoreRow.tscn
game/ScoreBoard/ScoreRow.tscn
+1
-1
game/assets/fonts/ScoreTitle.tres
game/assets/fonts/ScoreTitle.tres
+1
-1
No files found.
game/ScoreBoard/ScoreBoard.tscn
View file @
152ffcdf
[gd_scene load_steps=
3
format=2]
[gd_scene load_steps=
4
format=2]
[ext_resource path="res://ScoreBoard/ScoreBoard.gd" type="Script" id=1]
[ext_resource path="res://assets/fonts/ScoreTitle.tres" type="DynamicFont" id=2]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.168627, 0.137255, 0.223529, 0.576471 )
[node name="ScoreBoard" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
script = ExtResource( 1 )
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 80.0
margin_top = 360.0
margin_right = -80.0
margin_bottom = -300.0
mouse_filter = 2
custom_styles/panel = SubResource( 1 )
[node name="Column" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 120.0
margin_top = 4
0
0.0
margin_top = 4
6
0.0
margin_right = -120.0
margin_bottom = -
34
0.0
margin_bottom = -
40
0.0
mouse_filter = 2
[node name="Title" type="Label" parent="Column"]
margin_right = 840.0
margin_bottom = 1
12
.0
margin_bottom = 1
27
.0
custom_fonts/font = ExtResource( 2 )
text = "High scores"
align = 1
uppercase = true
[node name="Spacer" type="Control" parent="Column"]
margin_top = 131.0
margin_right = 840.0
margin_bottom = 207.0
size_flags_vertical = 3
size_flags_stretch_ratio = 0.1
[node name="ScoresColumn" type="VBoxContainer" parent="Column"]
margin_top =
116
.0
margin_top =
211
.0
margin_right = 840.0
margin_bottom =
1180
.0
margin_bottom =
978
.0
mouse_filter = 2
size_flags_vertical = 3
[node name="Spacer2" type="Control" parent="Column"]
margin_top = 982.0
margin_right = 840.0
margin_bottom = 1060.0
size_flags_vertical = 3
size_flags_stretch_ratio = 0.1
game/ScoreBoard/ScoreRow.tscn
View file @
152ffcdf
...
...
@@ -53,6 +53,7 @@ margin_bottom = 88.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 2 )
text = "1ST"
align = 2
uppercase = true
script = SubResource( 1 )
...
...
@@ -73,7 +74,6 @@ margin_bottom = 88.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 2 )
text = "RMS"
align = 2
uppercase = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
...
...
game/assets/fonts/ScoreTitle.tres
View file @
152ffcdf
...
...
@@ -3,7 +3,7 @@
[ext_resource path="res://assets/fonts/Cabin-SemiBold.otf" type="DynamicFontData" id=1]
[resource]
size =
92
size =
104
use_filter = true
font_data = ExtResource( 1 )
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment