Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Mikie on April 05, 2012, 03:19:18 PM

Title: instantiate [SOLVED]
Post by: Mikie 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.
Title: Re: instantiate
Post by: Alex Chouls 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.
Title: Re: instantiate
Post by: Mikie 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?
Title: Re: instantiate
Post by: Alex Chouls 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!
Title: Re: instantiate
Post by: Mikie on April 06, 2012, 09:51:15 AM
I did buy Playmaker 1.3.2.  Where is Playmaker samples ?
Title: Re: instantiate
Post by: Mikie on April 06, 2012, 11:09:22 AM
Hi Alex,

I found the file.  Thanks, for your help.

Mikie
Title: Re: instantiate
Post by: Mikie 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".
Title: Re: instantiate
Post by: Alex Chouls 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...