2017-09-03 17:07:20 +01:00
|
|
|
[gd_scene load_steps=15 format=2]
|
2017-09-01 18:40:21 +01:00
|
|
|
|
2017-09-01 20:46:34 +01:00
|
|
|
[ext_resource path="res://pong.vs" type="Script" id=1]
|
|
|
|
[ext_resource path="res://left_pallete.png" type="Texture" id=2]
|
|
|
|
[ext_resource path="res://right_pallete.png" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://separator.png" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://ball.png" type="Texture" id=5]
|
2017-09-02 01:27:30 +01:00
|
|
|
[ext_resource path="res://bbounce1.wav" type="AudioStream" id=6]
|
|
|
|
[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]
|
2017-09-02 21:05:38 +01:00
|
|
|
[ext_resource path="res://segoeui.ttf" type="DynamicFontData" id=10]
|
2017-09-03 17:07:20 +01:00
|
|
|
[ext_resource path="res://lose.wav" type="AudioStream" id=11]
|
2017-09-02 21:05:38 +01:00
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
|
|
|
|
|
|
size = 64
|
|
|
|
use_mipmaps = false
|
|
|
|
use_filter = false
|
|
|
|
font_data = ExtResource( 10 )
|
|
|
|
_sections_unfolded = [ "Font", "Settings" ]
|
|
|
|
|
2017-09-02 21:25:03 +01:00
|
|
|
[sub_resource type="DynamicFont" id=2]
|
2017-09-02 21:05:38 +01:00
|
|
|
|
|
|
|
size = 32
|
|
|
|
use_mipmaps = false
|
|
|
|
use_filter = false
|
|
|
|
font_data = ExtResource( 10 )
|
|
|
|
_sections_unfolded = [ "Font", "Settings" ]
|
|
|
|
|
2017-09-02 21:25:03 +01:00
|
|
|
[sub_resource type="DynamicFont" id=3]
|
2017-09-02 21:05:38 +01:00
|
|
|
|
|
|
|
size = 64
|
|
|
|
use_mipmaps = false
|
|
|
|
use_filter = false
|
|
|
|
font_data = ExtResource( 10 )
|
|
|
|
_sections_unfolded = [ "Font", "Settings" ]
|
2017-09-01 18:40:21 +01:00
|
|
|
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
|
|
|
2017-09-01 20:46:34 +01:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2017-09-01 18:40:21 +01:00
|
|
|
[node name="left_pallete" type="Sprite" parent="."]
|
|
|
|
|
2017-09-02 00:57:12 +01:00
|
|
|
position = Vector2( 70, 200 )
|
2017-09-01 20:46:34 +01:00
|
|
|
texture = ExtResource( 2 )
|
2017-09-01 18:40:21 +01:00
|
|
|
|
|
|
|
[node name="right_pallete" type="Sprite" parent="."]
|
|
|
|
|
2017-09-02 23:55:12 +01:00
|
|
|
position = Vector2( 570, 200 )
|
2017-09-01 20:46:34 +01:00
|
|
|
texture = ExtResource( 3 )
|
2017-09-01 18:40:21 +01:00
|
|
|
|
|
|
|
[node name="separator" type="Sprite" parent="."]
|
|
|
|
|
2017-09-02 23:59:00 +01:00
|
|
|
position = Vector2( 320, 200 )
|
2017-09-01 20:46:34 +01:00
|
|
|
texture = ExtResource( 4 )
|
2017-09-02 21:05:38 +01:00
|
|
|
_sections_unfolded = [ "Transform" ]
|
2017-09-01 18:40:21 +01:00
|
|
|
|
|
|
|
[node name="ball" type="Sprite" parent="."]
|
|
|
|
|
2017-09-02 23:59:00 +01:00
|
|
|
position = Vector2( 320, 200 )
|
2017-09-01 20:46:34 +01:00
|
|
|
texture = ExtResource( 5 )
|
2017-09-01 18:40:21 +01:00
|
|
|
|
2017-09-02 01:10:07 +01:00
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
|
|
|
|
|
|
stream = ExtResource( 6 )
|
2017-09-02 01:27:30 +01:00
|
|
|
volume_db = 0.0
|
|
|
|
autoplay = false
|
|
|
|
mix_target = 0
|
|
|
|
bus = "Master"
|
|
|
|
|
|
|
|
[node name="AudioStreamPlayer2" type="AudioStreamPlayer" parent="."]
|
|
|
|
|
|
|
|
stream = ExtResource( 7 )
|
|
|
|
volume_db = 0.0
|
|
|
|
autoplay = false
|
|
|
|
mix_target = 0
|
|
|
|
bus = "Master"
|
|
|
|
|
|
|
|
[node name="AudioStreamPlayer3" type="AudioStreamPlayer" parent="."]
|
|
|
|
|
|
|
|
stream = ExtResource( 8 )
|
|
|
|
volume_db = 0.0
|
|
|
|
autoplay = false
|
|
|
|
mix_target = 0
|
|
|
|
bus = "Master"
|
|
|
|
|
|
|
|
[node name="AudioStreamPlayer4" type="AudioStreamPlayer" parent="."]
|
|
|
|
|
|
|
|
stream = ExtResource( 9 )
|
|
|
|
volume_db = 0.0
|
2017-09-02 01:10:07 +01:00
|
|
|
autoplay = false
|
|
|
|
mix_target = 0
|
|
|
|
bus = "Master"
|
|
|
|
|
2017-09-03 17:07:20 +01:00
|
|
|
[node name="left_display" type="Label" parent="."]
|
2017-09-02 16:09:14 +01:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2017-09-02 23:59:00 +01:00
|
|
|
margin_left = 250.0
|
2017-09-02 21:05:38 +01:00
|
|
|
margin_top = 10.0
|
2017-09-02 23:59:00 +01:00
|
|
|
margin_right = 236.0
|
2017-09-02 21:05:38 +01:00
|
|
|
margin_bottom = 33.0
|
2017-09-02 16:09:14 +01:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 4
|
2017-09-02 21:05:38 +01:00
|
|
|
custom_fonts/font = SubResource( 1 )
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
2017-09-02 16:09:14 +01:00
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
2017-09-02 21:05:38 +01:00
|
|
|
_sections_unfolded = [ "Rect", "custom_fonts" ]
|
2017-09-02 16:09:14 +01:00
|
|
|
|
2017-09-03 17:07:20 +01:00
|
|
|
[node name="volley_display" type="Label" parent="."]
|
2017-09-02 16:09:14 +01:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2017-09-02 23:59:00 +01:00
|
|
|
margin_left = 300.0
|
2017-09-02 21:05:38 +01:00
|
|
|
margin_top = 20.0
|
2017-09-02 23:59:00 +01:00
|
|
|
margin_right = 340.0
|
2017-09-02 21:05:38 +01:00
|
|
|
margin_bottom = 90.0
|
2017-09-02 16:09:14 +01:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 4
|
2017-09-02 21:25:03 +01:00
|
|
|
custom_fonts/font = SubResource( 2 )
|
2017-09-02 21:05:38 +01:00
|
|
|
align = 1
|
|
|
|
valign = 1
|
2017-09-02 16:09:14 +01:00
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
2017-09-02 21:05:38 +01:00
|
|
|
_sections_unfolded = [ "custom_fonts" ]
|
2017-09-02 16:09:14 +01:00
|
|
|
|
2017-09-03 17:07:20 +01:00
|
|
|
[node name="right_display" type="Label" parent="."]
|
2017-09-02 16:09:14 +01:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2017-09-02 23:59:00 +01:00
|
|
|
margin_left = 340.0
|
2017-09-02 21:05:38 +01:00
|
|
|
margin_top = 10.0
|
2017-09-02 23:59:00 +01:00
|
|
|
margin_right = 390.0
|
2017-09-02 21:05:38 +01:00
|
|
|
margin_bottom = 100.0
|
2017-09-02 16:09:14 +01:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 4
|
2017-09-02 21:25:03 +01:00
|
|
|
custom_fonts/font = SubResource( 3 )
|
2017-09-02 21:05:38 +01:00
|
|
|
align = 1
|
|
|
|
valign = 1
|
2017-09-02 16:09:14 +01:00
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
2017-09-02 21:05:38 +01:00
|
|
|
_sections_unfolded = [ "custom_fonts" ]
|
2017-09-02 16:09:14 +01:00
|
|
|
|
2017-09-03 17:07:20 +01:00
|
|
|
[node name="AudioStreamPlayer5" type="AudioStreamPlayer" parent="."]
|
|
|
|
|
|
|
|
stream = ExtResource( 11 )
|
|
|
|
volume_db = 0.0
|
|
|
|
autoplay = false
|
|
|
|
mix_target = 0
|
|
|
|
bus = "Master"
|
|
|
|
|
2017-09-01 18:40:21 +01:00
|
|
|
|