|
-
Jan 10th, 2006, 07:27 PM
#1
Thread Starter
New Member
Gameboard with Keyboard Controls
I'm am making a small roleplaying game, and I'm stuck at the point where I have to make a game board.
A simple way to explain what I'm seeking is: Imagine a chessboard where you move a piece with the keyboard keys. If anyone has an idea I would love to see a piece of samplecode on how to do this in a good way.
Thanks on beforehand
-
Jan 10th, 2006, 08:42 PM
#2
Re: Gameboard with Keyboard Controls
It depends exactly what you want but I would guess that the easiest way would be to make your board the background image of the form and then make the pieces controls that you can select and either move via the keyboard or the mouse with drag-and-drop. Each piece could be an image in a PictureBox which could have its Location property manipulated to move it around the board.
-
Jan 29th, 2006, 01:07 PM
#3
Thread Starter
New Member
Re: Gameboard with Keyboard Controls
Thanks, my main problem atm is that I dont have any experience with keyboard controls. Anyone have some small piece af sample code I could look at??
That would help alot, thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|