I've some questions about games written in BlitzMax (but good in general I think)
I've quite finished my first game (a puzzle game) written in Bmax. Tested with a AthlonXP 1600+, Athlon64 3500+ and Athlon64 3800+x2 (all WinXP) it plays well (gfx & game syncro).
Yesterday I tested the game on a old&crappy notebook: Celeron800+128Mb+TridentCyberBlade+WinME
The game graphics is OK (the speed is quite the same as on the new machines - or acceptable for the hardware I think) but the general Game Speed is VERY different.
In my game every object has a own timer, so every N-Millisecs somethings happen.
I noticed that the only differene is the movement of the objects/sprites: I've used FLOAT to take the position .Xpixel and .Ypixel...
My questions are:
1. can the hardware plays in different manner (FLOAT slower on a Celeron than on a AthlonXP?)
2. Are Timers/Millisecs() EVER correct on different machines?
3. What are the best/good solution to determine the speed of a computer/hardware system and so to use this information in the game to 'fix' the speed?
4. Is it possibile to retrive gfx info about the GPU used? (eg: T&L support, AGP port and other strange info?)
5. Finally, what do you consider as the MINIMUM hardware requirements to play a game written in Bmax?
(for question 3: I'm using a For...Next from 1 to 100000 and misure the time difference (only CPU)...but other hints are welcome!)
(these questions are WINDOWS oriented, but I have a iBook @300Mhz and I'm testing the game on it - it's faster - many times faster - than a Celeron....)
Thanks in advance
I've quite finished my first game (a puzzle game) written in Bmax. Tested with a AthlonXP 1600+, Athlon64 3500+ and Athlon64 3800+x2 (all WinXP) it plays well (gfx & game syncro).
Yesterday I tested the game on a old&crappy notebook: Celeron800+128Mb+TridentCyberBlade+WinME
The game graphics is OK (the speed is quite the same as on the new machines - or acceptable for the hardware I think) but the general Game Speed is VERY different.
In my game every object has a own timer, so every N-Millisecs somethings happen.
I noticed that the only differene is the movement of the objects/sprites: I've used FLOAT to take the position .Xpixel and .Ypixel...
My questions are:
1. can the hardware plays in different manner (FLOAT slower on a Celeron than on a AthlonXP?)
2. Are Timers/Millisecs() EVER correct on different machines?
3. What are the best/good solution to determine the speed of a computer/hardware system and so to use this information in the game to 'fix' the speed?
4. Is it possibile to retrive gfx info about the GPU used? (eg: T&L support, AGP port and other strange info?)
5. Finally, what do you consider as the MINIMUM hardware requirements to play a game written in Bmax?
(for question 3: I'm using a For...Next from 1 to 100000 and misure the time difference (only CPU)...but other hints are welcome!)
(these questions are WINDOWS oriented, but I have a iBook @300Mhz and I'm testing the game on it - it's faster - many times faster - than a Celeron....)
Thanks in advance