Gamestudio Links
Zorro Links
Newest Posts
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
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
What's faster #58072
10/25/05 14:49
10/25/05 14:49
Joined: Feb 2005
Posts: 254
Colorado, USA
Spaz Offline OP
Member
Spaz  Offline OP
Member

Joined: Feb 2005
Posts: 254
Colorado, USA
Does GS run faster if you have an action attached to a terrain with a line of code that says, "my.invisible = on;" or if you simply check off "invisible" in the terrain's property box?


Using Professional Version 6.31.4
Re: What's faster [Re: Spaz] #58073
10/25/05 15:30
10/25/05 15:30
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
I think an action would be slower, since it would make the entity dynamic.

Re: What's faster [Re: Excessus] #58074
10/25/05 20:53
10/25/05 20:53
Joined: Feb 2005
Posts: 254
Colorado, USA
Spaz Offline OP
Member
Spaz  Offline OP
Member

Joined: Feb 2005
Posts: 254
Colorado, USA
Thanks. That's what I thought, but I wanted to make sure.

Re: What's faster [Re: Spaz] #58075
10/25/05 22:33
10/25/05 22:33
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
Making an entity invisible will make it render faster since it doesn't have to be processed. To turn the dynamic off again, set my.dynamic = off in the action.


"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: What's faster [Re: ulillillia] #58076
10/26/05 11:49
10/26/05 11:49
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
True, but why create an action, set the entity to invissible and non dynamic when you could achieve the same effect by just setting the flag in WED?

Re: What's faster [Re: Excessus] #58077
10/26/05 14:03
10/26/05 14:03
Joined: Mar 2004
Posts: 277
Zagreb
R
r00tsh3ll Offline
Member
r00tsh3ll  Offline
Member
R

Joined: Mar 2004
Posts: 277
Zagreb
Because I dont use WED to create the map (level or whatever you want to call it).

Re: What's faster [Re: r00tsh3ll] #58078
11/01/05 13:09
11/01/05 13:09
Joined: Jun 2003
Posts: 1,017
Germany
T
Thomas_Nitschke Offline
Senior Developer
Thomas_Nitschke  Offline
Senior Developer
T

Joined: Jun 2003
Posts: 1,017
Germany
...and because ulillillia, in one of his hundreds of bug reports ( just kidding ) found out that an entity that has explicitely been defines as static (i.e. my.dynmaic=off) is, strange as that seems, for some reason faster than an entity with no action at all - although in the latter case, the dynamic flag should have also been set to zero automatically.

Last edited by The Matrix; 11/02/05 06:13.

Formerly known as The Matrix - ICQ 170408644 I've been here for much longer than most people think. So where's my "Expert" status?

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