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
2 registered members (juanex, AndrewAMD), 988 guests, and 8 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
Ideas on how to optimize this Scene? #335772
07/30/10 14:15
07/30/10 14:15
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline OP
Serious User
Rackscha  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
HI,
JUst a question in general:

Whats the best way to optimize this scene?:



Every grey block has to remain in the scene and is an entity(the floor ofcourse not wink ).

Yesterday i removed the while loops from every entity(before my fps sometimes jittered from 60 to 59 to 60), and changed the explosion so that the boxes still react properly in Multiplayer.

tried to disable DYNAMIC seems not to work/help.
Statistics remain the same and entities are still reacting to events(in manual it says they dont o.O)

We had already aplaytest(internet) and performance worked fine so far, but just in case: can i still tweak my performance?

GReets
Rackscha


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: Ideas on how to optimize this Scene? [Re: Rackscha] #335773
07/30/10 14:18
07/30/10 14:18
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Don't try to improve performance just because you think it can be slow in the future. Improve the performance only if you need to!


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Ideas on how to optimize this Scene? [Re: WretchedSid] #335777
07/30/10 14:54
07/30/10 14:54
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
instead of giving a sperate action to each block, use a single function and loop through them. that should result in a noticable increase in performance.


3333333333
Re: Ideas on how to optimize this Scene? [Re: Quad] #335780
07/30/10 15:08
07/30/10 15:08
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline
User
SchokoKeks  Offline
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
Are those blocks models or map entities? map entities are slower, especially on loading. simly export the map entites to mdl from WED.

Also, you seem to use smooth dynamic shadows. With A7, giving shadows to all of those blocks will make your game slow on even the fastest machines because of missing hardware acceleration.

Re: Ideas on how to optimize this Scene? [Re: SchokoKeks] #335785
07/30/10 15:32
07/30/10 15:32
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
I thought Pro has hardware acceleration?

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Ideas on how to optimize this Scene? [Re: JibbSmart] #335786
07/30/10 15:57
07/30/10 15:57
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline
User
SchokoKeks  Offline
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
Originally Posted By: JulzMighty
I thought Pro has hardware acceleration?

Jibb

Thats right, I forgot about that.

And I just noticed that those shadows are probably from WED and no dynamic shadows anyway.
Just look at the ms/frame column of the debug panel to see whats causing slowdowns. The fnc is the time for functions, its not really high right now, no need to optimize that.

You can look up the meaning of all values in the manual under "default.c".
prv is pretty high, srv is normal when i compare it to my projects.

Re: Ideas on how to optimize this Scene? [Re: SchokoKeks] #335804
07/30/10 17:41
07/30/10 17:41
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline OP
Serious User
Rackscha  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
@Schokokeks:

prv? there is no prv^^, maybe you mean ref?

@JUstsis: Mh, okay.
just thought i could reset Dynamic, cause i dont need them to be active. Everything else can be controlled by other events.
BUt as i said, for me it doesnt seem to work(resetting Dynamic)

Greets
Rackscha


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development


Moderated by  HeelX, Spirit 

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