Search Unity

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,369
    Hi, I'm not able to reproduce this error here, but I suspect you have a script called "MoveTowards" in the global namespace (not using a namespace).

    Search your project for "MoveTowards" to find the script.

    That script should really use a namespace, but a workaround is to edit MoveTowardsActionEditor.cs to:
    Code (CSharp):
    1.             var moveTowardsAction = (HutongGames.PlayMaker.Actions.MoveTowards) target;
    I'll include this change in the next update since MoveTowards is a common name and people don't always use namespaces. However if MoveTowards is a third party script I encourage you to also contact the author and ask them to use a namespace.

    Hope this helps!
     
  2. kburkhart84

    kburkhart84

    Joined:
    Apr 28, 2012
    Posts:
    749
    LOL, I should have known better. As it happens, I have exactly that name for a script. It is my own though, so it isn't a big deal. I'm going to have to get rid of it though by the time it's over due to possible conflicts with your script. I wasn't using namespaces at all because the project is really small. In any case, I'm likely going to be redoing most of it(not that I've done much yet) using Playmaker instead of my few C# scripts, and so the MoveTowards script is going to go away anyway and probably be turned into an FSM.

    Thanks for the help!
     
  3. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    No problem! Be sure to join the Playmaker forums also...
     
  4. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    600 likes this.
  5. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    600 likes this.
  6. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  7. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Last edited: Feb 23, 2016
  8. Alex-Chouls

    Alex-Chouls

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

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  10. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Check out Will It Fit, a stylish puzzle game made with Playmaker:
     
  11. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  12. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Check out Spell Fighter - VR Trailer, 100% made with Playmaker:
     
  13. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  14. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  15. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    600, Bhanshee00 and mdotstrange like this.
  16. witchscroll

    witchscroll

    Joined:
    Jan 17, 2015
    Posts:
    131
    Hello
    I'm making gui for my indie game recently, and found there is no detailed video tutorials about using playmaker to make gui. so, i suggest you make some video tutorials about gui, a lot of people may need it,thank you.
     
    Bhanshee00 likes this.
  17. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Hi,
    Thanks for the suggestion. We're in the process of integrating the ugui addon with the main package. I'd like to wait until that's done before making new tutorial videos, so they're up to date.

    There are some videos for working uGui here:
    http://www.youtube.com/playlist?list=PLFXYYxmSM-Ge4Qxx80EnT6xiLHQXKGHW3

    There are also a bunch of samples on the Playmaker Ecosystem:
    uGUI_samples.png

    You can find the Playmaker Ecosystem here:
    https://hutonggames.fogbugz.com/default.asp?W1181

    And, of course, the Playmaker Forums are a great resource for getting help:
    http://hutonggames.com/playmakerforum/index.php
     
    Last edited: Mar 17, 2016
  18. witchscroll

    witchscroll

    Joined:
    Jan 17, 2015
    Posts:
    131
    thank you.
    but...
    I do not have to use ugui, just the old gui may enough to me.
    I see there are 'gui', 'guilayout', 'guielement', but i do not know what's the difference between them and how to use them.
    for example, i add a button to a canvas, then the button show with a translucent frame. i do not know how to get rid of the translucent frame around the button. please give me some guild like 'how to...'. thank you.
    need more video tutorials about the gui.
     
  19. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    There are actually 3 separate GUI systems in Unity, so it can get a little confusing.

    The oldest is based on simple GameObject components: GUITexture and GUIText. Actions for this type of GUI can be found in the GUI Element category. These can actually work fine for very simple GUI and you can preview the textures and text at edit time which is nice. Unity docs for this system are here:
    http://docs.unity3d.com/Manual/GUIReference.html

    The next system was an Immediate Mode GUI (IMGUI) which used GUI and GUILayout commands. The actions for these are pretty much one-to-one the same as the commands in the unity scripting reference:
    http://docs.unity3d.com/Manual/GUIScriptingGuide.html

    Normally you'd have to hit play to see what an IMGUI looks like, but Playmaker includes an experimental feature where you can see the IMGUI at edit time, making it a little easier to tweak; but still it's not very wysiwyg! The big concepts to wrap your head around are GUISkins and GUIStyles. These let you style buttons etc. You really need to read the Unity docs to understand how they work:
    http://docs.unity3d.com/Manual/class-GUISkin.html
    http://docs.unity3d.com/Manual/class-GUIStyle.html

    The newest sytem was designed so you can build complex GUIs in the Unity editor in a friendly wysiwyg workflow. If you're learning UI in Unity, I'd recommend starting with uGUI. It's got a learning curve, but it's pretty cool and will continue to grow whereas the other 2 systems are pretty much legacy at this point...

    So, back to tutorials, there are samples for the first 2 systems in downloadable samples:
    http://www.hutonggames.com/samples.php

    Most Unity tutorials about making GUISkins and GUIStyles apply equally to Playmaker.
    For example, how to remove the transparent button style:


    If you google for Unity GUISKin Tutorials you should find hundreds of videos!
    You can probably also find free GUISkins to download and see how they work.

    At this point I think we're unlikely to make new videos for the old UI systems, but we could whip up specific examples to download if you ask on the Playmaker forums.

    Let me know if this helps...
     
    Last edited: Mar 17, 2016
  20. witchscroll

    witchscroll

    Joined:
    Jan 17, 2015
    Posts:
    131
    thank you. it helps.
     
  21. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Cool, glad it helped. Join the Playmaker Forums too, there are lots of helpful people over there as well :)
     
  22. witchscroll

    witchscroll

    Joined:
    Jan 17, 2015
    Posts:
    131
    thanks you.
    after saw the 2.5min 'PlayMaker Unity UI Proxy Introduction' tutorial video, i decide to use ugui for my project. it looks so simple to use. then i go to playmaker web, found the addon page, then see unityui page, there are 2 download link, one is for uGuiProxy.unitypackage, the other if for uGuiProxyfull.unitypackage. i wonder what's the difference between these 2?
    do i have to use the full one?
     
  23. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    uGuiProxyfull.unitypackage includes the full set of UI actions. You should probably download that one to have the actions handy.
     
    Last edited: Mar 19, 2016
  24. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  25. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Tinjaw and hopeful like this.
  26. Alex-Chouls

    Alex-Chouls

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

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Tinjaw and Bhanshee00 like this.
  28. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  29. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Check out Spell Fighter VR 100% made with Playmaker:
     
    600 likes this.
  30. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  31. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  32. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Reminder, follow @JeanAtPlayMaker on Twitter for Playmaker Ecosystem updates!
     
  33. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Made a game with Playmaker? Let us know. We'd love to hear about it and help get the word out :)
     
  34. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  35. Alex-Chouls

    Alex-Chouls

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

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Check out a new video tutorial from mdotstrange!
    How to use Animation Events with Playmaker and Unity:
     
  37. Alex-Chouls

    Alex-Chouls

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

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  39. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Bhanshee00 likes this.
  40. Alex-Chouls

    Alex-Chouls

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

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Check out this tutorial for the excellent Car Setup for Playmaker:
     
  42. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    theANMATOR2b likes this.
  43. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    theANMATOR2b and Bhanshee00 like this.
  44. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  45. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    600 and Bhanshee00 like this.
  46. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Last edited: Apr 9, 2016
    Bhanshee00 likes this.
  47. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
    Check out the amazing looking Worm Animation, adventure game meets music making:


    Made with Unity + Playmaker :)
     
  48. Alex-Chouls

    Alex-Chouls

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

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369
  50. Alex-Chouls

    Alex-Chouls

    Joined:
    Mar 24, 2009
    Posts:
    2,369