The Daily Click ::. Forums ::. Klik Coding Help ::. The lag of badness!
 

Post Reply  Post Oekaki 
 

Posted By Message

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  370

VIP MemberCardboard BoxThe Cake is a Lie
10th January, 2010 at 22:08:10 -

Currently one a level I of mine has 100 objects even, and quite a few backdrop objects (including 3 system backdrop objects). All are divided among 4 layers. Of course, there is lag involved.

Is there any way/method to further decrease lag besides maximizing the compression levels? It doesn't seem to do much at all.

Thanks in advance!

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
10th January, 2010 at 23:07:32 -

Destroy objects outside of the viewable frame.
Make objects outside of the viewable frame inactive.
Consolidate particles effects.
Deactivate unused groups in the event editor.
Lower the graphics quality.
Deactivate chunks of coding to see if its a programming error causing the lag.
Lower the number of colours.

It depends on what those objects are doing. In my current projects I get between 300-2600 objects at 60fps with no lag at all (in HWA at least). It's aaaawl about the optimisation.

Edited by Dr. James MD

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
10th January, 2010 at 23:19:44 -

100 objects and lag? O_o What are your computer's specs?

 

  		
  		

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
11th January, 2010 at 04:25:40 -

Maybe all the objects are 10000000 by 10000000 in size, and all have ink effects applied to them while running 6 nested loops 10000 times each.

 
n/a

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
11th January, 2010 at 14:08:11 -

Funny Urban. Very funny!!!

 
n/a

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  370

VIP MemberCardboard BoxThe Cake is a Lie
11th January, 2010 at 23:23:15 -

Awesome, thanks James.

@OMC: I don't think it's my computer specs. It's most likely all of the stuff I've got on it. Steam don't help any.

@UrbanMonk: I took your advice and got rid of it all- worked like a charm! Thanks!


Edit: Sorry, OMC; forgot to reply.

Edited by W3R3W00F

 
n/a
   

Post Reply



 



Advertisement

Worth A Click