Advertisement

Speed problems and some questions

Started by July 05, 2000 11:03 AM
-1 comments, last by CO 24 years, 5 months ago
I''am a hobby-programmer which has finished his first little game, but I have some problems: - Does anybody know, how to open the Windows volume control by program (C++)? - How I can find out the program that opened ''html'' files (it''s path)? - Where can I buy the ''3D Max Studio 2'' and how much cost it? - When I dealing with vertics e.g. storing or manipulating them, is it better to use fix point math (bit shifting) or better to use the normal float variables? - I wrote a game which data are stored in different paths. At program start I getting the current program path with the Windows command: ''GetCurrentDirectory''. Well... all is fine when the user starts the program by clicking on the exe file in its path... but when I make a link e.g. in the Windows list to my program, I will get a wrong path (e.g. c:\Windows\alzey). My solution is, to ignore the whole path name, and use only the ''...\'' to go back or to go into the next file path. Is there an other, better solution as my own? - I''ve got speed problems with my first game (a simple Pac-Man clone) which I wrote with VisualC++ and OpenGL. I didn''t used BSP trees, because this do not work well with an simple matrix engine. I know, it''s possible to calculate which fields are seen and which are not. In the game aren''t much polygons, so it should normally run faster. I''ve used the display lists (for objects and walls) to improve the speed. What can I do to get better an FPS? Maybe use fix-point math? ... questions over questions which forbid me to sleep well! Could anybody who has experience in improving speed test my game... and tell me what I''ve done wrong with the speed? The URL: http://ablazespace.exit.de/ thanks in advance, Chris

This topic is closed to new replies.

Advertisement