Jump to content
  • Advertisement
Sign in to follow this  
andyb716

My first DirectX game.

This topic is 5409 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have made my first game in DirectX. Its a pong game that really doesn't do much and I need to get some feedback on how to optimize it and make it better here is the source code and exe. By the way it uses the latest DirectX SDK TestPong Push enter to serve the ball for first player, and space to server the ball for second player. [Edited by - andyb716 on September 29, 2004 6:14:20 PM]

Share this post


Link to post
Share on other sites
Advertisement
Sorry I forgot I use winrar. I converted it to a zip so heres the zip file.
Test Pong Zip File

Maybe I have Directx9 b and not c. I can't remember, but I don't know enough about failing devices to debug the program. Just tell me the specs on your computer and I'll try to figure it out.

Share this post


Link to post
Share on other sites
Quote:
Original post by Stru
Its in .rar I can't open it. Why would you not make it a .zip anyway?


Download winace


Quote:
Original post by ontheheap
"Failed to create Direct3D device"
anyway?


Worked fine for me.

I haven't looked at it closely, but it seemed to run pretty good. 60 fps. (vsync on) What are you getting?

Share this post


Link to post
Share on other sites
I added a computer player just go to the game menu and change a player to a computer. It seems to never miss the ball though so it's pretty impossible. Can someone help me try to calculate the physics or something, and the AI.

Share this post


Link to post
Share on other sites
Hi guys,

I was wondering abt turning VSYNC on... that's a switch in the video configuration right? not with the codes right?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!