i just created a 3d game with my mate but when i run it i got around 9 to 12 FPS and it looks crap. however UT,Q3 and Half-Life run at around 80FPS whats wrong with this gay ass program
Printable View
i just created a 3d game with my mate but when i run it i got around 9 to 12 FPS and it looks crap. however UT,Q3 and Half-Life run at around 80FPS whats wrong with this gay ass program
If you made it in VB thats Problem 1.:p
i am but i am also using the directx8 SDK
Just be asure not to have a whole bounch of codes in your loop. This slows down your program/game/whatever incredibly, especially in VB. Keep as much code as possible outside the loop and you should be fine...i think :D
thanks
If you want your game to be fast, only use Triangle Fans, and Triangle lists for rendering. Most games also use Space partitioning to determine what parts of a level or whatever are visible, and only render those parts, plus whatever is in them. There are many ways of doing this, such as BSPs(Binary Space Partions) OctTrees, QuadTrees, etc. If you have face culling turned off, turn it on. Another hit you are going to take is with the actual game code. If its in VB, any logic that has to take place (AI, Collisions, etc, etc) will be in VB, and thus, be very slow. There are lots of other methods of speeding up rendering, just look around.
Z.