A
Aris
Where can I found the way that c++ manipulates mouse events in graphic mode?
thank you.
thank you.
Aris said:Where can I found the way that c++ manipulates mouse events in
graphic mode? thank you.
Aris said:I mean....I've tried to make the beginning of a known game in c++.You got a
paddle and you move it to repulse a ball coming of above . I need to move
the paddle using my mouse.So I want to know the way to handle it .Its
easy
to handle keyboard if you press that key the paddle moving right if you
press the ather its moving left but how can I do it by mouse?
Using a mouse completely depends on the OS you are using, so there isAris said:i think i got it....
do I have to make an assembly subrutine and connect it with my c++ program?
Thank you.
Aris said:I mean....I've tried to make the beginning of a known game in c++.You got a
paddle and you move it to repulse a ball coming of above . I need to move
the paddle using my mouse.So I want to know the way to handle it .Its easy
to handle keyboard if you press that key the paddle moving right if you
press the ather its moving left but how can I do it by mouse?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.