Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
game loop #78016
06/16/06 19:03
06/16/06 19:03
Joined: Oct 2003
Posts: 246
A
Alberto Offline OP
Member
Alberto  Offline OP
Member
A

Joined: Oct 2003
Posts: 246
hello

I attended an other forum about single and multiplayer games
I was mentioned an article about game loop .
Three implementations are possible

a) FPS dependent on Constant Game Speed

b) Game Speed dependent on Variable FPS

c) Constant Game Speed independent of Variable FPS

Which one is implemented by 3DGS and which one is supposed to be the best solution for a single player game ?

Thanks in advanced

Re: game loop [Re: Alberto] #78017
06/16/06 19:17
06/16/06 19:17
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
Options A and B fit, A only in the case of my 2D game. Watch what happens when you set the frame rate to 40 and 80 in a rather empty area and move around with a simple code like camera.x += 8*time; to move.


"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
Re: game loop [Re: ulillillia] #78018
06/16/06 19:46
06/16/06 19:46
Joined: Oct 2003
Posts: 246
A
Alberto Offline OP
Member
Alberto  Offline OP
Member
A

Joined: Oct 2003
Posts: 246
Thanks for your reply

It was also my opinion but according to this article it seems that the best solution is c)
You can find the article in "deWitters" web site


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