Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 12,885 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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