Game Development Community

Offscreen emitters not emitting...

by Jesse Lowther · in Torque X 2D · 05/15/2010 (10:47 am) · 5 replies

I'm quite new to TX2D development...

I was wondering if there is a way to have emitters run continuously off screen even when the player isn't near them at the time.

In fact, I'm guessing there must be a way to do this with any number of objects.

Thanks in advance.

#1
05/18/2010 (3:09 pm)
Ya particle emitters don't draw when they are not on camera. I don't think you can make them without moding the engine.

However if the emitter is not using "area" emission you can scale the crap out of it then the emitter will render as long as one of its bounds is in camera.
#2
05/18/2010 (3:12 pm)
I'll do that.

Thanks!
#3
05/19/2010 (1:44 am)
Hi guys,

I noticed that as well just yesterday working on my next game which has particles covering large areas but not showing up in the scene... they just pop up out of the blue when the particle effect gets in the camera.

I've just fixed this bug and committed the change to the SVN repo.

Pino
#4
05/19/2010 (10:10 am)
Oh, cool.

Is that SVN publically available or will the change be in the next release?

Either way, thanks!
#5
05/19/2010 (4:52 pm)
Hey Jesse,

the repository is available upon request as discussed in this thread, to be granted an access just send me an email: pino [AT] dftgames [DOT] com

Cheers,
Pino