playMaker

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]
121
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.

122
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.

123
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

124
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

125
Quote
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

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

Quote
Do you have a PlayMaker/Resources directory?
Yes

Quote
Are you using version control?
Asset Server only

126
Project sent :I
Hope it helps

127
Hi
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?

Occuring:
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



s.o.s.

128
Hi
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?

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

Action to restart current level.

Description: Action restarts current level immediately using one line of code:
Application.LoadLevel(Application.loadedLevelName);

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
{
[ActionCategory(ActionCategory.Level)]
[Tooltip("Restarts current level.")]
public class RestartLevel : FsmStateAction
{
public override void Reset(){}
public override void OnEnter() {Application.LoadLevel(Application.loadedLevelName); }
}
}

130
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)

131
Share New Actions / Re: Round Float Value
« on: September 16, 2011, 03:33:02 AM »
Hi
Place this script somewhere in your \PlayMaker\Actions\ folder.
http://hutonggames.com/playmakerforum/index.php?action=dlattach;topic=662.0;attach=220

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

Greetings
Andrew

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

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

Simple action to round float variables using Mathf.Round

EXAMPLE:
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.
(documentation)

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
{
[ActionCategory(ActionCategory.Math)]
[Tooltip("Rounds Float Variable.")]
public class FloatRound : FsmStateAction
{
[RequiredField]
[UIHint(UIHint.Variable)]
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)
Finish();
}

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

134
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]