Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Alex Chouls

Pages: 1 ... 5 6 [7] 8 9 10
Pre-release Discussion / PlayMaker 1.3.1 submitted to the asset store
« on: February 17, 2012, 07:52:11 AM »
Quick update to fix a couple of bugs and minor workflow problems:

Editor Improvements

  • Better check for duplicate PlayMakerGUI components, and dialog to remove duplicate.
  • Add Missing Action stub when an action can't be loaded (e.g., the script was removed).

Bug Fixes

  • Runtime: Fixed Get Child and Get Child Num actions so they store results properly.
  • Runtime: Fixed GUILayout Label to eliminate second label if no style was defined.
  • Editor: Fixed Watermark selector highlight not updating when selecting another FSM.
  • Editor: Fixed Missing Action report in Playmaker console to show more useful information.

PlayMaker Announcements / Playmaker 1.3 in the Asset Store!
« on: February 15, 2012, 02:16:16 PM »
Playmaker 1.3 is live in the Asset Store!

Works with Unity 3.5 (Flash support coming soon), networking support, drag-and-drop to add and move actions, Debug Flow to scrub back through state changes, performance and load time optimizations... and lots more! Check it out!

**Please backup projects before importing the new version! This is always a good idea in Unity!**

Official Action Updates / Get Next Child
« on: January 31, 2012, 05:14:22 PM »
Currently to loop through all the children of a GameObject you have to use Get Child Count, Get Child Num, Int Add, and Int Compare  - which is a bit of a pain!

Get Next Child does this all in one action.

See the attached screenshot for usage. You can replace the Debug action with any action you want to perform on all children of the GameObject.

Official Action Updates / Raycast (Added Space option and Debug Color)
« on: January 15, 2012, 07:37:14 PM »
New and improved version of the Raycast action:

- Added Space option so you can cast a ray in local space.
- Made Repeat Interval default to 1 since 0 was confusing.
- Added Debug Color so you can pick a color and use different colors for different raycasts.

PlayMaker Announcements / Unity 3.5 beta and Playmaker
« on: January 02, 2012, 01:48:31 PM »
We are aware of the problems running Playmaker in the Unity 3.5 beta, and will have an update out very soon.

We've been working with the 3.5 beta for a while, but Unity taking their beta public :o forces us to get our update out a little quicker!

We're very excited about this update, with new features like drag and drop to add/move actions, DebugFlow to scrub through time, networking action, pathfinding actions and more!

Thanks for your patience as we finish up this update!

Official Action Updates / Set Camera Culling Mask
« on: December 19, 2011, 10:33:55 AM »
Note, you can use Set Property, but since the Culling Mask is an int, it's not very user friendly!

Here's a custom action with a nicer UI. The standard Unity LayerMask editor is not exposed to editor scripts, so this UI works a little differently. The layer mask is an array, so set the number of layers first, then fill in the layers.

Pre-release Discussion / Debug Flow Preview - Coming Soon!
« on: December 17, 2011, 07:19:40 PM »
A quick preview of the new Debug Flow feature coming soon to Playmaker!

Pause and step through a visual log to debug the flow of your app.

Official Action Updates / Get Child (bug fix)
« on: December 13, 2011, 10:53:57 AM »
The action had a bug when searching for untagged objects.

Official Action Updates / Send Event By Name
« on: December 13, 2011, 10:32:50 AM »
Sends an Event by name after an optional delay.

NOTE: Use this over Send Event if you store events as string variables.

NOTE: Event names in this action will not be refactored when you rename the event in the editor! You will have to manually rename the events sent by this action.

Official Action Updates / Get Component
« on: December 09, 2011, 05:23:32 PM »
Gets a Component on a GameObject at runtime and stores it in an Object variable.

NOTE: Set the Object variable's Object Type to get a component of that type. E.g., set Object Type to UnityEngine.AudioListener to get the AudioListener component on the camera.

HINT: Combine this action with Get Property and Set Property actions to manipulate components on GameObjects.

Official Action Updates / Substance Actions
« on: November 30, 2011, 01:28:16 PM »
A few actions to manipulate the new Substance materials in Unity 3.4.

Use Get Material to get the Substance material. Currently you have to check Get Shared Material, which means all instances of this material will be effected. Apparently this limitation will be removed in Unity 3.5.

Use Rebuild Textures after setting Substance properties.

Still working on other Substance actions, but these actions should cover a lot of common use cases...

Official Action Updates / Device Vibrate
« on: November 29, 2011, 06:18:44 PM »
Simple action to call iPhoneUtils.Vibrate:

Code: [Select]
// (c) Copyright HutongGames, LLC 2010-2011. All rights reserved.

using UnityEngine;

namespace HutongGames.PlayMaker.Actions
[Tooltip("Causes the device to vibrate for half a second.")]
public class DeviceVibrate : FsmStateAction
public override void Reset()

public override void OnEnter()

As you can see it's super easy to wrap a simple Unity command - just make an action and call the command in OnEnter().

EDIT: Changed action name to DeviceVibrate.

PlayMaker Announcements / Updated Showcase
« on: November 11, 2011, 04:24:29 PM »
We've updated our Showcase page with some new games:

We're super excited about Pat the Cat on the App Store - an adorable app from the creator of the best selling Talking Carl - and made with Playmaker!

Also excited to see another game made with Playmaker on the App Store: Tippy Tap Tap a neat puzzle game that's pretty addictive! Check it out:

And Penguin vs Zombies looks like a super fun brawler - with zombies! I know there's a longish thread on the forums about this game... so go check it out!

Official Action Updates / Rewind Animation
« on: October 17, 2011, 08:14:33 AM »
Action to rewind a named animation.

Code: [Select]
// (c) Copyright HutongGames, LLC 2010-2011. All rights reserved.

using UnityEngine;

namespace HutongGames.PlayMaker.Actions
[Tooltip("Rewinds the named animation.")]
public class RewindAnimation : FsmStateAction
public FsmOwnerDefault gameObject;
public FsmString animName;

public override void Reset()
gameObject = null;
animName = null;

public override void OnEnter()


void DoRewindAnimation()
if (string.IsNullOrEmpty(animName.Value))

var go = Fsm.GetOwnerDefaultTarget(gameObject);
if (go == null)

if (go.animation == null)
LogWarning("Missing animation component: " +;


PlayMaker Announcements / PlayMaker 1.2.1 Released
« on: October 13, 2011, 06:56:45 AM »
Fixes some bugs in 1.2, and tweaks some features/actions.

Release Notes:

Pages: 1 ... 5 6 [7] 8 9 10