Search Unity

[50% OFF SALE] PlayMaker - Visual Scripting for Unity

Discussion in 'Assets and Asset Store' started by Alex-Chouls, Dec 31, 2010.

  1. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    docsavage likes this.
  2. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  3. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    theANMATOR2b likes this.
  4. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Playmaker Tip: Use Send Event with a Delay to loop a state:

    LoopingState.gif
     
    GamerPET, Tinjaw and hopeful like this.
  5. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Thanks for the tip Alex.
    Can you give a simple/general example of 'why' you'd want to delay a state transition before moving into the next state?
    If you'd rather, I can post in the Playmaker forum instead so others can respond.
     
  6. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Actually it was a question on the forums that prompted the example. Someone wanted to check variables once a second until interrupted by an event from another FSM. But the general pattern works for lots of things, e.g., a lot of AI tasks make sense to do periodically, for both gameplay and performance reasons. For example you could do expensive raycasts and reasoning every half second instead of every frame. Or maybe it's as simple as enforcing a delay on a spawner, e.g., reload time for a weapon before it can shoot again. Of course you can use multiple states too (DoSomethingState, WaitState, back to DoSomethingState), this example is just a more concise way of expressing that.
     
    theANMATOR2b and hopeful like this.
  7. GamerPET

    GamerPET

    Joined:
    Dec 25, 2013
    Posts:
    370
    Wow. This one is really nice. Didn't knew that you can actually send an event to "Self".
     
    Alex-Chouls likes this.
  8. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  9. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Check out this walkthrough for Home is Where One Starts, a narrative experience made with Playmaker:
     
  10. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  11. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Check out Grimsfield, a kafkaesque short adventure game set across a number of mini dioramas.

    Made with Playmaker by the talented Adam Wells:


    More info here:
    https://escooler.itch.io/grimsfield
     
  12. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  13. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    docsavage likes this.
  14. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Fogbugz.com is doing some system maintenance today. This could make the Playmaker manual, wiki, and bug reports temporarily unavailable. Hopefully they get everything back to normal quickly! Thanks for your patience.

    EDIT: Fogbugz is promising no down time so hopefully there won't be any disruption.
     
    Last edited: May 18, 2016
  15. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Tinjaw likes this.
  16. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Bhanshee00 likes this.
  17. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  18. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  19. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    600 likes this.
  20. MOSTY

    MOSTY

    Joined:
    Sep 6, 2013
    Posts:
    266
    theANMATOR2b and 600 like this.
  21. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Tinjaw and TonyLi like this.
  22. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  23. GamerPET

    GamerPET

    Joined:
    Dec 25, 2013
    Posts:
    370
    Just updated to 5.3.5 and now I have an annoying problem. I created a new state which I'm trying to rename. Every time I do a new input in the text field the state get's de-selected.

    I'm using Playmaker 1.8 Beta (43 or smth)
     
  24. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Hi, I'm downloading 5.3.5 now to check. What version are you upgrading from?
    We don't see this in 5.3.4p6 or 5.4 so it's weird that 5.3.5 would be different.
    Do you have other editor extensions in the project?

    Starting a thread on the Playmaker forums for this would probably be best. That way if other users are having problems with 5.3.5 we can figure out any commonalities...

    EDIT: Found the thread you posted to on the Playmaker forums.
     
  25. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Bhanshee00 likes this.
  26. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  27. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Check out Star Buster made 100% with Playmaker:
     
  28. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Vote for WARCUBE on Steam Greenlight, a physics-based action brawler using Playmaker :)
     
    theANMATOR2b, 600 and Bhanshee00 like this.
  29. magique

    magique

    Joined:
    May 2, 2014
    Posts:
    4,030
    I'm not able to get 1.8.1 to work. After installing the package, I get the following error:


    Code (CSharp):
    1. Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
    2.  
    3.   at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
    4.  
    5.   at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
    6.  
    7.   at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in <filename unknown>:0
    8.  
    9.   at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in <filename unknown>:0
    10.  
    11.   at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0
    12.  
    13.   at Mono.CSharp.Driver.LoadReferences () [0x00000] in <filename unknown>:0
    14.  
    15.   at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
    16.  
    17.   at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
    18.  
    19. The class UnityEngine.SceneManagement.Scene could not be loaded, used in UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
    From the last line of the message it is referring to SceneManagement.Scene, but this is only a Unity 5.3 feature. And I'm on Unity 5.2.4p1. I assumed there must be a reference to SceneManagement so I searched the code. However, wherever SceneManagement is referenced it is inactive code because the version number checks are working properly. So, I have no idea how this could be happening.

    I decided to just rip out all the code that references this, but even that didn't help. Are the references possibly in the dll plugins?

    EDIT: Just removed 1.8.1 and copied over 1.8.0 beta from another project and it works fine. So this is definitely something just in the latest release and not project related.
     
    Last edited: May 29, 2016
  30. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Hi, I'm not able to repro here. Maybe the Asset Store is giving you the 5.3 version of Playmaker? I would go into the Asset Store Download Manager, find Playmaker, and manually Download and Import it to make sure you're getting the correct version. I've heard that some versions of Unity have this problem...
     
  31. witchscroll

    witchscroll

    Joined:
    Jan 17, 2015
    Posts:
    131
    Hi Alex

    good to hear the 1.81 have mecanim addon integrated.
    suggest add unity pathfinding addon inegrate in next version.
     
  32. magique

    magique

    Joined:
    May 2, 2014
    Posts:
    4,030
    That's how I did it. Is there some other way to download? I don't see how I could have gotten it any other way. I reverted to 1.8.0 beta for now.

    For future requests, I'd like to see proper sound implementation integration so sounds can play properly in 3D.
     
  33. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    If you have multiple versions of Unity on one machine the Asset Store can get confused about which version of Unity it's downloaded an asset for (or so I hear). So sometimes you have to download again in the specific version that you're currently using to make sure you have the right version. Don't know if this is your issue...

    I've tested in 5.2.3f1. Don't have the patch version but will download to test in case that is the issue...

    I know you'd mentioned some actions before, are they on the Ecosystem? Can you point me to the specific actions? Thanks!

    EDIT: Couldn't find a way to PM you, but if you PM me I can send you the correct unitypackage to make sure it's an Asset Store issue.
     
    Last edited: May 29, 2016
  34. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Yeah, integration of the Pathfinding Add-on is on the TODO list...
     
  35. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  36. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  37. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  38. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  39. DotTeam

    DotTeam

    Joined:
    Feb 12, 2016
    Posts:
    196
    Congrats on such exposure.
     
  40. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  41. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    600 likes this.
  42. magique

    magique

    Joined:
    May 2, 2014
    Posts:
    4,030
    Someone told me that the ecosystem has the sound features in Play Audio Advanced.
     
  43. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Thanks, looking into it...
     
  44. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Playmaker Tip: New context drag and drop menus in Playmaker 1.8.x:

    NewDragAndDropMenus.gif

    Drag from the Unity Inspector, Hierarchy or Project views for context menus to quickly add relevant actions.
    Hint: If you drag a GameObject you'll get sub-menus for all components on the GameObject.
    Or drag/drop an Animator Component to select Animator actions :)
     
  45. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Playmaker Tip: Hover over tabs to switch panels while dragging:

    DragAndDropHoverTabs.gif
     
    Tinjaw, Bhanshee00, 600 and 1 other person like this.
  46. MOSTY

    MOSTY

    Joined:
    Sep 6, 2013
    Posts:
    266
  47. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  48. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
  49. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Playmaker Tip: Browse Animator Parameters in Animator Actions (NEW 1.8.1):
    BrowseAnimatorFloats.gif
     
    600 likes this.
  50. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,656
    Last edited: Jun 13, 2016