Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have made a very little game which implements one aircraft dodges many bullets coming from all direction.I create such a game by C#&Directx9,however, I have no idea how to detect users press 2 keys(i.e,left arrow and up arrow) at the same time.

Maybe it is a very simple problem to you,but to me it is a hot potato:)

Any Robin Hoods can give me a hand?

  • *Experts*
Posted
You cant do it with standard keyboard events because they only pass in one keycode, I think you would have to invest some time in learning DirectInput :).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...