diff --git a/global1.gd b/global1.gd index 904640e..786be7b 100644 --- a/global1.gd +++ b/global1.gd @@ -2,4 +2,5 @@ extends Node var INITIAL_BALL_SPEED = 600 var INITIAL_PAD_SPEED = 200 -var GAME_MODE = 0 \ No newline at end of file +var GAME_MODE = 0 +var WINNER = 0 \ No newline at end of file diff --git a/menu.vs b/menu.vs index 0891ccd..e7e5992 100644 Binary files a/menu.vs and b/menu.vs differ diff --git a/pong.vs b/pong.vs index 33efe3a..a4f7cd6 100644 Binary files a/pong.vs and b/pong.vs differ diff --git a/separator2.png b/separator2.png new file mode 100644 index 0000000..6544c73 Binary files /dev/null and b/separator2.png differ diff --git a/separator2.png.import b/separator2.png.import new file mode 100644 index 0000000..191134c --- /dev/null +++ b/separator2.png.import @@ -0,0 +1,23 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/separator2.png-44a1ff65a88e8e23b1921edad25dfeac.stex" + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +stream=false +size_limit=0 +detect_3d=true diff --git a/victory.tscn b/victory.tscn new file mode 100644 index 0000000..9659764 --- /dev/null +++ b/victory.tscn @@ -0,0 +1,66 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://victoryscn.vs" type="Script" id=1] +[ext_resource path="res://segoeui.ttf" type="DynamicFontData" id=2] + +[sub_resource type="DynamicFont" id=1] + +size = 64 +use_mipmaps = false +use_filter = false +font_data = ExtResource( 2 ) +_sections_unfolded = [ "Font", "Settings" ] + +[node name="Node2D" type="Node2D"] + +script = ExtResource( 1 ) + +[node name="Label" type="Label" parent="."] + +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 160.0 +margin_top = 150.0 +margin_right = 480.0 +margin_bottom = 237.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 ) +custom_colors/font_color = Color( 0, 0.789063, 1, 1 ) +text = "BLUE WINS" +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 +_sections_unfolded = [ "Visibility", "custom_colors", "custom_fonts" ] + +[node name="Label2" type="Label" parent="."] + +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 160.0 +margin_top = 150.0 +margin_right = 480.0 +margin_bottom = 237.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 ) +custom_colors/font_color = Color( 0.898438, 0, 1, 1 ) +text = "PINK WINS" +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 +_sections_unfolded = [ "Visibility", "custom_colors", "custom_fonts" ] + + diff --git a/victoryscn.vs b/victoryscn.vs new file mode 100644 index 0000000..4364303 Binary files /dev/null and b/victoryscn.vs differ