music track info

This commit is contained in:
Page Asgardius 2024-01-25 20:20:10 -07:00
parent db57753f23
commit 96131747bb
7 changed files with 37 additions and 5 deletions

View file

@ -22,7 +22,7 @@ var firstrun
const musictracks = ["res://music/reloaded.wav", "res://music/Jellies.wav", "res://music/getabrain.wav", "res://music/oskars.wav", "res://music/extralife.wav", "res://music/layers.wav", "res://music/caramel.wav", "res://music/XsEdzesSs.wav", "res://music/shakeshark.wav", "res://music/zubmarine.wav", "res://music/crammin.wav", "res://music/func.wav", "res://music/kaveh.wav", "res://music/rock.wav", "res://music/milkyway.wav", "res://music/sweetener.wav", "res://music/tooold.wav", "res://music/portello.wav", "res://music/songbirds.wav", "res://music/Gotanda.wav", "res://music/unreeeal.wav"] const musictracks = ["res://music/reloaded.wav", "res://music/Jellies.wav", "res://music/getabrain.wav", "res://music/oskars.wav", "res://music/extralife.wav", "res://music/layers.wav", "res://music/caramel.wav", "res://music/XsEdzesSs.wav", "res://music/shakeshark.wav", "res://music/zubmarine.wav", "res://music/crammin.wav", "res://music/func.wav", "res://music/kaveh.wav", "res://music/rock.wav", "res://music/milkyway.wav", "res://music/sweetener.wav", "res://music/tooold.wav", "res://music/portello.wav", "res://music/songbirds.wav", "res://music/Gotanda.wav", "res://music/unreeeal.wav"]
const sfxtracks = ["res://sfx/braindamage.wav", "res://sfx/gaugefill.wav", "res://sfx/boomboombakudan.wav"] const sfxtracks = ["res://sfx/braindamage.wav", "res://sfx/gaugefill.wav", "res://sfx/boomboombakudan.wav"]
var debug = false var debug = false
const release = "R0.0.0-dev" const release = "R0.0.1-dev"
var sk = false var sk = false
var xm = 0 var xm = 0
var ym = 0 var ym = 0

View file

@ -1,11 +1,13 @@
extends Control extends Control
var player := AudioStreamPlayer.new() var player := AudioStreamPlayer.new()
var infobox
func _ready(): func _ready():
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN) Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
add_child(player) add_child(player)
$"BoxContainer/VBoxContainer/Title Screen".grab_focus() $"BoxContainer/VBoxContainer/Title Screen".grab_focus()
infobox = $Info
# Called every frame. 'delta' is the elapsed time since the previous frame. # Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta): func _process(delta):
@ -33,6 +35,7 @@ func _input(event):
if Input.is_action_just_pressed("ui_cancel"): if Input.is_action_just_pressed("ui_cancel"):
_on_back_pressed() _on_back_pressed()
if Input.is_key_pressed(KEY_X) || Input.is_joy_button_pressed(0,JOY_BUTTON_X): if Input.is_key_pressed(KEY_X) || Input.is_joy_button_pressed(0,JOY_BUTTON_X):
infobox.set_text("")
player.stop() player.stop()
#print("Mouse Click/Unclick at: ", event.position) #print("Mouse Click/Unclick at: ", event.position)
# if highlighted == 1: # if highlighted == 1:
@ -53,10 +56,12 @@ func _on_back_pressed():
func _on_title_screen_pressed(): func _on_title_screen_pressed():
player.stream = load(Global.musictracks[0]) player.stream = load(Global.musictracks[0])
infobox.set_text("RELOADED\nRELOADED THEME\nMidori is now RELOADED")
player.play(0) player.play(0)
func _on_disclaimer_settings_stores_pressed(): func _on_disclaimer_settings_stores_pressed():
player.stream = load(Global.musictracks[1]) player.stream = load(Global.musictracks[1])
infobox.set_text("Vince Kaichan\nJellies in the Sea\nA relaxing sea music to prepare you for this explosive Action RPG")
player.play(0) player.play(0)
@ -64,80 +69,96 @@ func _on_disclaimer_settings_stores_pressed():
func _on_testrooms_pressed(): func _on_testrooms_pressed():
player.stream = load(Global.musictracks[2]) player.stream = load(Global.musictracks[2])
infobox.set_text("Fearofdark\nGet A Brain Morans\nMeme Music for a meme themed stage.\nYou can enter here using Test Milk and\nget something interesting")
player.play(0) player.play(0)
func _on_friendly_challenge_pressed(): func _on_friendly_challenge_pressed():
player.stream = load(Global.musictracks[3]) player.stream = load(Global.musictracks[3])
infobox.set_text("MrGamer\nOskars Skarmslackare\nPlayer Piano and Mechanical Drummer makes a great duo\nCenturies pass in the blink of an eye\nDo you feel old with this song? I too")
player.play(0) player.play(0)
func _on_school_nursery_pressed(): func _on_school_nursery_pressed():
player.stream = load(Global.musictracks[4]) player.stream = load(Global.musictracks[4])
infobox.set_text("JosSs\nExtra Life\nDo you want an Extra Life?\nYou need them")
player.play(0) player.play(0)
func _on_overworld_ceres_pressed(): func _on_overworld_ceres_pressed():
player.stream = load(Global.musictracks[5]) player.stream = load(Global.musictracks[5])
infobox.set_text("Ceekayed\nLayers\nGame graphics are made with a lot of texture layers\nmerged inside a single canvas")
player.play(0) player.play(0)
func _on_boss_fight_ceres_pressed(): func _on_boss_fight_ceres_pressed():
player.stream = load(Global.musictracks[6]) player.stream = load(Global.musictracks[6])
infobox.set_text("ko0x\ncaramel condition\nPamela stole your candy using her Kung Fu Powers\nYou have a better weapon: Fireballs")
player.play(0) player.play(0)
func _on_result_pressed(): func _on_result_pressed():
player.stream = load(Global.musictracks[7]) player.stream = load(Global.musictracks[7])
infobox.set_text("JosSs\nXs EdzesSs\nMost players can be confused by\nthe ways to earn experience in this game")
player.play(0) player.play(0)
func _on_overworld_earth_pressed(): func _on_overworld_earth_pressed():
player.stream = load(Global.musictracks[8]) player.stream = load(Global.musictracks[8])
infobox.set_text("Vince Kaichan\nShakeshack Galaxy\nA song composed at Earth made to spread across the Galaxy\nYour father can give you an asteroid to achieve that")
player.play(0) player.play(0)
func _on_the_zubmarine_zone_pressed(): func _on_the_zubmarine_zone_pressed():
player.stream = load(Global.musictracks[9]) player.stream = load(Global.musictracks[9])
infobox.set_text("Vince Kaichan\nThe Zubmarine Zone\nA militar base fill with Zubmarines and fire weapons\nYou can find a lot of Heavy Machine Guns here")
player.play(0) player.play(0)
func _on_radioactive_desert_pressed(): func _on_radioactive_desert_pressed():
player.stream = load(Global.musictracks[10]) player.stream = load(Global.musictracks[10])
infobox.set_text("Vince Kaichan\ncrammin jammin\nDesert radiation can kill humans instantly\nBut you can stay here without issues\nAt June 2, 2002 a Half Genie Girl born here\nIf you think that this game has an unique humour\nhere is the answer")
player.play(0) player.play(0)
func _on_natashas_theme_pressed(): func _on_natashas_theme_pressed():
player.stream = load(Global.musictracks[11]) player.stream = load(Global.musictracks[11])
infobox.set_text("Vince Kaichan\nThe Func\nYou are fighting against a Maverick Fairy with a sad past\nand a hate against humans.\nA Lunate Elf like you can change her mind\nbecause that fairy also has pointy ears")
player.play(0) player.play(0)
func _on_dungeon_of_destruction_pressed(): func _on_dungeon_of_destruction_pressed():
player.stream = load(Global.musictracks[12]) player.stream = load(Global.musictracks[12])
infobox.set_text("xerxes\nKaveh's theme\nThe Blacksmith of Destruction gave his name to a former untitled theme\nHe can give you the best weapon set from the universe,\nbut you must earn them\nThe Chosen One has a harder life that normal people")
player.play(0) player.play(0)
func _on_final_boss_fight_pressed(): func _on_final_boss_fight_pressed():
player.stream = load(Global.musictracks[13]) player.stream = load(Global.musictracks[13])
infobox.set_text("ko0x\nzenon\nYou trained for this\nIt's time to shine like Zenon Lights\nand make you final explosion")
player.play(0) player.play(0)
func _on_ending_theme_pressed(): func _on_ending_theme_pressed():
player.stream = load(Global.musictracks[14]) player.stream = load(Global.musictracks[14])
infobox.set_text("Vince Kaichan\nMilky Way\nWe won, but at what cost?")
player.play(0) player.play(0)
func _on_credits_1_pressed(): func _on_credits_1_pressed():
player.stream = load(Global.musictracks[15]) player.stream = load(Global.musictracks[15])
infobox.set_text("Funky Fish and raina\nartificial sweetener\nThat candy was a fake one?\nNow that you are dead doesn't matter")
player.play(0) player.play(0)
func _on_credits_2_pressed(): func _on_credits_2_pressed():
player.stream = load(Global.musictracks[16]) player.stream = load(Global.musictracks[16])
infobox.set_text("tj technoiZ\ntoo old\nI'm too old to see my daughter dying")
player.play(0) player.play(0)
func _on_credits_3_pressed(): func _on_credits_3_pressed():
player.stream = load(Global.musictracks[17]) player.stream = load(Global.musictracks[17])
infobox.set_text("motherchip\nportello\nI said that you are dead?\nForget it\nThis is the true beggining")
player.play(0) player.play(0)
@ -145,14 +166,17 @@ func _on_credits_3_pressed():
func _on_the_magic_school_pressed(): func _on_the_magic_school_pressed():
player.stream = load(Global.musictracks[18]) player.stream = load(Global.musictracks[18])
infobox.set_text("Vince Kaichan\nsongbirds playground\nA happy song to forget that Kimberly will pull your ears\nwhen classes end\nYou know, that way to punish naughty elves like you")
player.play(0) player.play(0)
func _on_deep_forest_pressed(): func _on_deep_forest_pressed():
player.stream = load(Global.musictracks[19]) player.stream = load(Global.musictracks[19])
infobox.set_text("Vince Kaichan\nGotanda Lights\nThis forest is under the effect of quantum ice\nGo further and you will find a frozen lake\n and the origin of that quamtum ice")
player.play(0) player.play(0)
func _on_boss_fight_earth_pressed(): func _on_boss_fight_earth_pressed():
player.stream = load(Global.musictracks[20]) player.stream = load(Global.musictracks[20])
infobox.set_text("rez-kenet\nunreeeal superhero 3\nReal superheroes are too mainstream\nYou can be somebody better")
player.play(0) player.play(0)

View file

@ -46,6 +46,14 @@ offset_bottom = 73.0
theme_override_font_sizes/font_size = 40 theme_override_font_sizes/font_size = 40
text = "Music Test" text = "Music Test"
[node name="Info" type="Label" parent="."]
layout_mode = 0
offset_left = 28.0
offset_top = 94.0
offset_right = 322.0
offset_bottom = 164.0
theme_override_font_sizes/font_size = 20
[node name="Stop" type="Label" parent="."] [node name="Stop" type="Label" parent="."]
layout_mode = 0 layout_mode = 0
offset_left = 5.0 offset_left = 5.0

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=3 uid="uid://d0jrygo3ihcdk"] [gd_scene load_steps=4 format=3 uid="uid://d0jrygo3ihcdk"]
[ext_resource type="Script" path="res://main.gd" id="1_51vn3"] [ext_resource type="Script" path="res://main.gd" id="1_51vn3"]
[ext_resource type="PackedScene" path="res://selftest.tscn" id="2_jnmxu"] [ext_resource type="PackedScene" uid="uid://dblfov80ngodu" path="res://selftest.tscn" id="2_jnmxu"]
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="3_tig2r"] [ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="3_tig2r"]
[node name="Main" type="Control"] [node name="Main" type="Control"]

View file

@ -18,7 +18,7 @@ force/max_rate=false
force/max_rate_hz=44100 force/max_rate_hz=44100
edit/trim=false edit/trim=false
edit/normalize=false edit/normalize=false
edit/loop_mode=0 edit/loop_mode=2
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=0 compress/mode=0

View file

@ -18,7 +18,7 @@ force/max_rate=false
force/max_rate_hz=44100 force/max_rate_hz=44100
edit/trim=false edit/trim=false
edit/normalize=false edit/normalize=false
edit/loop_mode=0 edit/loop_mode=2
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=0 compress/mode=0

View file

@ -18,7 +18,7 @@ force/max_rate=false
force/max_rate_hz=44100 force/max_rate_hz=44100
edit/trim=false edit/trim=false
edit/normalize=false edit/normalize=false
edit/loop_mode=0 edit/loop_mode=2
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=0 compress/mode=0