sound efects
This commit is contained in:
parent
f4dbc0249b
commit
d3eef9dbac
10 changed files with 130 additions and 108 deletions
|
@ -26,9 +26,12 @@ text = "Midori in the Magic School
|
|||
Programming
|
||||
Page Asgardius
|
||||
|
||||
Character design
|
||||
Page Asgardius
|
||||
|
||||
Made with Godot Engine
|
||||
|
||||
Testing
|
||||
Testing Devices
|
||||
|
||||
Asus VivoBook X1500EA
|
||||
Arch Linux Rolling
|
||||
|
@ -39,6 +42,11 @@ Steam Deck
|
|||
Arch Linux Rolling
|
||||
Provided by Evelyn Freeman
|
||||
|
||||
HP Pavilion x360
|
||||
Debian 12
|
||||
Game assets were designed with this device
|
||||
Provided by Eric Asgardius
|
||||
|
||||
Feedback
|
||||
Sakura Nakayama
|
||||
Tood
|
||||
|
@ -49,8 +57,7 @@ Beachkid
|
|||
Sakura Nakayama
|
||||
|
||||
Music
|
||||
|
||||
Soundtrack provided by archive.org
|
||||
Soundtrack provided by archive.org and Bandcamp
|
||||
|
||||
Title screen
|
||||
RELOADED Theme
|
||||
|
@ -120,9 +127,24 @@ Credit roll 2
|
|||
too old
|
||||
tj technoiZ
|
||||
|
||||
Credit roll 3
|
||||
portello
|
||||
motherchip
|
||||
The Magic School
|
||||
songbirds playground
|
||||
Vince Kaichan
|
||||
|
||||
Deep Forest
|
||||
Gotanda Lights
|
||||
Vince Kaichan
|
||||
|
||||
Boss Fight (Earth)
|
||||
unreeeal superhero 3
|
||||
rez-kenet
|
||||
|
||||
Sound Effects
|
||||
Provided by Pixabay
|
||||
|
||||
Game Over
|
||||
Brain Damage
|
||||
Daub Audio
|
||||
|
||||
Encoders
|
||||
|
||||
|
@ -145,6 +167,18 @@ xiph.org
|
|||
PCM
|
||||
Public Domain
|
||||
|
||||
Asset design tools
|
||||
|
||||
Stable Diffusion
|
||||
CompVis
|
||||
Used only for placeholders (currently unused)
|
||||
|
||||
Krita
|
||||
KDE Community
|
||||
|
||||
GNU Image Manipulation Program
|
||||
GNU Project
|
||||
|
||||
Engine development
|
||||
|
||||
Project Founders
|
||||
|
@ -435,6 +469,12 @@ Unity Technologies
|
|||
For make me choosing Godot
|
||||
Godot does what Unitydnt
|
||||
|
||||
Ferdowsi
|
||||
For writing the book that inspired the Blacksmith of Destruction
|
||||
|
||||
Shigeru Miyamoto
|
||||
For let me know that an elf as a main character is a great idea
|
||||
|
||||
CAPCOM
|
||||
For making great games in the past
|
||||
|
||||
|
@ -466,6 +506,10 @@ You are free to distribute this game and make modifications, but remember sharin
|
|||
|
||||
You are free to create guides, but i suggest avoiding cheat codes
|
||||
|
||||
Buy Tracker Works from Vince Kaichan at
|
||||
https://vincekaichan.bandcamp.com/album/tracker-works-2014-2018
|
||||
You will find all tracks from this composer that was used here
|
||||
|
||||
You can reuse assets for non-commercial purposes only"
|
||||
horizontal_alignment = 1
|
||||
script = ExtResource("6_3q8sp")
|
||||
|
|
|
@ -3,12 +3,14 @@ var level
|
|||
var player
|
||||
var music
|
||||
var bgsound := AudioStreamPlayer.new()
|
||||
var sfx1 := AudioStreamPlayer.new()
|
||||
var musictrack
|
||||
var isboss
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
add_child(bgsound)
|
||||
add_child(sfx1)
|
||||
if Global.debug:
|
||||
level = load(Global.places[Global.dplace[0]][Global.dplace[1]][Global.dplace[2]][0]).instantiate()
|
||||
player = load(Global.pchars[Global.dcpchar]).instantiate()
|
||||
|
@ -32,8 +34,11 @@ func _ready():
|
|||
get_tree().root.add_child.call_deferred(level)
|
||||
get_tree().root.add_child.call_deferred(player)
|
||||
bgsound.stream = music
|
||||
if !isboss:
|
||||
bgsound.play(0)
|
||||
if isboss:
|
||||
sfx1.stream = load(Global.sfxtracks[1])
|
||||
sfx1.play(0)
|
||||
bgsound.play(0)
|
||||
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
|
|
|
@ -5,7 +5,7 @@ var player := AudioStreamPlayer.new()
|
|||
func _ready():
|
||||
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
|
||||
add_child(player)
|
||||
$"BoxContainer/VBoxContainer/Title Screen".grab_focus()
|
||||
$"BoxContainer/VBoxContainer/Game Over".grab_focus()
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
|
@ -50,3 +50,13 @@ func _input(event):
|
|||
func _on_back_pressed():
|
||||
get_tree().change_scene_to_file("res://levels/ui/soundtest.tscn")
|
||||
|
||||
|
||||
|
||||
func _on_game_over_pressed():
|
||||
player.stream = load(Global.sfxtracks[0])
|
||||
player.play(0)
|
||||
|
||||
|
||||
func _on_gauge_fill_pressed():
|
||||
player.stream = load(Global.sfxtracks[1])
|
||||
player.play(0)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://cv2a37xetkkse"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cv2a37xetkkse"]
|
||||
|
||||
[ext_resource type="Script" path="res://levels/ui/sfxtest.gd" id="1_l1lbb"]
|
||||
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="2_c55jp"]
|
||||
|
@ -8,9 +8,6 @@
|
|||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cprm3"]
|
||||
bg_color = Color(0, 0.8, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_alctd"]
|
||||
bg_color = Color(0, 0.8, 0, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0dqsq"]
|
||||
bg_color = Color(0, 0.8, 0, 1)
|
||||
|
||||
|
@ -65,110 +62,26 @@ grow_vertical = 0
|
|||
[node name="VBoxContainer" type="VBoxContainer" parent="BoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title Screen" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
[node name="Game Over" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_cprm3")
|
||||
text = "Title Screen"
|
||||
text = "Game Over"
|
||||
|
||||
[node name="Disclaimer, Settings, Stores" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
[node name="Gauge Fill" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_cprm3")
|
||||
text = "Disclaimer, Settings, Stores"
|
||||
|
||||
[node name="Testrooms" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Testrooms"
|
||||
|
||||
[node name="Friendly challenge" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Friendly challenge"
|
||||
|
||||
[node name="School nursery" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "School nursery"
|
||||
|
||||
[node name="Overworld (Ceres)" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Overworld (Ceres)"
|
||||
|
||||
[node name="Boss fight (Ceres)" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Boss fight (Ceres)"
|
||||
|
||||
[node name="Overworld (Earth)" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Overworld (Earth)"
|
||||
|
||||
[node name="The Zubmarine Zone" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "The Zubmarine Zone"
|
||||
text = "Gauge Fill"
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="BoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Radioactive Desert" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
[node name="Placeholder 2" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Radioactive Desert"
|
||||
|
||||
[node name="Boss Fight (Earth)" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Boss Fight (Earth)"
|
||||
|
||||
[node name="Dungeon of Destruction" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Dungeon of Destruction"
|
||||
|
||||
[node name="Final Boss Fight" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Final Boss Fight"
|
||||
|
||||
[node name="Ending Theme" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Ending Theme"
|
||||
|
||||
[node name="Credits 1" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Credits 1"
|
||||
|
||||
[node name="Credits 2" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Credits 2"
|
||||
|
||||
[node name="Credits 3" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_alctd")
|
||||
text = "Credits 3"
|
||||
theme_override_styles/focus = SubResource("StyleBoxFlat_cprm3")
|
||||
text = "Placeholder 2"
|
||||
|
||||
[node name="Back" type="Button" parent="BoxContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
@ -180,3 +93,5 @@ text = "Back"
|
|||
layout_mode = 1
|
||||
|
||||
[connection signal="finished" from="nebula" to="nebula" method="_on_finished"]
|
||||
[connection signal="pressed" from="BoxContainer/VBoxContainer/Game Over" to="." method="_on_game_over_pressed"]
|
||||
[connection signal="pressed" from="BoxContainer/VBoxContainer/Gauge Fill" to="." method="_on_gauge_fill_pressed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue