forked from team-sg/hero-mark-2
penny haze and ivy voice lines
This commit is contained in:
parent
8e9ecc9ed2
commit
7fb4c77a08
19 changed files with 142 additions and 1 deletions
BIN
audio/sounds/good_job_haze.ogg
Normal file
BIN
audio/sounds/good_job_haze.ogg
Normal file
Binary file not shown.
15
audio/sounds/good_job_haze.ogg.import
Normal file
15
audio/sounds/good_job_haze.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/good_job_haze.ogg-e620bfd972c99200170ee2de1faaefb9.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/sounds/good_job_haze.ogg"
|
||||||
|
dest_files=[ "res://.import/good_job_haze.ogg-e620bfd972c99200170ee2de1faaefb9.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
audio/sounds/good_job_ivy.ogg
Normal file
BIN
audio/sounds/good_job_ivy.ogg
Normal file
Binary file not shown.
15
audio/sounds/good_job_ivy.ogg.import
Normal file
15
audio/sounds/good_job_ivy.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/good_job_ivy.ogg-980b3aa2dc9efcf1175aaa1cce605655.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/sounds/good_job_ivy.ogg"
|
||||||
|
dest_files=[ "res://.import/good_job_ivy.ogg-980b3aa2dc9efcf1175aaa1cce605655.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
audio/sounds/good_job_penny.ogg
Normal file
BIN
audio/sounds/good_job_penny.ogg
Normal file
Binary file not shown.
15
audio/sounds/good_job_penny.ogg.import
Normal file
15
audio/sounds/good_job_penny.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/good_job_penny.ogg-70bcb6e36cc4455c814fcf94355f30c9.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/sounds/good_job_penny.ogg"
|
||||||
|
dest_files=[ "res://.import/good_job_penny.ogg-70bcb6e36cc4455c814fcf94355f30c9.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
audio/sounds/revolution2083_haze.ogg
Normal file
BIN
audio/sounds/revolution2083_haze.ogg
Normal file
Binary file not shown.
15
audio/sounds/revolution2083_haze.ogg.import
Normal file
15
audio/sounds/revolution2083_haze.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/revolution2083_haze.ogg-247473aee090b187f949b1e5c093f822.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/sounds/revolution2083_haze.ogg"
|
||||||
|
dest_files=[ "res://.import/revolution2083_haze.ogg-247473aee090b187f949b1e5c093f822.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
audio/sounds/revolution2083_ivy.ogg
Normal file
BIN
audio/sounds/revolution2083_ivy.ogg
Normal file
Binary file not shown.
15
audio/sounds/revolution2083_ivy.ogg.import
Normal file
15
audio/sounds/revolution2083_ivy.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/revolution2083_ivy.ogg-2a69fc8e172b84075408eaaea361e6d0.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/sounds/revolution2083_ivy.ogg"
|
||||||
|
dest_files=[ "res://.import/revolution2083_ivy.ogg-2a69fc8e172b84075408eaaea361e6d0.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
audio/sounds/revolution2083_penny.ogg
Normal file
BIN
audio/sounds/revolution2083_penny.ogg
Normal file
Binary file not shown.
15
audio/sounds/revolution2083_penny.ogg.import
Normal file
15
audio/sounds/revolution2083_penny.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/revolution2083_penny.ogg-8b34787bef0f21de0eca352023586915.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/sounds/revolution2083_penny.ogg"
|
||||||
|
dest_files=[ "res://.import/revolution2083_penny.ogg-8b34787bef0f21de0eca352023586915.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
audio/sounds/victory_haze.ogg
Normal file
BIN
audio/sounds/victory_haze.ogg
Normal file
Binary file not shown.
15
audio/sounds/victory_haze.ogg.import
Normal file
15
audio/sounds/victory_haze.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/victory_haze.ogg-027025335f41e37625eab4e085744640.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/sounds/victory_haze.ogg"
|
||||||
|
dest_files=[ "res://.import/victory_haze.ogg-027025335f41e37625eab4e085744640.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
audio/sounds/victory_ivy.ogg
Normal file
BIN
audio/sounds/victory_ivy.ogg
Normal file
Binary file not shown.
15
audio/sounds/victory_ivy.ogg.import
Normal file
15
audio/sounds/victory_ivy.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/victory_ivy.ogg-90d79b449a26224d7ebee3d1a8729882.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/sounds/victory_ivy.ogg"
|
||||||
|
dest_files=[ "res://.import/victory_ivy.ogg-90d79b449a26224d7ebee3d1a8729882.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
audio/sounds/victory_penny.ogg
Normal file
BIN
audio/sounds/victory_penny.ogg
Normal file
Binary file not shown.
15
audio/sounds/victory_penny.ogg.import
Normal file
15
audio/sounds/victory_penny.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/victory_penny.ogg-1bf363727ea69db0c09326ac2a97f43a.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/sounds/victory_penny.ogg"
|
||||||
|
dest_files=[ "res://.import/victory_penny.ogg-1bf363727ea69db0c09326ac2a97f43a.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
|
@ -5,9 +5,14 @@ const penny_voice = preload("res://audio/sounds/revo83penny.ogg")
|
||||||
const haze_voice = preload("res://audio/sounds/revo83haze.ogg")
|
const haze_voice = preload("res://audio/sounds/revo83haze.ogg")
|
||||||
onready var audio = $AudioStreamPlayer
|
onready var audio = $AudioStreamPlayer
|
||||||
export var next_menu: PackedScene
|
export var next_menu: PackedScene
|
||||||
|
var has_started = false
|
||||||
|
onready var revolution_2083_robot = preload("res://audio/sounds/revolution2083.ogg")
|
||||||
|
onready var revolution_2083_penny = preload("res://audio/sounds/revolution2083_penny.ogg")
|
||||||
|
onready var revolution_2083_haze = preload("res://audio/sounds/revolution2083_haze.ogg")
|
||||||
|
onready var revolution_2083_ivy = preload("res://audio/sounds/revolution2083_ivy.ogg")
|
||||||
|
|
||||||
func _input(event):
|
func _input(event):
|
||||||
if Input.is_action_just_pressed("start"):
|
if Input.is_action_just_pressed("start") && !has_started:
|
||||||
Audio.play_sound(Audio.a_star,Audio.ac_collectible)
|
Audio.play_sound(Audio.a_star,Audio.ac_collectible)
|
||||||
var r = randi() % 101
|
var r = randi() % 101
|
||||||
if r % 2 == 0: audio.stream = penny_voice
|
if r % 2 == 0: audio.stream = penny_voice
|
||||||
|
@ -15,6 +20,7 @@ func _input(event):
|
||||||
if r == 0: audio.stream = robo_voice
|
if r == 0: audio.stream = robo_voice
|
||||||
audio.play()
|
audio.play()
|
||||||
$AnimationPlayer.play("activate")
|
$AnimationPlayer.play("activate")
|
||||||
|
has_started = true
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
Fade.fade_in(0.4)
|
Fade.fade_in(0.4)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue