Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: BeardedWonder on July 10, 2018, 08:03:00 PM

Title: Struggling to convert from coding to PM, any useful tutorials?
Post by: BeardedWonder on July 10, 2018, 08:03:00 PM
Ive looked at some tutorials and they arn't helping too much, or im looking at the wrong ones.

Ive been teaching myself c# for about a month, and that seems to be enough knowledge to throw me off a little bit.

Events in playmaker. How do they work? Custom events mostly.

For instance if i want to jump, using a GetButtonDown code makes sense. And playmaker has the GetButtonDown and GetButtonUp which is great, but those arn't used for transitioning TO a jump (set velocity in Y axis) state, i need an event for that.

Code wise it makes sense in my head.
Check if the character is grounded, and use an If statement to apply force, or not apply force.

Even using playmakers "controller is grounded", i can't work out how to translate that into actually jumping.

I tried making an event IsGrounded and NotGrounded and not grounded looping back round to Movement but it said it was a loop count max and it wouldnt carry on.

Anyway, or anywhere to get a brief rundown of how parts of playmaker string together? Even the official tutorials seem to go on and not actually do much.

Currently it seems like coding in c# would be quicker than this and im sure it isnt the case.

Are there any example FMS's that are downloadable to see how it supposed to fit together?

Title: Re: Struggling to convert from coding to PM, any useful tutorials?
Post by: djaydino on July 10, 2018, 08:42:09 PM
Hi.

Maybe the video below can help or maybe something in the User Tutorial Wiki (https://hutonggames.fogbugz.com/default.asp?W548)