Hi, sorry about that. Here is the code I menuselect code that i changed
//カーソル移動
if(keyboard_check_pressed(global.leftbutton) == true){
sound_play(sndJump);
select -= 1;
if(select < 1){
select = 3;
}
}else if(keyboard_check_pressed(global.rightbutton) == true){
sound_play(sndJump);
select += 1;
if(select > 3){
select = 1;
}
}else if(keyboard_check_pressed(global.jumpbutton) == true){
global.savenum = select;
room_goto(sampleroom04);
}
I was also wondering how to play music with the play music icon. I dont want to play music from the game maker event because I dont want it to keep repeating. I read an earlier topic about this and it said to type if !sound_isplaying(song) { sound_loop(song); } on the creation code
Only problem is this is the code for the music player
//音楽を鳴らす
/**
詳しくは、Roomに配置されているplayMusicを
Ctrl押しながら右クリックをして
「CreationCode vを選択して中を覗いて下さい。
そこで、再生するSoundが宣言されています。
**/
so im not really sure how to get my track playing with that code
Thanks
First off, yuuutu edition originally leads to rSelectStage. From there you hop into a portal, which then saves your game afterwards.
alternatively, use menuSelect2. it doesn't require rSelectStage
for playMusic, the code stated is a bunch of broken-japanese characters that was used to help explain what to do originally. Don't do anything within the object. Just place it in the room and either ctrl+right click or just right click the playMusic object. then, in the object's creation code, use the if !sound_isplaying(...){sound_loop(...);}
Hope this helps