Playmaker Forum
PlayMaker Help & Tips => PlayMaker Tutorials => Topic started by: sebaslive on February 03, 2015, 09:14:09 PM
-
Are there any tutorials on creating actions for playmaker? I tried the custom action wizard but I got nowhere...
-
If you're going to create actions you still have to code them (generally in C#). I usually find a similar action and start from there so I don't have to write the whole class/method structure and tooltips out again.
-
I tried coding something out that I thought would work but when I put it into playmaker I got too many errors.
-
Yep, that happens. You need to study C#.
Scripting Reference
http://docs.unity3d.com/460/Documentation/ScriptReference/
C# Operators
https://msdn.microsoft.com/en-us/library/6a71f45d.aspx
.NET Framework Library
https://msdn.microsoft.com/en-us/library/gg145045(v=vs.100).aspx
-
And maybe a series for more advanced level tips?
-
It's really just basic coding. The API reference is here on the wiki:
https://hutonggames.fogbugz.com/default.asp?W127
After you understand C#, that page makes a lot of sense.
-
or a javascript tutorial would be nice. Wink, wink, nudge, nudge...
-
http://unity3d.com/learn/tutorials/modules/beginner/scripting
-
I mean I know javascript but would like to know how t use it make actions.
-
If you already know JS then you could probably just read up on converting C# to JS to recognize the differing syntaxes and start creating your own actions fairly easily. The callouts for the variables are the only part that you would need to figure out, beyond that you should be right at home using JS in the action as there isn't much below that which you can't do with the same code you would use in normal scripts.
-
Hi,
I agree, we need a proper series on making actions, getter, setters, accessing public, static variables, hooking up to various types of events, etc etc.
Ideally, I would like the dust to settle on 1.8 cycle, have it out of the door, bringing everything in par with the greatest new additions 1.8 will bring, and then do a serious effort on documentation for action development. I would like this effort to be hosted by the Ecosystem, because if more and more people are doing custom actions, we must encourage them to build good and reusable actions that they can share and be credited for it, so that other members can benefit from this great dynamic. This is true for individuals but also for publishers willing to provide PlayMaker support.
Bye,
Jean
-
Cool, I think thats a great way to encourage everyone to help out with the ecosystem.