946
Video Discussion / Re: Brute of a Man Stage 6
« on: December 14, 2013, 10:39:50 AM »
Kinata is definately the first. Thats why he is god.
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.
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