kikeru
This commit is contained in:
parent
62f4ba5f5f
commit
54f1b7c75d
15 changed files with 186 additions and 4 deletions
|
@ -1,4 +1,10 @@
|
|||
function song(name_="among us trap remix", shortname="autr", audio_=[m_null], bpm_=100, description_="when the im.ogg", maps_=[sm_null], loopstart=0,loopend=audio_sound_length(audio_[0])) constructor {
|
||||
#macro mus global.tracklist
|
||||
global.tracklist = {};
|
||||
global.playingmusic = new song();
|
||||
global.playingmusicdata = 0;
|
||||
global.playingmusictime = 0;
|
||||
|
||||
function song(name_="among us trap remix", shortname="autr", audio_=[m_null], bpm_=100, description_="when the im.ogg", maps_=[c_null], loopstart=0,loopend=audio_sound_length(audio_[0])) constructor {
|
||||
name = name_;
|
||||
audio = audio_;
|
||||
bpm = bpm_;
|
||||
|
@ -7,4 +13,8 @@ function song(name_="among us trap remix", shortname="autr", audio_=[m_null], bp
|
|||
self.loopStart = loopstart;
|
||||
self.loopEnd = loopend;
|
||||
variable_struct_set(global.tracklist, shortname, self);
|
||||
}
|
||||
}
|
||||
|
||||
nu song("menu", "menu", [m_menu]);
|
||||
nu song("map", "map", [m_map]);
|
||||
nu song("cutscene", "cutscene", [m_cutscene]);
|
|
@ -1,5 +1,6 @@
|
|||
function txt_intro() {
|
||||
ARTICULATOR.state = c_null;
|
||||
music_set(mus.cutscene);
|
||||
msg = msglang([
|
||||
|
||||
txt("Checkmate!", MOMIJI.SMUG, SPRITEPOS.LEFT, s_black),
|
||||
|
@ -37,5 +38,8 @@ function txt_intro() {
|
|||
|
||||
])
|
||||
|
||||
endevent = function() {ARTICULATOR.state = st_control};
|
||||
endevent = function() {
|
||||
ARTICULATOR.state = st_control;
|
||||
music_set(mus.map);
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
function txt_win() {
|
||||
ARTICULATOR.state = c_null;
|
||||
music_set(mus.cutscene);
|
||||
msg = msglang([
|
||||
|
||||
txt("Ow...", REISEN.WOBBLE, SPRITEPOS.RIGHT, s_black),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue