The Daily Click ::. Forums ::. Klik Coding Help ::. MMF questions
 

Post Reply  Post Oekaki 
 

Posted By Message

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
13th December, 2003 at 13:09:20 -

1. i heard you can have over 10,000 active objects per level in MMF. but to access that you need to change the 300 limit. how do i change the limit of active objects?

2. I have a bullet problem. Im making my game in TGf until i convert it to mmf. my bullet problem is how do i make the bullets and bullet time effect to be destroyed when it leaves the window screen?
i'm not talking about the play area but the window screen instead.

Thankyou.

* Spiderhead *

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Kirby Smith

Resident Slacker

Registered
  18/05/2003
Points
  479

VIP Member360 OwnerWii OwnerThe Cake is a Lie
13th December, 2003 at 14:24:17 -

The easiest way I've found to destroy objects when they leave the window is like so...

if x-position of object is greater than x-position of camera object + (whatever half of your screen width is), then destroy object. and of course the same for less than, but just reversed. Same for the Y-axis.

As for the 10,000 active objects limit... I think it's in the application properties window.

 
XBL Gamertag: Rampant Mjolnir

cake



Registered
  13/12/2002
Points
  1173
13th December, 2003 at 18:59:22 -

To change object limit:
Frame->Properties->Number of objects at runtime

In TGF I'm not sure, it's been so long since I've used it, but when you convert to MMF it can easily be done with:

X("Group.Bullets") > X Right Screen:
Destroy Group.Bullets
X("Group.Bullets") < X Left Screen:
Destroy Group.Bullets
etc for the Y positions.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click