Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, SBGuy, TipmyPip, ozgur), 923 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: frame rate [Re: Matt_Aufderheide] #73725
06/07/06 19:51
06/07/06 19:51
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Matt is correct. If you have a Max FPS higher then the monitors refresh rate, then you are just wasting processing power. The engine would be drawing frames that are never drawn by the monitor.


xXxGuitar511
- Programmer
Re: frame rate [Re: xXxGuitar511] #73726
07/05/06 16:10
07/05/06 16:10
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
hmmm what if you were to try:
fps_max = 60;
fps_min = 30;
fps_lock = on;


- aka Manslayer101
Re: frame rate [Re: mpdeveloper_B] #73727
07/05/06 16:12
07/05/06 16:12
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
ok with this set i get a framerate of ~32 fps...hmm i will try other combinations and see which i can get to work better
although i am not in a blank box and there is more that one piece of code, this is helpful though, as you can test how well the game will play with all this working together

Last edited by Manslayer101; 07/05/06 16:16.

- aka Manslayer101
Re: frame rate [Re: mpdeveloper_B] #73728
08/31/06 06:53
08/31/06 06:53
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline
Warned
Why_Do_I_Die  Offline
Warned

Joined: May 2005
Posts: 819
U.S.
Well , since for my game I just finished I needed to use DX8 , I installed gamestudio on another folder , and only updated it to 6.22 , and remembered this topic , so I checked the fps while running the game and it stays solid at 59 on fps_max 60 , using fps_max 61 it stays at like 61 i think , this is how I remember gamestudio acting before the weird fps problems , so its definately something from 6.31 and up , as if i run the game on my 6.31 installation I have the messed up fps , where i have to set it to 64 so itll stay at aroudn 60 , but even then theres always that 3 to 4 frame drop every now and then I constantly get , and when I run it on the 6.22 installation it stays solid at 59 , no fluctuation at all , and this is the exact same game with the exact same code running , so definately something with the 6.31 update and above.

Last edited by Why_Do_I_Die; 08/31/06 06:53.
Re: frame rate [Re: Why_Do_I_Die] #73729
08/31/06 08:34
08/31/06 08:34
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
I confirm this too myself. In 6.22, it was very constant. In 6.31 and 6.4, this is happening a lot. In my 2D game, I watch the F11 debug panel slowly dropping toward 63 then suddenly changing to 66 within one frame then dropping back down to 63. From using a panel to display the value of this:

game_fps = pow(time, -1)*16;

then displaying the game fps value, I can see this value change from around the 64 area then, for one frame, changes to 128, then returns to normal and this change occurs 2 to 4 times a second and would explain the behavior I see in the F11 debug panel. Do you get this in the 6.22 update and does it start occurring since the 6.31 update?


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Page 3 of 3 1 2 3

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1