1
Programming Questions / Re: game maker help
« on: December 04, 2013, 07:30:52 PM »
='( sorry
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
if !sound_isplaying(track01) { sound_loop(track01); }
//カーソル移動
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が宣言されています。
**/