Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Aku_Aku, ozgur), 1,095 guests, and 0 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 1 of 2 1 2
fps problem #412375
11/26/12 17:35
11/26/12 17:35
Joined: Apr 2012
Posts: 106
G
GaniX Offline OP
Member
GaniX  Offline OP
Member
G

Joined: Apr 2012
Posts: 106
http://www.subirimagenes.com/imagen-sinttulo2-8146982.html

hello to those who read, I have the following problem: as you can see from the picture I have the game without any panel and a 13 fps.

when i use a panel the fps is 10
http://www.subirimagenes.com/imagen-sinttulo-8146999.html

What I can do to make the minimum number of fps is always 13?

i use fps_min=13 in the main function. like this:

main(){
min_fps=13;
max_fps=60;
level load(...)
}

and the problem is continue
and the links is only is a picutre of this

Last edited by GaniX; 11/26/12 17:55.
Re: fps problem [Re: GaniX] #412379
11/26/12 18:12
11/26/12 18:12
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Those links really suck....
Each time I click on them a video file launches of an advertisement...
How rude....
Please find another way to share pics....

Now, about the fps problem....
You have a definite problem...
I do not see hardly anything in your level...
You should get a very high frame rate...

So, you need to figure out what is dragging down the fps...
First, you should look at each entity individually that is in the level...

That avatar....
What is it? File type?
What file type texture and how big?
Is it animated? If so, how? Vertice or bones?

You might try removing each component and switch it out with a different file which can help you diagnose the issues...

Next, could it be a code/script problem?
If so, seek more advice...
But first, check out each component of the level... Then go from there...

You might even try doing a "Save-As" of a different project and add your entity files to see what happens...

Best of luck...

Re: fps problem [Re: GaniX] #412380
11/26/12 18:14
11/26/12 18:14
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
fps_min is only a theoretical border. I doesn't mean your fps never gets any lower than 13 fps. It only influences the time_* variables.

Your case is pretty strange though. 70ms for rendering 1k of geometry triangles is far to slow. What system are you using?

EDIT: The hints of terrasame are not very good. The bottleneck is clearly geometry rendering, not entity rendering.


Always learn from history, to be sure you make the same mistakes again...
Re: fps problem [Re: Uhrwerk] #412381
11/26/12 18:25
11/26/12 18:25
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Hahahahahha
Bottom line is... Clearly there is a problem.....
Consider everything...
Uhrwerk...Thanks for the laugh...

Last edited by TerraSame; 11/26/12 18:44.
Re: fps problem [Re: TerraSame] #412386
11/26/12 19:21
11/26/12 19:21
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Try to coment out some functions and see where the lag is comming from.
If you need help send me a pm, I could add you in skype or come look over teamviewer laugh

Re: fps problem [Re: Ch40zzC0d3r] #412388
11/26/12 19:38
11/26/12 19:38
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Once again. The problem is geometry rendering. Commenting out script functions won't do anything because script execution took only 0.6 ms per frame. Please note the debug panel in the upper left corner.

If your car signalizes it's running out of petrol you're not starting with cleaning the ignition plugs or "considering everything", right?


Always learn from history, to be sure you make the same mistakes again...
Re: fps problem [Re: Uhrwerk] #412389
11/26/12 20:08
11/26/12 20:08
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Hahahahaha
Sweet....
The project is way to small not to consider everything...
Might as well, for as the project grows, their will probably be new issues...
Therefore, Of course, one should optimize constantly...
I'm sure you, might agree... Or, maybe not...
If my car signaled it was low on fuel, I suppose I might start by checking the oil level.... Hahahahahah
I'd love to work with you on a project someday.... laugh

Edit... The stats panel is not readable for me as my resolution is set way to high...

Last edited by TerraSame; 11/26/12 20:09.
Re: fps problem [Re: TerraSame] #412400
11/26/12 22:16
11/26/12 22:16
Joined: Nov 2011
Posts: 274
de
lemming Offline
Member
lemming  Offline
Member

Joined: Nov 2011
Posts: 274
de
You have to click on the images to enlarge them. But Propably better links:
http://s2.subirimagenes.com/imagen/8146999sin-ttulo.png
http://s2.subirimagenes.com/imagen/8146982sin-ttulo2.png

edit:// They are now broken to me, too. Obviously my cache fooled me.

I agree on Uhrwerk. I guess there will hardly be anything to check on the code.

@GaniX: What graphics card do you use?

Last edited by lemming; 11/27/12 01:25.
Re: fps problem [Re: lemming] #412401
11/26/12 22:18
11/26/12 22:18
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
@lemming both links are broken (404) smirk


POTATO-MAN saves the day! - Random
Re: fps problem [Re: Kartoffel] #412403
11/26/12 22:26
11/26/12 22:26
Joined: Nov 2011
Posts: 274
de
lemming Offline
Member
lemming  Offline
Member

Joined: Nov 2011
Posts: 274
de
Weird. They work for me. But I was just direct-linking the pictures from the links above. Maybe some kind of link protection.

Last edited by lemming; 11/27/12 01:26.
Page 1 of 2 1 2

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