Skip to content

Commit

Permalink
Added kyle3wynn's grunt sound effect to the doug memory.
Browse files Browse the repository at this point in the history
  • Loading branch information
JenniBee committed May 14, 2017
1 parent 709039a commit 4482b09
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 12 deletions.
41 changes: 29 additions & 12 deletions rooms/doug/doug_boulder_pry.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=21 format=1]
[gd_scene load_steps=23 format=1]

[ext_resource path="res://globals/scene.gd" type="Script" id=1]
[ext_resource path="res://rooms/doug/sprites/doug-bg-jennibee.png" type="Texture" id=2]
Expand All @@ -18,7 +18,8 @@
[ext_resource path="res://globals/game.scn" type="PackedScene" id=16]
[ext_resource path="res://rooms/doug/action_menu_doug.tscn" type="PackedScene" id=17]
[ext_resource path="res://rooms/doug/boulder-pry.gd" type="Script" id=18]
[ext_resource path="res://sfx/thump.ogg" type="AudioStream" id=19]
[ext_resource path="res://sfx/grunt-kyle3wynn.wav" type="Sample" id=19]
[ext_resource path="res://rooms/doug/sound.gd" type="Script" id=20]

[sub_resource type="SpriteFrames" id=1]

Expand All @@ -29,6 +30,15 @@ animations = [ {
"speed": 5.0
} ]

[sub_resource type="SampleLibrary" id=2]

samples/grunt-kyle3wynn = {
"db": 0.0,
"pitch": 1.0,
"priority": 0,
"sample": ExtResource( 19 )
}

[node name="scene" type="Node2D"]

transform/pos = Vector2( -1.85062, -7.40248 )
Expand Down Expand Up @@ -125,16 +135,23 @@ one_shot = true
autostart = true
script/script = ExtResource( 18 )

[node name="StreamPlayer" type="StreamPlayer" parent="."]

stream/stream = ExtResource( 19 )
stream/play = false
stream/loop = false
stream/volume_db = 0.0
stream/autoplay = true
stream/paused = false
stream/loop_restart_time = 0.0
stream/buffering_ms = 500
[node name="SamplePlayer" type="SamplePlayer" parent="."]

config/polyphony = 1
config/samples = SubResource( 2 )
default/volume_db = 0.0
default/pitch_scale = 1.0
default/pan = 0.0
default/depth = 0.0
default/height = 0.0
default/filter/type = 0
default/filter/cutoff = 5000.0
default/filter/resonance = 1.0
default/filter/gain = 1.0
default/reverb_room = 2
default/reverb_send = 0.0
default/chorus_send = 0.0
script/script = ExtResource( 20 )

[connection signal="timeout" from="Timer" to="Timer" method="_on_Timer_timeout"]

Expand Down
8 changes: 8 additions & 0 deletions rooms/doug/sound.gd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extends SamplePlayer

# class member variables go here, for example:
# var a = 2
# var b = "textvar"

func _ready():
get_node(".").play('grunt-kyle3wynn')
Binary file added sfx/grunt-kyle3wynn.wav
Binary file not shown.
Binary file added sfx/thump-jenni.wav
Binary file not shown.
Binary file removed sfx/thump.ogg
Binary file not shown.

0 comments on commit 4482b09

Please sign in to comment.