added sound
This commit is contained in:
parent
56755e3886
commit
8252ee5355
Binary file not shown.
|
@ -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
|
11
pong.tscn
11
pong.tscn
|
@ -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://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]
|
||||
[ext_resource path="res://bounce1.wav" type="AudioStream" id=6]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
|
@ -30,4 +31,12 @@ texture = ExtResource( 4 )
|
|||
position = Vector2( 310, 200 )
|
||||
texture = ExtResource( 5 )
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
|
||||
stream = ExtResource( 6 )
|
||||
volume_db = 5.0
|
||||
autoplay = false
|
||||
mix_target = 0
|
||||
bus = "Master"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue