Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Akow, tomaslolo), 1,536 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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