Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: AlphaTec on June 12, 2014, 05:51:36 PM

Title: hi,clone objects
Post by: AlphaTec on June 12, 2014, 05:51:36 PM
ı used create object fsm.It is working good but clones is too many.I want to limit the clone number.I want clone go to box in after clone delete.
Title: Re: hi,clone objects
Post by: Martin-Vaupell on June 12, 2014, 06:02:35 PM

If you're creating bullets or something, there are two common ways of destroying them.

One popular way is adding a FSM that has a timer on it, and after a sertain ammount of time, it destroys it self.

The other popular way is adding a border to your scene, and when the object
hits the border, its destroyed.

Or if the objects always collide with something like ground, walls or enemies you can always call a destroy function right after impact.


What are you making? It make's it much easier to give you some help
if you are a bit more specifik in your request.