diff --git a/pong.tscn b/pong.tscn index da1a790..da340e8 100644 --- a/pong.tscn +++ b/pong.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=2] +[gd_scene load_steps=14 format=2] [ext_resource path="res://pong.vs" type="Script" id=1] [ext_resource path="res://left_pallete.png" type="Texture" id=2] @@ -9,6 +9,31 @@ [ext_resource path="res://bbounce2.wav" type="AudioStream" id=7] [ext_resource path="res://wallbounce.wav" type="AudioStream" id=8] [ext_resource path="res://cheer.wav" type="AudioStream" id=9] +[ext_resource path="res://segoeui.ttf" type="DynamicFontData" id=10] + +[sub_resource type="DynamicFont" id=1] + +size = 64 +use_mipmaps = false +use_filter = false +font_data = ExtResource( 10 ) +_sections_unfolded = [ "Font", "Settings" ] + +[sub_resource type="DynamicFont" id=3] + +size = 32 +use_mipmaps = false +use_filter = false +font_data = ExtResource( 10 ) +_sections_unfolded = [ "Font", "Settings" ] + +[sub_resource type="DynamicFont" id=2] + +size = 64 +use_mipmaps = false +use_filter = false +font_data = ExtResource( 10 ) +_sections_unfolded = [ "Font", "Settings" ] [node name="Node2D" type="Node2D"] @@ -28,6 +53,7 @@ texture = ExtResource( 3 ) position = Vector2( 310, 200 ) texture = ExtResource( 4 ) +_sections_unfolded = [ "Transform" ] [node name="ball" type="Sprite" parent="."] @@ -72,36 +98,22 @@ anchor_left = 0.0 anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 -margin_left = 160.0 -margin_right = 236.0 -margin_bottom = 76.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 2 -size_flags_horizontal = 1 -size_flags_vertical = 4 -align = 2 -percent_visible = 1.0 -lines_skipped = 0 -max_lines_visible = -1 - -[node name="Label2" type="Label" parent="."] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 320.0 -margin_right = 360.0 -margin_bottom = 14.0 +margin_left = 240.0 +margin_top = 10.0 +margin_right = 226.0 +margin_bottom = 33.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 2 size_flags_horizontal = 1 size_flags_vertical = 4 +custom_fonts/font = SubResource( 1 ) +align = 1 +valign = 1 percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 +_sections_unfolded = [ "Rect", "custom_fonts" ] [node name="Label3" type="Label" parent="."] @@ -109,17 +121,44 @@ anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 -margin_left = 320.0 -margin_top = 380.0 -margin_right = 360.0 -margin_bottom = 394.0 +margin_left = 290.0 +margin_top = 20.0 +margin_right = 330.0 +margin_bottom = 90.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 2 size_flags_horizontal = 1 size_flags_vertical = 4 +custom_fonts/font = SubResource( 3 ) +align = 1 +valign = 1 percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 +_sections_unfolded = [ "custom_fonts" ] + +[node name="Label2" type="Label" parent="."] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 330.0 +margin_top = 10.0 +margin_right = 380.0 +margin_bottom = 100.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 2 +size_flags_horizontal = 1 +size_flags_vertical = 4 +custom_fonts/font = SubResource( 2 ) +align = 1 +valign = 1 +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 +_sections_unfolded = [ "custom_fonts" ] diff --git a/segoeui.ttf b/segoeui.ttf new file mode 100644 index 0000000..7491c05 Binary files /dev/null and b/segoeui.ttf differ diff --git a/separator.png b/separator.png index 56874a5..a6ea0de 100644 Binary files a/separator.png and b/separator.png differ