The Daily Click ::. Forums ::. Klik Coding Help ::. Are unused groups faster closed or open?
 

Post Reply  Post Oekaki 
 

Posted By Message

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14456

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
10th March, 2008 at 14:41:37 -

This is just a minor query,

is if faster to have a group closed or open, even if the group is completely unused at the time.
say if i had a group dealing with moving platforms, then all the platforms were destroyed, would mmf2 still spend some time, if only a little, checking through the events?

 
.

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
10th March, 2008 at 15:06:39 -

If you mean in runtime, I'm assuming that closed (disabled) groups are automatically jumped over, because theres no reason for MMF2 to check them all, making the loop shorter. This would be efficient, whether or not it actually does it though, I'm not sure. I'm not sure how I'd go about testing this.

 
http://www.facebook.com/truediamondgame

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
10th March, 2008 at 16:59:41 -

Debug?

. . . .

 
http://www.SilverNova.co.uk


Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
10th March, 2008 at 17:53:57 -

I've shut off unused groups in Tormi and it's seen a minor memory decrease. Like 1mb. Soon as they're open it all changes, and shutting them again doesn't get that 1mb back. Could be my coding. Yea.

 
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

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
10th March, 2008 at 20:23:36 -


Originally Posted by Tim, the cat.
Debug?

. . . .



I was referring to loops, which in large quantities, does in fact have an effect on frame rate. A good example of this would be running a fast loop 10000 times. That event takes longer to accomplish, so the loop is made larger. Frame rate loss is not always the result of graphics, it's much more broad then that.

 
http://www.facebook.com/truediamondgame
   

Post Reply



 



Advertisement

Worth A Click