playMaker

Author Topic: Spawner + Score Counter  (Read 1531 times)

Shaunpat902

  • Playmaker Newbie
  • *
  • Posts: 1
Spawner + Score Counter
« 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.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Spawner + Score Counter
« Reply #1 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.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: Spawner + Score Counter
« Reply #2 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?).