sorry, is this any better? https://imgur.com/Ha4VlHe (https://imgur.com/Ha4VlHe)
//カーソル移動
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);
}
//音楽を鳴らす
/**
詳しくは、Roomに配置されているplayMusicを
Ctrl押しながら右クリックをして
「CreationCode vを選択して中を覗いて下さい。
そこで、再生するSoundが宣言されています。
**/
Hi, sorry about that. Here is the code I menuselect code that i changedCode: [Select]//カーソル移動
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
Code: [Select]//音楽を鳴らす
/**
詳しくは、Roomに配置されているplayMusicを
Ctrl押しながら右クリックをして
「CreationCode vを選択して中を覗いて下さい。
そこで、再生するSoundが宣言されています。
**/
so im not really sure how to get my track playing with that code
Thanks
if !sound_isplaying(track01) { sound_loop(track01); }