added sound

This commit is contained in:
jammybread 2017-09-02 01:10:07 +01:00
parent 56755e3886
commit 8252ee5355
4 changed files with 29 additions and 1 deletions

BIN
bounce1.wav (Stored with Git LFS) Normal file

Binary file not shown.

16
bounce1.wav.import Normal file
View File

@ -0,0 +1,16 @@
[remap]
importer="wav"
type="AudioStreamSample"
path="res://.import/bounce1.wav-03304e4f3b8c5221bfea1662f69dd036.sample"
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=true
edit/normalize=true
edit/loop=false
compress/mode=0

View File

@ -1,10 +1,11 @@
[gd_scene load_steps=6 format=2] [gd_scene load_steps=7 format=2]
[ext_resource path="res://pong.vs" type="Script" id=1] [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://left_pallete.png" type="Texture" id=2]
[ext_resource path="res://right_pallete.png" type="Texture" id=3] [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://separator.png" type="Texture" id=4]
[ext_resource path="res://ball.png" type="Texture" id=5] [ext_resource path="res://ball.png" type="Texture" id=5]
[ext_resource path="res://bounce1.wav" type="AudioStream" id=6]
[node name="Node2D" type="Node2D"] [node name="Node2D" type="Node2D"]
@ -30,4 +31,12 @@ texture = ExtResource( 4 )
position = Vector2( 310, 200 ) position = Vector2( 310, 200 )
texture = ExtResource( 5 ) texture = ExtResource( 5 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
volume_db = 5.0
autoplay = false
mix_target = 0
bus = "Master"

BIN
pong.vs

Binary file not shown.