-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Caching! and uh yea more arrow system work
- Loading branch information
1 parent
573a4a2
commit 0bc8d1f
Showing
11 changed files
with
1,549 additions
and
1,438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"Songs": | ||
{ | ||
"FreakyMenu": | ||
"res://Assets/Menus/Music&Sounds/freakyMenu.ogg" | ||
}, | ||
"Sounds": | ||
{ | ||
"cancelMenu": | ||
"res://Assets/Menus/Music&Sounds/cancelMenu.wav", | ||
"confirmMenu": | ||
"res://Assets/Menus/Music&Sounds/confirmMenu.wav", | ||
"intro3": | ||
"res://Assets/Stages/RhythmSystem/countdown/intro3.ogg", | ||
"intro2": | ||
"res://Assets/Stages/RhythmSystem/countdown/intro2.ogg", | ||
"intro1": | ||
"res://Assets/Stages/RhythmSystem/countdown/intro1.ogg", | ||
"LinuxSplash": | ||
"res://Assets/Menus/Music&Sounds/LinuxSplash.wav", | ||
"introGo": | ||
"res://Assets/Stages/RhythmSystem/countdown/introGo.ogg", | ||
"scrollMenu": | ||
"res://Assets/Menus/Music&Sounds/scrollMenu.wav", | ||
"SplashSound": | ||
"res://Assets/Menus/Music&Sounds/SplashSound.wav", | ||
"Alert": | ||
"res://Assets/Menus/Music&Sounds/Alert.wav", | ||
"first_button_hover": | ||
"res://Misc/FirstUse/Sounds/ui_button_hover.wav", | ||
"first_button_selected": | ||
"res://Misc/FirstUse/Sounds/ui_button_selected.wav", | ||
"first_done": | ||
"res://Misc/FirstUse/Sounds/ui_done.wav" | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[remap] | ||
|
||
importer="wav" | ||
type="AudioStreamSample" | ||
path="res://.import/LinuxSplash.wav-bb948bc506660f56742cf8de8b569a5a.sample" | ||
|
||
[deps] | ||
|
||
source_file="res://Assets/Menus/Music&Sounds/LinuxSplash.wav" | ||
dest_files=[ "res://.import/LinuxSplash.wav-bb948bc506660f56742cf8de8b569a5a.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=false | ||
compress/mode=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
extends Node | ||
|
||
|
||
# Songs | ||
var FreakyMenu:Resource | ||
|
||
# Sounds | ||
var cancelMenu:Resource | ||
var confirmMenu:Resource | ||
var intro3:Resource | ||
var intro2:Resource | ||
var intro1:Resource | ||
var LinuxSplash:Resource | ||
var introGo:Resource | ||
var scrollMenu:Resource | ||
var SplashSound:Resource | ||
var Alert:Resource | ||
var first_button_hover:Resource | ||
var first_button_selected:Resource | ||
var first_done:Resource | ||
|
||
func loadResources(JsonContainingLocations = "res://Assets/JSON&Text_Files/ResourceLocations.json"): | ||
# you would do this in godot 4 | ||
# var json = JSON.new() | ||
# var jsonObject = json.parse(load(JsonContainingLocations)) | ||
# var json_complete = json.get_data() | ||
var file = File.new() | ||
file.open(JsonContainingLocations, File.READ) | ||
var json = file.get_as_text() | ||
var json_complete = parse_json(json) | ||
cancelMenu = load(json_complete.Sounds.cancelMenu) | ||
confirmMenu = load(json_complete.Sounds.confirmMenu) | ||
intro3 = load(json_complete.Sounds.intro3) | ||
intro2 = load(json_complete.Sounds.intro2) | ||
intro1 = load(json_complete.Sounds.intro1) | ||
introGo = load(json_complete.Sounds.introGo) | ||
scrollMenu = load(json_complete.Sounds.scrollMenu) | ||
Alert = load(json_complete.Sounds.Alert) | ||
func loadRequiredResources(JsonContainingLocations = "res://Assets/JSON&Text_Files/ResourceLocations.json"): | ||
var file = File.new() | ||
file.open(JsonContainingLocations, File.READ) | ||
var json = file.get_as_text() | ||
var json_complete = parse_json(json) | ||
first_button_hover = load(json_complete.Sounds.first_button_hover) | ||
first_button_selected = load(json_complete.Sounds.first_button_selected) | ||
first_done = load(json_complete.Sounds.first_done) | ||
SplashSound = load(json_complete.Sounds.SplashSound) | ||
LinuxSplash = load(json_complete.Sounds.LinuxSplash) | ||
func _ready(): | ||
loadRequiredResources() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.