issam
Member
Hello,
I am making a mini game for blind people, its should be playing rhythms by 3 fingers and the 4th for record as in picture below, now I need to add multi touch feature to play rhythms together, as I read the code should be like that:
"
for (var i = 0; i < 4; i += 1) {
if (device_mouse_check_button_pressed(i, mb_any)) {
audio_play_sound(b1,1,0)
}}
"
I put that code in every 3 beating objects in press event but it is not work, So how can I make it work please?
I am making a mini game for blind people, its should be playing rhythms by 3 fingers and the 4th for record as in picture below, now I need to add multi touch feature to play rhythms together, as I read the code should be like that:
"
for (var i = 0; i < 4; i += 1) {
if (device_mouse_check_button_pressed(i, mb_any)) {
audio_play_sound(b1,1,0)
}}
"
I put that code in every 3 beating objects in press event but it is not work, So how can I make it work please?