FPS Test 2
-
DriakTravo
- Enthusiast

- Posts: 346
- Joined: Fri Oct 10, 2003 12:42 am
- Location: Tampa,FL,USA
- Contact:
FPS Test 2
Hey fellow PB Programmers! Thanks for everyones help on my last project!!!
Please help me on my new one... I need to know the framerate you are getting.... I am still kinda new in programming so I don't exactly know what kinds of loops and commands will slow a program down. And since I have such a fast computer, when I make a program it is usually slow on a computer with normal speed.... Thats where you come in... I need to know how fast my programs run on normal computers to make my code more efficient.
Is there any way to test what a game looks like on a slower computer if you don't have a slow computer? Like slowing your own computer down to test out a program?
Anyway, you can download the first test at: http://www.1matthew.com/downloads/FollowDemo.zip it is only 60k and the source is included. If you can help me out that would be great.
Thanks.
Please help me on my new one... I need to know the framerate you are getting.... I am still kinda new in programming so I don't exactly know what kinds of loops and commands will slow a program down. And since I have such a fast computer, when I make a program it is usually slow on a computer with normal speed.... Thats where you come in... I need to know how fast my programs run on normal computers to make my code more efficient.
Is there any way to test what a game looks like on a slower computer if you don't have a slow computer? Like slowing your own computer down to test out a program?
Anyway, you can download the first test at: http://www.1matthew.com/downloads/FollowDemo.zip it is only 60k and the source is included. If you can help me out that would be great.
Thanks.
-
VPureBasic
- User

- Posts: 59
- Joined: Fri Apr 25, 2003 6:09 pm
- Location: Quebec - Canada
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Re: FPS Test 2
.
Dell Inspiron 8200 Laptop:
Intel P4 Mobile w/SSE2 1.6 ghz, 1024 DDR RAM, GeForce 440 Go AGP 4x 64mb DDR RAM,
UltraSharp UXGA 15" Screen, 60gb HDD w/Intel 82801 CAM Ultra ATA Storage Controller
Running Window 2000 Pro [sp4]
58 fps @ 60hz (on UXGA)
(with) -- If OpenScreen(1600,1200, 32,"") = 0
78 fps @ 75hz (on UXGA)
(with) -- If OpenScreen(1600,1200, 32,"") = 0
- np
Dell Inspiron 8200 Laptop:
Intel P4 Mobile w/SSE2 1.6 ghz, 1024 DDR RAM, GeForce 440 Go AGP 4x 64mb DDR RAM,
UltraSharp UXGA 15" Screen, 60gb HDD w/Intel 82801 CAM Ultra ATA Storage Controller
Running Window 2000 Pro [sp4]
58 fps @ 60hz (on UXGA)
(with) -- If OpenScreen(1600,1200, 32,"") = 0
78 fps @ 75hz (on UXGA)
(with) -- If OpenScreen(1600,1200, 32,"") = 0
- np
Steady 84 - 85, being that 85 is my refresh rate. Nice star effect. 
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
DriakTravo
- Enthusiast

- Posts: 346
- Joined: Fri Oct 10, 2003 12:42 am
- Location: Tampa,FL,USA
- Contact:
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Re: FPS Test 2
Keep in mind.. that I only ran my tests at 1600x1200 32bit color ..
- np
- np
-
DriakTravo
- Enthusiast

- Posts: 346
- Joined: Fri Oct 10, 2003 12:42 am
- Location: Tampa,FL,USA
- Contact:
-
Road Runner
- User

- Posts: 48
- Joined: Tue Oct 07, 2003 3:10 pm
PC1 (k6-266, Win98SE, Sparkle S3/Virge DX graphics) reports:
Error loading Mouse!
Error loading Keyboard!
Error loading DirectX!
Error loading DirectX!
Then GPFs
PC2 (P-75 Win98SE onboard graphics) does the same
PC3 (Win98fe k6-III/450, ATi Expert@play graphics) produces a star field and a mouse cursor but nothing else, runs for 2 seconds then quits and reports 29 or 30fps.
Error loading Mouse!
Error loading Keyboard!
Error loading DirectX!
Error loading DirectX!
Then GPFs
PC2 (P-75 Win98SE onboard graphics) does the same
PC3 (Win98fe k6-III/450, ATi Expert@play graphics) produces a star field and a mouse cursor but nothing else, runs for 2 seconds then quits and reports 29 or 30fps.
That is actually quite hard to do (position cursor exactly to make the ship vanish).
I don't know why the ship disappears and can only come up with an inelegant solution, along the lines of:
Your code is pretty neat, BTW.
I don't know why the ship disappears and can only come up with an inelegant solution, along the lines of:
Code: Select all
If SpritePixelCollision(etc) <> 1
PlayerX + PlayerXS
PlayerY + PlayerYS
AddSmoke(etc)
Else ; klurge
PlayerX - 0.1
PlayerY - 0.1
EndIf-
DriakTravo
- Enthusiast

- Posts: 346
- Joined: Fri Oct 10, 2003 12:42 am
- Location: Tampa,FL,USA
- Contact:
WOW. . . . . . 8O 8O 8OPC1 (k6-266, Win98SE, Sparkle S3/Virge DX graphics) reports:
Error loading Mouse!
Error loading Keyboard!
Error loading DirectX!
Error loading DirectX!
Then GPFs
PC2 (P-75 Win98SE onboard graphics) does the same
PC3 (Win98fe k6-III/450, ATi Expert@play graphics) produces a star field and a mouse cursor but nothing else, runs for 2 seconds then quits and reports 29 or 30fps.
I am amazed - I feel sorry for you. I don't konw why my program doesn't work on your Windows98 Computer, but everyone else seems to work... Do ANY programs made in PB work for you? Must be a compatability issue with Win98?

