From 96131747bb81acbcad321fa592876c9109a1b4b0 Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Thu, 25 Jan 2024 20:20:10 -0700 Subject: [PATCH] music track info --- global.gd | 2 +- levels/ui/musictest.gd | 24 ++++++++++++++++++++++++ levels/ui/musictest.tscn | 8 ++++++++ main.tscn | 2 +- music/Gotanda.wav.import | 2 +- music/songbirds.wav.import | 2 +- music/unreeeal.wav.import | 2 +- 7 files changed, 37 insertions(+), 5 deletions(-) diff --git a/global.gd b/global.gd index 02cf2af..c072e8b 100644 --- a/global.gd +++ b/global.gd @@ -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 sfxtracks = ["res://sfx/braindamage.wav", "res://sfx/gaugefill.wav", "res://sfx/boomboombakudan.wav"] var debug = false -const release = "R0.0.0-dev" +const release = "R0.0.1-dev" var sk = false var xm = 0 var ym = 0 diff --git a/levels/ui/musictest.gd b/levels/ui/musictest.gd index 145da66..495418e 100644 --- a/levels/ui/musictest.gd +++ b/levels/ui/musictest.gd @@ -1,11 +1,13 @@ extends Control var player := AudioStreamPlayer.new() +var infobox func _ready(): Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN) add_child(player) $"BoxContainer/VBoxContainer/Title Screen".grab_focus() + infobox = $Info # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta): @@ -33,6 +35,7 @@ func _input(event): if Input.is_action_just_pressed("ui_cancel"): _on_back_pressed() if Input.is_key_pressed(KEY_X) || Input.is_joy_button_pressed(0,JOY_BUTTON_X): + infobox.set_text("") player.stop() #print("Mouse Click/Unclick at: ", event.position) # if highlighted == 1: @@ -53,10 +56,12 @@ func _on_back_pressed(): func _on_title_screen_pressed(): player.stream = load(Global.musictracks[0]) + infobox.set_text("RELOADED\nRELOADED THEME\nMidori is now RELOADED") player.play(0) func _on_disclaimer_settings_stores_pressed(): 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) @@ -64,80 +69,96 @@ func _on_disclaimer_settings_stores_pressed(): func _on_testrooms_pressed(): 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) func _on_friendly_challenge_pressed(): 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) func _on_school_nursery_pressed(): player.stream = load(Global.musictracks[4]) + infobox.set_text("JosSs\nExtra Life\nDo you want an Extra Life?\nYou need them") player.play(0) func _on_overworld_ceres_pressed(): 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) func _on_boss_fight_ceres_pressed(): 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) func _on_result_pressed(): 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) func _on_overworld_earth_pressed(): 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) func _on_the_zubmarine_zone_pressed(): 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) func _on_radioactive_desert_pressed(): 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) func _on_natashas_theme_pressed(): 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) func _on_dungeon_of_destruction_pressed(): 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) func _on_final_boss_fight_pressed(): 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) func _on_ending_theme_pressed(): player.stream = load(Global.musictracks[14]) + infobox.set_text("Vince Kaichan\nMilky Way\nWe won, but at what cost?") player.play(0) func _on_credits_1_pressed(): 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) func _on_credits_2_pressed(): 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) func _on_credits_3_pressed(): 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) @@ -145,14 +166,17 @@ func _on_credits_3_pressed(): func _on_the_magic_school_pressed(): 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) func _on_deep_forest_pressed(): 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) func _on_boss_fight_earth_pressed(): 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) diff --git a/levels/ui/musictest.tscn b/levels/ui/musictest.tscn index 4fbe2e5..7efe7c8 100644 --- a/levels/ui/musictest.tscn +++ b/levels/ui/musictest.tscn @@ -46,6 +46,14 @@ offset_bottom = 73.0 theme_override_font_sizes/font_size = 40 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="."] layout_mode = 0 offset_left = 5.0 diff --git a/main.tscn b/main.tscn index 4044094..ae3c7c8 100644 --- a/main.tscn +++ b/main.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=3 uid="uid://d0jrygo3ihcdk"] [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"] [node name="Main" type="Control"] diff --git a/music/Gotanda.wav.import b/music/Gotanda.wav.import index 0ee7492..6e13d7f 100644 --- a/music/Gotanda.wav.import +++ b/music/Gotanda.wav.import @@ -18,7 +18,7 @@ force/max_rate=false force/max_rate_hz=44100 edit/trim=false edit/normalize=false -edit/loop_mode=0 +edit/loop_mode=2 edit/loop_begin=0 edit/loop_end=-1 compress/mode=0 diff --git a/music/songbirds.wav.import b/music/songbirds.wav.import index 035016b..c8e9cfc 100644 --- a/music/songbirds.wav.import +++ b/music/songbirds.wav.import @@ -18,7 +18,7 @@ force/max_rate=false force/max_rate_hz=44100 edit/trim=false edit/normalize=false -edit/loop_mode=0 +edit/loop_mode=2 edit/loop_begin=0 edit/loop_end=-1 compress/mode=0 diff --git a/music/unreeeal.wav.import b/music/unreeeal.wav.import index 9f19b6a..c6586ee 100644 --- a/music/unreeeal.wav.import +++ b/music/unreeeal.wav.import @@ -18,7 +18,7 @@ force/max_rate=false force/max_rate_hz=44100 edit/trim=false edit/normalize=false -edit/loop_mode=0 +edit/loop_mode=2 edit/loop_begin=0 edit/loop_end=-1 compress/mode=0