Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/19/24 18:45
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, kzhao, 7th_zorro), 714 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how can i keep the fps up?? #150284
08/26/07 11:25
08/26/07 11:25
Joined: Jan 2007
Posts: 295
Portugal
Sam_Be Offline OP
Member
Sam_Be  Offline OP
Member

Joined: Jan 2007
Posts: 295
Portugal
hi
can somebody post here a script that makes that the fps keep up at about 30??
thax sam

Last edited by Sam_Be; 08/26/07 11:26.

GS-Extra Looking for a scripter Suche einen scripter. Estou a procura de um "Scripter".
Re: how can i keep the fps up?? [Re: Sam_Be] #150285
08/26/07 12:18
08/26/07 12:18
Joined: Jul 2002
Posts: 2,002
Europe
ShoreVietam Offline
Expert
ShoreVietam  Offline
Expert

Joined: Jul 2002
Posts: 2,002
Europe
*lol*

A Script?

If this was possible I'd sill use a 486 machine boosting it with a script.


Keeping FPS up is a matter of level design in first place.
Second place in your script (no addition stuff).

Using less time consuming functions, don't do everything every frame if not really necessary.

Removing level parts if not needed snice trace and move instruction need more time the more obejts are in the level (can be ~10 to 40 FPS with 600 entities less, depending on the script, too).

Use models with less polys, lowpoly does look very well, texture is much more important.

Use more models, level geometry consumes too much FPS.

Use smaller Terrain since the whole terrain has to be rendered even if only 20 polys are on the screen.

Keep lots stuff out of the view.


Just look at games like Half Life (1), Quake ect. they are complex, but there is not much on the screen.

Otherwise use iso view like I did in Dragonrise.

Models and Terrain, only the -simple- building is wmb:



My project Schlacht um Kyoto - Das Samurai Browsergame! (sorry, german only)
Re: how can i keep the fps up?? [Re: ShoreVietam] #150286
08/26/07 18:37
08/26/07 18:37
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
fps_max = 30; in case you ment restricting it


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Re: how can i keep the fps up?? [Re: EpsiloN] #150287
08/26/07 18:44
08/26/07 18:44
Joined: Nov 2003
Posts: 1,659
San Francisco
JetpackMonkey Offline
Serious User
JetpackMonkey  Offline
Serious User

Joined: Nov 2003
Posts: 1,659
San Francisco
You could use .dds textures, since they are decompressed directly by your graphics cards hardware and use less memory. Try fewer dynamic lights. If it's really a large world, you can use clipping or clip fog so it will cut out distant objects. There's LOD for your models and bitmaps, or a script to pop them in and out based on distance.

Re: how can i keep the fps up?? [Re: JetpackMonkey] #150288
08/26/07 20:35
08/26/07 20:35
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
Quote:

You could use .dds textures, since they are decompressed directly by your graphics cards hardware and use less memory. Try fewer dynamic lights. If it's really a large world, you can use clipping or clip fog so it will cut out distant objects. There's LOD for your models and bitmaps, or a script to pop them in and out based on distance.




even with a small world, using a camera angle like dragonrise (which is the perfect example), setting a low clipping plane is usefull, since you wont see anything outside the camera angle, why render it...

and yeah, locking the max_fps at 30 will help, but it'l only smooth out the frames, and for that matter the drop will stil be visual. best way to tackle FPS problems is a good design!

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: how can i keep the fps up?? [Re: Helghast] #150289
08/26/07 20:54
08/26/07 20:54
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904

Re: how can i keep the fps up?? [Re: HeelX] #150290
08/26/07 21:25
08/26/07 21:25
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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