Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
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 (Grant, dr_panther, AndrewAMD), 1,379 guests, and 6 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
Changing the lighting causes lag #171952
12/09/07 21:07
12/09/07 21:07
Joined: Dec 2003
Posts: 179
Chameleon_Man Offline OP
Member
Chameleon_Man  Offline OP
Member

Joined: Dec 2003
Posts: 179
Hey guys. I just recently messed around with lighting for my level and now I'm getting quite a bit of lag. One thing to note, as the level keeps running, the lag gets worse and worse. Any advice for me to reduce lag in a level in regards to lighting?

Last edited by Chameleon_Man; 12/09/07 21:17.
Re: Changing the lighting causes lag [Re: Chameleon_Man] #171953
12/10/07 01:20
12/10/07 01:20
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Are you using functions on the lights as generally, some function calls never switch off unless you use them with function switches and such.

Re: Changing the lighting causes lag [Re: Nems] #171954
12/16/07 10:46
12/16/07 10:46
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline
Senior Member
Roel  Offline
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
It looks like a problem I had some time ago.
my level was going to run slower and slower.
There were two functions that caused the problem:
one that just looped, doing some instructions,
and another one, that looped too, and was calling the first.

So I got a function that every frame was calling another function which never ended.

This might be the problem, and not the lightm but I might be wrong.
Just a thought.


Check out the throwing game here: The throwing game

Moderated by  HeelX, rvL_eXile 

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