|EmilMatthew||Desinging a good game all by myself is always a dream in my mind.
When I touch VB ,I become to know that the time for my dream to become true is nearer.
On Chinese Website ,there are many forums about VB,but rarely
about using VB and DIRECT X to design a game .
Now,I am a beginner of Direct X with VB designing.
I feel very excited to be here.
Ok ,I want to ask my first question now:(maybe it is not about directx but it's really about game design)
How to use "up","Down" ,"Left" and "Right" button to control a object (for example,a "command" button)
I wrote my programme in the "form_keydown"event
the main part is like this>>
SELECT CASE KEYCODE
the result is that I failed to use these button to control the objects to move .
However,when I use the up ,down,left and right on the number keys (I hope you know what I mean ,the number keys means the right part on the keyboard)I use their "Keycode " in the "select case".I became successfully to control the object.
So ,who can tell me how to use "up","Down" ,"Left" and "Right" button to control a object ?
Thank you [|)]