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.


Topics - blackant

Pages: 1 [2] 3 4 ... 8
16
Playmaker Bug Reporting / Error editing Action
« on: August 19, 2016, 04:43:50 AM »
Hello,

i got this error during editing, i don't know if it' linked to array and global variable but i was working on it during this bug, so it may be related.

so to explain when it happened:
i was doing my states using 19 global variables Objects (UI textures)
Finally after more works i decided to replace this 19 variables to 1 array contining them.

and so after editing this array i had to replace all my old actions using old Global Variables by this Get array, store value and replace by the simple variable containing the Object.

and i deleted the old Globals after the works was done.
and i seen that my array was not the right one, so i modified this in the action, and the bug appears at this point.

17
Playmaker Bug Reporting / NullReferenceException
« on: August 15, 2016, 05:21:06 AM »
Hi,

i have a message error wich seams to link to directory not on my computer:
this error doesn't influe on the behavior of the game, and doesn't nothing more...


NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMakerEditor.FsmEditor.OnDisable () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:1051)
HutongGames.PlayMakerEditor.FsmEditorWindow.OnDisable () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:384)


18
Playmaker Help / BuildNavMesh
« on: July 27, 2016, 01:43:53 PM »
Hi guys,

i'm trying to create dynamic Navmesh action for playmaker

the way seam easy to do following this tutorial in JS, i'm wondering why i can't successfully create this actions for playmaker ?

just take a look at this video:
https://www.youtube.com/watch?v=qWPwLv9NCds

and here is my code:
Code: [Select]
using UnityEngine;
using UnityEditor;

namespace HutongGames.PlayMaker.Actions
{

[ActionCategory(ActionCategory.NavMesh)]
[Tooltip("Allow generating NavMesh dynamicaly")]
public class NavMeshBuilder : FsmStateAction
{

// Code that runs on entering the state.
public override void OnEnter()
{
NavMeshBuilder.BuildNavMesh();
Finish();
}


}

}

and the error returned
Assets/PlayMaker/Actions/NavMesh/NavMeshBuilder.cs(15,40): error CS0117: `HutongGames.PlayMaker.Actions.NavMeshBuilder' does not contain a definition for `BuildNavMesh'

and the unity page for scripting:
../Unity/Editor/Data/Documentation/en/ScriptReference/NavMeshBuilder.html

so it should be possible isn't it ??

19
Playmaker Help / NavMesh path reach end [SOLVED]
« on: July 27, 2016, 09:20:04 AM »
Hi guys,

this is my first attempt using navmesh, i learned a lot this few last days, but at some point it's not completly understandable.

the main point for now, is this:

i made a mob, wich is randomly changing his direction, and move to the point following the navmesh possibilities.
ok, it works, it move to the point, but how can i trigger the arrival of this point?

i'm wondering... i can maybe compare Vector3 X,Z from the mob to the vector 3 of his target position, but in this case, the value must be exactly the same.

isn't it a faster and easiest way to tell the nav mesh agent at end, follow next event ?

I fund a RemainingDistance Variable so i can Get this information and compare it To 0, but it's always at 0...
Should i set it with a manual calculation ?

Well, i also tested using Pathfinding Actions
Get Agent Remaining Distance Still locked at 0.

there is certainly something i didn't catched about it.

20
Playmaker Help / Animated EmissionMap
« on: July 26, 2016, 05:33:03 AM »
Hi Guys !

Long time without assking any question,

i'm actually trying to make an animated effect of textured lights witch will be on and off alternativelly, so for me, the best way to do that is to animate the map on _EmissionMap.

So, i have attached an FSM to the object and added an action Animate Float and Set Offset Texture.

But if it works perfectly for _MainTex, this is not the case for _EmissionMap.


is someone knows what is the problem  and how to solve it ?

21
General Discussion / Crowd funding
« on: March 28, 2015, 11:47:56 AM »
Hi guys!

i have been working hard to start a campaign, and it time now to promote it !!

if you can help me with funds you're welcome !
if you cannot participate financially you may help me by sharing to the rest of the world my campaign!
i'm not asking the moon (because there is nothing to do on the moon), just one clic or 2 .

cheers!

particpate to the campaign right now!
http://thndr.it/1Cjimig

22
Playmaker Bug Reporting / Harray List remove at (Quaternion) doesn't remove
« on: February 11, 2015, 04:36:51 AM »
Hi,

i have this problem in my program.
Using 'Array list get Random' and just after that 'Array list remove At'

i get the random card like i want but it 's clearly not removed after that, it can cause duplicated index during this step, wich is not desired in the rules of my game..

i have to precise that, i'm using Quaternion variables in the list

23
Playmaker Help / When Does a Loop Count Start ?
« on: February 03, 2015, 04:50:26 AM »
yeah, everything is in the title,

i have sometimes a loop count stop because it reach 1000,
but sometimes i have nothing...

and the script is always following the sames steps, so why sometime i have nothing and after it say this overide ?

24
Playmaker Help / 'Array List Remove At' doesn't remove anything[SOLVED]
« on: January 29, 2015, 12:45:13 PM »
Hi,

i have this problem in my program.
Using 'Array list get Random' and just after that 'Array list remove At'

i get the random card like i want but it 's clearly not removed after that, it can cause duplicated index during this step, wich is not desired in the rules of my game..

i have to precise that, i'm using Quaternion variables in the list

25
Playmaker Help / STOP START durring Debug Log [SOLVED]
« on: January 29, 2015, 12:13:10 PM »
i discovered this recently and i assume it cause a bug, but i have no idea why this happen, and how to avoid it to hapen.

i also not see any reason of it

26
Playmaker Help / undesirable Globale Variable bool modified [SOLVED]
« on: January 29, 2015, 07:12:05 AM »
hi,

i have a big problem today and i chacked everything i think to find what can cause my trouble this morning, but without result...

my problem is that :
i'm using a Gobal variable bool wich indicate when the game is started
this bool is activated only at a precise time, after the first player has dropped his first card.
i use this variable in many cases, like for exemple the first board on wich player can drop a card. as long as this variable is set to false the board is available, after that, the bool should set it to unavailable, and then the game is started.

my problem is that this variable is set to false by defaut
my starting board is set to true, and after fiew seconds change to false because the global variable is set to true... without any call from any action.

i checked multiple time in wich scripts the variable is used,
only 1 time to set it as true, others are only checking if it's true or false.

my game was working perfectly before that, and now suddenly don't want to listen correctly. so there is a real problem with global variable or i'm not on the right direction.

any help !!! is welcome ...

27
Feature Requests / higlighting action selected
« on: January 29, 2015, 04:50:09 AM »
like we can do for both transition and states, changing colors can greatly allow to find desired action(s) inside states while debugging

28
Playmaker Help / How can it be possible ? [Solved]
« on: January 27, 2015, 10:06:32 AM »
In my program, Start state is called during a loop but nothing is linked to it
it cause bugs because all actions inside this state are activated and disturbing the process...

i have added a break point to see that error comes from this state.

in the image, the Turn transition send to Stop wich is not normal...
and then break point is not applied but action inside it are executed, and send transition to Check

29
User Showcase / CrazYminO
« on: January 25, 2015, 04:05:44 PM »
Crazymino official release !
this awesome and addictive puzzle game is now available for android !
get it right now on google play store:
https://play.google.com/store/apps/details?id=com.Excamedia.CrazyMino


30
Playmaker Help / Sprite Layer Order and Mesh renderer Problem [SOLVED]
« on: January 15, 2015, 06:33:19 AM »
Hello,

i'm having a problem by trying to rener a score over a sprite serie
i have setup 3 Sorting Layer named Board/Card/Score
each layer is used to see correctly my game wich is 2D view and the sprite are correctly shown.

but when i try to mix a textmexh over all of that the result is not really what i espected
see the screen bellow: the score is modified in Z by -1
my problems
the alpha is set to 1 - > the result looks more near to Alpha 0
the same textmesh not over the board looks correct.
The TextMesh Over the cards looks rendered as behind it

i have set my objects correctly whith
Board --> Sorting layer Board (-10)
Cards and numbers --> Sorting Layer Card (-9)&number(-8)
Score--> Sorting Layer Score (0)

tryed multiple solution without any change..

any help is welcome

Pages: 1 [2] 3 4 ... 8