You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
invoker__qq edited this page Nov 15, 2020
·
2 revisions
Keyboard Input
intsum;
//mouse inputif(MousebReleased()) //or if(MousebHeld()) or if(MousebPressed())
{
sum++;
//do something
}
chart1[50];
sprintf(t1,"mouse pos is %d %d\nmouse released number is %d",mouse_pos_x,mouse_pos_y, sum);
DrawString(ScreenWidth()/2-200,ScreenHeight()/2+200,t1);