if mouse_check_button(mb_left)
{
if (collision_point(mouse_x,mouse_y,id,true,false) >= 0)
{
room_restart();
}
}
mb_left - activated anyways instead of button
Started by ChefDavid22, May 22 2012 11:27 PM
No replies to this topic
#1
Posted 22 May 2012 - 11:27 PM
I'm noticing in my html5 build the check mouse button code works if I click anywhere on the screen rather than on the button itself. So once the round ends I can click anywhere to restart - in all other platforms it works by clicking on the button as designed. How can I adjust for html5?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











