Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Shaunpat902 on March 10, 2014, 01:27:02 PM

Title: Spawner + Score Counter
Post by: Shaunpat902 on March 10, 2014, 01:27:02 PM
I am new to Playmaker and am in need of some help with my current project.

I am looking for a way of infinitely spawning a specific prefab, which will then destroy itself upon hitting another (specific) prefab. Also I need a score which will increase each time the prefab is destroyed.

Thanks.
Title: Re: Spawner + Score Counter
Post by: Lane on March 10, 2014, 02:15:59 PM
I would one object on a unique Tag and use Collision Event to detect a collision on that tag, then go to another state and do what you need to do there (destroy/increase score, etc)..

The spawning would just be Create Object on a delayed loop.
Title: Re: Spawner + Score Counter
Post by: xhidnoda on March 10, 2014, 02:50:55 PM
Can you make screenshot of you project (FSM, state of you make) and then anyone  can help more.
Is 2D or 3D project?
What tool are you using? (Playmaker alone?).