oob
This commit is contained in:
parent
ce2677962e
commit
9bda7685a1
6 changed files with 72 additions and 1 deletions
|
@ -0,0 +1,3 @@
|
|||
source_md5="55dea53eea36f6ad35e65b44213662da"
|
||||
dest_md5="228deed4860087efddb6df42ddfe5f04"
|
||||
|
BIN
godot/.import/oob.wav-ba8fd936fc73ee5c7c2e525a503f94a1.sample
Normal file
BIN
godot/.import/oob.wav-ba8fd936fc73ee5c7c2e525a503f94a1.sample
Normal file
Binary file not shown.
BIN
godot/assets/audio/oob.wav
Normal file
BIN
godot/assets/audio/oob.wav
Normal file
Binary file not shown.
23
godot/assets/audio/oob.wav.import
Normal file
23
godot/assets/audio/oob.wav.import
Normal file
|
@ -0,0 +1,23 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamSample"
|
||||
path="res://.import/oob.wav-ba8fd936fc73ee5c7c2e525a503f94a1.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/audio/oob.wav"
|
||||
dest_files=[ "res://.import/oob.wav-ba8fd936fc73ee5c7c2e525a503f94a1.sample" ]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=2
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=0
|
27
godot/assets/meat_bore/ObeliskRingSound.gd
Normal file
27
godot/assets/meat_bore/ObeliskRingSound.gd
Normal file
|
@ -0,0 +1,27 @@
|
|||
extends Area
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
||||
|
||||
|
||||
func _on_Area_body_entered(body):
|
||||
if body.get_parent() != Util.player:
|
||||
return
|
||||
$AudioStreamPlayer.stop()
|
||||
|
||||
func _on_Area_body_exited(body):
|
||||
if body.get_parent() != Util.player:
|
||||
return
|
||||
$AudioStreamPlayer.play()
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue