playMaker

Author Topic: instantiate [SOLVED]  (Read 4350 times)

Mikie

  • Playmaker Newbie
  • *
  • Posts: 13
instantiate [SOLVED]
« on: April 05, 2012, 03:19:18 PM »
Could someone give send me the source that instantiates a gameobject using Playmaker?  Perhaps firing a bullet.  Thanx.
« Last Edit: April 06, 2012, 12:22:35 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: instantiate
« Reply #1 on: April 05, 2012, 03:37:36 PM »
Use the Create Object action:
https://hutonggames.fogbugz.com/default.asp?W61

Also checkout PlaymakerSamples/TestLab/Physics/ThrowGrenade sample scene.
And the PlaymakerSamples/TestLab/Spawning sample scenes.

Mikie

  • Playmaker Newbie
  • *
  • Posts: 13
Re: instantiate
« Reply #2 on: April 05, 2012, 05:11:56 PM »
Hi Alex,

I tried http://hutonggames.com/PlaymakerSamples/TestLab/Spawning%20sample%20scenes

does not find much.  Could you give me the exact link?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: instantiate
« Reply #3 on: April 05, 2012, 07:22:46 PM »
Sorry, it's in the samples that ship with Playmaker. Import Playmaker into a new project then import  PlaymakerSamples.unitypackage (e.g., double click it in the Project view)

NOTE: Do not import the samples into an existing Playmaker project since it can overwrite your assets!

Mikie

  • Playmaker Newbie
  • *
  • Posts: 13
Re: instantiate
« Reply #4 on: April 06, 2012, 09:51:15 AM »
I did buy Playmaker 1.3.2.  Where is Playmaker samples ?

Mikie

  • Playmaker Newbie
  • *
  • Posts: 13
Re: instantiate
« Reply #5 on: April 06, 2012, 11:09:22 AM »
Hi Alex,

I found the file.  Thanks, for your help.

Mikie

Mikie

  • Playmaker Newbie
  • *
  • Posts: 13
Re: instantiate
« Reply #6 on: April 06, 2012, 11:42:54 AM »
I just created a game for my Droid 2 from "grenades".  Works good.  I turned off the state labels, but they still appear on my Droid 2.  I did goto debug and turned off "show state labels in game view".

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: instantiate
« Reply #7 on: April 06, 2012, 12:20:52 PM »
Find the PlayMakerGUI component in the scene and uncheck Draw Active State Labels.

Right now that setting is defined in a few places - need to clean that up a bit!

If that doesn't work for you, please start a new thread. I'm going to mark this thread (instantiate) solved.

EDIT: Actually I'm pretty sure there are other threads already on the debug labels...
« Last Edit: April 06, 2012, 12:23:41 PM by Alex Chouls »