My first DirectX game.
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]
"Failed to create Direct3D device"
I have the newest version installed. Any suggestions?
- heap
I have the newest version installed. Any suggestions?
- heap
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.
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.
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?
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.
Hi guys,
I was wondering abt turning VSYNC on... that's a switch in the video configuration right? not with the codes right?
I was wondering abt turning VSYNC on... that's a switch in the video configuration right? not with the codes right?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement