playMaker

Author Topic: hi,clone objects  (Read 1656 times)

AlphaTec

  • Playmaker Newbie
  • *
  • Posts: 16
hi,clone objects
« 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.

Martin-Vaupell

  • Junior Playmaker
  • **
  • Posts: 70
  • Creating CarbonDiOxide
    • Evisystems
Re: hi,clone objects
« Reply #1 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.