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 - djaydino

Pages: [1] 2 3 ... 250
Playmaker Bug Reporting / Re: PUN importing errors
« on: January 22, 2019, 08:16:20 PM »
From the error on the images, i think photon is missing.

You need to get photon from the asset store.
The PUN package only includes actions for the asset.

Just fyi there is photon and photon 2, both version uses different action set.

Playmaker Help / Re: Get FSM variables locked to 1 FSM during runtime
« on: January 22, 2019, 10:46:06 AM »
As far as i know, not.

Can you show your fsm setup? video or images.

Playmaker Help / Re: Access to Input Manager?
« on: January 22, 2019, 10:41:19 AM »
Yes in general rewire is one of the best options.

But it can be done, i made an action and video for this a few years ago :

Playmaker Help / Re: Flipping a Coin with Physics [SOLVED]
« on: January 22, 2019, 10:22:22 AM »
Nice app,
are you planning to make a mobile version?


Happy to help :D

I was working on some sprite action and after testing i renamed the class name.

After i did that and when i go to the fsm with the missing action. i get the RelfectionTypeLoadException error and the PlayMaker Editor windows is blank.
I also get a Gui Error

here are the error descriptions :

Code: [Select]
ReflectionTypeLoadException: The classes in the module cannot be loaded.
System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371)
HutongGames.PlayMaker.ReflectionUtils.GetGlobalType (System.String typeName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ReflectionUtils.cs:91)
HutongGames.PlayMaker.ActionData.GetActionType (System.String actionName) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:661)
HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.Context context, Int32 actionIndex) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:826)
HutongGames.PlayMaker.ActionData.LoadActions (HutongGames.PlayMaker.FsmState state) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:776)
HutongGames.PlayMaker.FsmState.get_Actions () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:738)
HutongGames.PlayMakerEditor.StateInspector.ActionsInitEditor () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/StateInspector.cs:180)
HutongGames.PlayMakerEditor.StateInspector.Reset () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/StateInspector.cs:142)
HutongGames.PlayMakerEditor.StateInspector.OnGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/StateInspector.cs:322)
HutongGames.PlayMakerEditor.InspectorPanel.OnGUI (Rect area) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/InspectorPanel.cs:178)
HutongGames.PlayMakerEditor.FsmEditor.OnGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:610)
HutongGames.PlayMakerEditor.FsmEditorWindow.DoGUI () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:136)
HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/BaseEditorWindow.cs:117)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:288)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:255)
HutongGames.PlayMakerEditor.FsmEditor:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:962)
HutongGames.PlayMakerEditor.FsmEditorWindow:Update() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:276)

Code: [Select]
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Tested in unity 2017.4.17f1 and PlayMaker 1.9.0.p6.

Playmaker Help / Re: typewriter with fade in
« on: January 22, 2019, 12:56:10 AM »
You can use a float interpolate and a 'Set Color' action (there are different set color action depending on your needs)

You will need to use the float in the alpha and run from 0 to 1 or vice versa.

Playmaker Help / Re: Efficient Way to Handle Data In and Out of FSM?
« on: January 22, 2019, 12:52:06 AM »
Here is a video about Global and local events :

If they are yellow warning, they wont harm your project.
They are just warnings that in a later unity version certain code will be removed.

Before that happens they will be updated.

Do you have red errors?


The get collision info will not work, as there is no collision when you set trigger.
But you can try setting isTrigger to false and isKinematic to true the use the collision actions.

if that don't work, maybe you can use a raycast.

I made a video recently using a raycast, maybe it can get you in the right direction :

Playmaker Help / Re: Transform Direction and AddForce 2D?
« on: January 22, 2019, 12:32:45 AM »
you need to use Physics material on the collider(s)
and for the paddle : on the rigidbody, open the Constraints and freeze x,y and/or z (depending on your game direction) so that you paddle can only move sideways.

Playmaker Help / Re: Flipping a Coin with Physics [SOLVED]
« on: January 22, 2019, 12:25:33 AM »
Before you do.
Do some performance tests, just to be sure :)

Playmaker Help / Re: Anyway or Action to achieve Screen Shake?
« on: January 20, 2019, 11:00:23 PM »
There is an action on the Ecosystem called "Game Object Shake"

Maybe that will work for you :)

Playmaker Help / Re: Pooling Set Parent
« on: January 20, 2019, 10:57:51 PM »
I think the fsm itself should not have a lot of performance difference.

But if you have the playmaker editor window open and / or fsm that are not collapsed in the inspect, it can affect the profile greatly. its best to do tests inside a build.

But in theory the fsm is listening to an event, so it is not doing nothing :)

Also if your objects have things like a rigidbody it is possible that they are also getting calculated (physics)

Feature Requests / Re: +- Sign in actions
« on: January 20, 2019, 10:48:21 PM »
Maybe using colors on the input/output text.

But if we would use color don't forget about the colorblind people (like me  ::))

Pages: [1] 2 3 ... 250