Many people like Ronaldo De los Reyes ask me to support to add MS Control in form and keep control moving object by key pressed. In last time I was busy in my work with some new technical that make me lazy to open old project to find down answer for that question. Now, I'm back with this issue and try to solve it.
This video may solve this issue and help you can do more than only moving object.
Source code:
http://www.mediafire.com/download/5xcldywx42nnjh3/ObjectMoving_V2.zip
Video version 1 - Basic C# Game Programming Moving Object on the form: http://www.youtube.com/watch?v=3eIzmcTe0mg
* Note: what I change here:
- Set Form: this.KeyPreview = true;
- Use even KeyUp instead of KeyDown
Download
0 formats
No download links available.
Basic C# Game Programming Moving Object on the form - part2 | NatokHD