PlayMaker Feedback > Feature Requests

Fungus Playmaker Integration

(1/3) > >>

Nilihum:
New member, don't know if this is the right place to post, though.

I am a fourth year games design student who has decided to create some support for using both Playmaker and Fungus on a single project, and I was wondering if there is anyone here who might be able to give advice on how I might accomplish that. Having spoken to developers on the Fungus side of things, I've determined that the project should be bundled into a .unitypackage so as to not cause people without both programs error messages, and also that there are a few obvious things that would be beneficial such as:

1. A PlayMaker action which can execute a named Fungus block in a Flowchart.
2. A Fungus command which can trigger a PlayMaker state transition in a FSM.
3. A custom Fungus command to copy a Fungus variable value to a PlayMaker variable.
4. A custom PlayMaker action to copy a PlayMaker variable to a Fungus command

I was wondering if there is anyone on this forum that could give me advice on where to begin, what to lookout for, what classes I should look at, or what difficulties I might encounter.

Thanks in advance.

jeanfabre:
Hi,

Your best start is to check how other assets are supported or supporting PlayMaker.

There is long list on he wiki: https://hutonggames.fogbugz.com/default.asp?W714

The difficulties will be the following:

-- you need to know PlayMaker Api and paradigm of working
-- you need to know Fungus Api and paradigm of working
-- you need to know how to script in c#

I have created a trello card for this, please up vote to show interest

https://trello.com/c/mCAUzJdO/172-fungus

 Since Fungus is free, I may allocate some time to this in the near future if there are enough votes.

I would also contact the authors of fungus to see if they are up to support PlayMaker, official support is always better of course.


 Bye,

 Jean

Nilihum:
Thank you for the advice that you've given, Jean. The assets wiki will be helpful.

I've gotten in touch with one of the authors and co-founders of Fungus and he's given me the okay to undertake this project, and that I should post on the Github page if I ever need his advice. I was wondering if you had any features or functionality you'd like to see implemented in this project. Do you have any other advice on how to go about this project, such as how to get the two programs to reference each others variables, what steps might be needed to execute a Fungus Block via the flowchart class? Any advice you can give will be really helpful.

Thanks again in advance.

jeanfabre:
Hi,

 That very much depends on their api, so without diving into it, it's difficult to say.

 likely, you'll need a proxy component which will act as a middle man between PlayMaker and fungus. that's almost a given for a start.

Bye,

 Jean

Nilihum:
I've only got the chance to work on this recently, hence why I've not been updating, but I just thought I'd drop a line and give an update. In the passed few days I have managed to create a Playmaker action that can write a string into a string in Fungus, and intend to expand this to accept other variable types. I've also created a Playmaker action that can execute named blocks in a given flowchart.

The trouble I'm having now is accessing states within FSMs with is preventing me from accessing variables or causing state transitions. Th custom actions guide on the community wiki is a bit difficult to parse and I was wondering if anyone had any better tutorials I could use or if they had any experience with Playmaker that they could share.

Jeanfabre, can you elaborate on might a proxy component might be like? I managed to get Playmaker to interact with Fungus directly, but I can't seem to do the reverse. I was thinking of creating a custom script as a middleman, is that what you meant?

Navigation

[0] Message Index

[#] Next page

Go to full version