Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey anyone.

 

My assignment is making a 3D chess Game using C# and DirectX.

 

I ve already made a 2D chess Game which are implemented all rules.

 

I just started to be familar with DirectX and 3D staff.

 

I made all chess pieces and board with 3Ds Max and export them with x files.

 

I used pictured box[8,8] to specific position of chess pieces on the background (chess board) in 2D.

 

But my question is: how can I specific positions for chess pieces on the chess board in 3D ( like picture box in 3d easily)?

 

How can I add Mouse Listener for chess piece in 3D (to move chess pieces)?

 

Thank you very much for your helps up coming.

 

I am very appreciated about that.

 

Thanks.

 

Regards,

  • Leaders
Posted

I don't know what a Mouse Listener is... be less specific please.

 

To move a chess piece in three dimensions, you must first have some way of showing the chess piece. You can move the piece by applying translations to the world and then drawing the chess piece at 0,0 (which should actually correspond with the true coordinates of the chess piece, if your transformations are done correctly).

:)

Iceplug, USN

One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(

Posted
I don't know what a Mouse Listener is... be less specific please.

 

To move a chess piece in three dimensions, you must first have some way of showing the chess piece. You can move the piece by applying translations to the world and then drawing the chess piece at 0,0 (which should actually correspond with the true coordinates of the chess piece, if your transformations are done correctly).

:)

 

Thank for your reply.

 

Joesy

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...