tulipvn Posted April 24, 2006 Posted April 24, 2006 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, Quote
Leaders Iceplug Posted April 25, 2006 Leaders Posted April 25, 2006 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). :) Quote Iceplug, USN One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(
tulipvn Posted April 26, 2006 Author Posted April 26, 2006 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.