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.

Messages - Andrew.Lukasik

Pages: 1 ... 7 8 [9]
PlayMaker Help / Re: Playmaker 1.2.1 Install Problem
« on: October 19, 2011, 03:48:38 PM »
Use "Export Package" on your project's assets, and import all that content into fresh project with new PM. It will probably solve this.

General Discussion / Re: Working with Scenes
« on: October 19, 2011, 01:50:01 PM »
Making everything on separate scenes can make a lot of things easier and cleaner. But it is technically possible to do everything on one single scene. So the question is - what type of overall architectural directions suits specific development needs of your current project.

When it comes to menus if you're advanced user of PM then you can think about making it as a prefab - so you could just spawn it in game (with its own camera and in different position in space) just when needed. But a simplest and fastest way to do it is of course to load another "menu" scene.

PlayMaker Help / Re: Copy Actions??
« on: October 19, 2011, 01:14:54 PM »
In PM 1.2 its under Settings (cog) icon - upper right corner of that particular action.
Then you can use simply ctrl+v

Any results so far maybe? This issue is slowing my project development so I would be really more than happy to help if possible :)
I want try to find causes myself but I don't know where to start really. If anyone have some thoughts on that - please share

Did you see this in 1.2? Or did you upgrade from 1.1 to 1.2.1?
      I've upgraded my project from 1.1 to 1.2.1 directly

Are you seeing this in an empty/new project?
Not yet

Do you have a PlayMaker/Resources directory?

Are you using version control?
Asset Server only

Project sent :I
Hope it helps

My performace (in PM editor window) drops down after updating to 1.2.1 very significantly. And I'm not quite sure where to start looking for causes - any ideas?

Only when PM Editor is opened

Possible clues:
-it occurs really often when deleting events (Unity freezes for few seconds)
-it occurs when editing actions, adding/editing states, etc. (effects same as above^)

So far checked:
Real-time error checker switched off - no change


I have this problem updating my project to Playmaker1.2.1 that action SendEventToFSM is notified as obsolete and in the same time SendEvent (as seen below) has no text-field in "Send Event" space anymore.

^As you can see problem is that target Game Object is virtually unknown before runtime

Anyone know how to fix this? Maybe adding some code to SendEvent.cs?

Share New Actions / Restart Level
« on: October 17, 2011, 05:40:26 AM »

Action to restart current level.

Description: Action restarts current level immediately using one line of code:

Code: [Select]
// (c) Copyright HutongGames, LLC 2010-2011. All rights reserved.
// micro script by Andrew Raphael Lukasik

using UnityEngine;
using System.Collections;

namespace HutongGames.PlayMaker.Actions
[Tooltip("Restarts current level.")]
public class RestartLevel : FsmStateAction
public override void Reset(){}
public override void OnEnter() {Application.LoadLevel(Application.loadedLevelName); }

Android Help / Re: Move object up on touch
« on: September 21, 2011, 06:11:25 AM »
Actually Playmaker don't solves fps for you. Making these FSMs you have to worry about speed A LOT. For example - fully controlling all loops you've created (very important - and yet hard to control)

Share New Actions / Re: Round Float Value
« on: September 16, 2011, 03:33:02 AM »
Place this script somewhere in your \PlayMaker\Actions\ folder.;topic=662.0;attach=220

After doing that this action will be accessible via Playmaker's Action Browser ("Math" cathegory).


Share New Actions / Re: Reset Variables
« on: September 04, 2011, 04:29:28 PM »

Share New Actions / Round Float Value
« on: September 04, 2011, 04:17:12 PM »

Simple action to round float variables using Mathf.Round

source Float: <23.2463462>
result Float: <23>

Description: Returns f rounded to the nearest integer. If the number ends in .5 so it is halfway between two integers, one of which is even and the other odd, the even number is returned.

Code: [Select]
// (c) Copyright HutongGames, LLC 2010-2011. All rights reserved.
// small additional action by Andrew Raphael Łukasik

using UnityEngine;
using System.Collections;

namespace HutongGames.PlayMaker.Actions
[Tooltip("Rounds Float Variable.")]
public class FloatRound : FsmStateAction
public FsmFloat floatVariable;
public bool everyFrame;

public override void Reset()
floatVariable = null;
everyFrame = false;

public override void OnEnter()
floatVariable.Value = Mathf.Round(floatVariable.Value);

if (!everyFrame)

public override void OnUpdate()
floatVariable.Value = Mathf.Round(floatVariable.Value);

Share New Actions / Re: Set Visibility
« on: September 04, 2011, 04:08:16 PM »
Thx! I was looking for this

Pages: 1 ... 7 8 [9]