2017-09-02 01:27:30 +01:00
|
|
|
[gd_scene load_steps=10 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-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 00:57: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 00:57:12 +01:00
|
|
|
position = Vector2( 310, 200 )
|
2017-09-01 20:46:34 +01:00
|
|
|
texture = ExtResource( 4 )
|
2017-09-01 18:40:21 +01:00
|
|
|
|
|
|
|
[node name="ball" type="Sprite" parent="."]
|
|
|
|
|
2017-09-02 00:57:12 +01:00
|
|
|
position = Vector2( 310, 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-02 16:09:14 +01:00
|
|
|
[node name="Label" type="Label" parent="."]
|
|
|
|
|
|
|
|
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
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 4
|
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
|
|
|
|
|
|
|
[node name="Label3" type="Label" parent="."]
|
|
|
|
|
|
|
|
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
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 4
|
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
|
|
|
|
2017-09-01 18:40:21 +01:00
|
|
|
|