Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Alex Chouls

Pages: 1 ... 220 221 [222] 223 224 ... 229
Playmaker Tutorials / Re: A simple third person controller
« on: April 16, 2011, 02:23:50 PM »
Are you trying to do it in one FSM?

I would tackle this with 2 FSMs:

- The animation graph FSM: You can send events to this FSM to play animations, and set variables to control blends, animation speed etc.
- The controller FSM: Moves a "capsule" around, and sends events to the animation graph to switch animation state.

You should be able to test these separately. E.g., alt-click through the animation states to test them.

In my workflow, I like to test each FSM by hand and make sure it behaves correctly when you send it events and change its variables. Then hook the FSMs together when you're sure they're working correctly.

[EDIT] I'll make some more advanced videos soon, just want to cover the basics first.

Playmaker Bug Reporting / Re: LoadLevel and BroadcastEvent Action Bug
« on: April 16, 2011, 02:13:45 PM »
Thanks! I need to do a similar check within playmaker - will add it to the next update.

SanityCheck does what you think it does. There are some editor events that are hard to catch in Unity, so SanityCheck is the fallback to make sure the FsmList is good...

Playmaker Tutorials / Using Events
« on: April 16, 2011, 02:01:43 PM »
Video tutorial showing how to use events (as usual 720p recommended):

Nice solution! I forget sometimes how flexible the Unity Input Manager is...

Action Requests / Re: Request : iTween ValueTo
« on: April 16, 2011, 01:42:42 PM »
Not sure how you have things set up, but I would make an FSM just to display the score. You'll need to convert it to a string using Convert Int To String (hopefully we'll make string conversions automatic in a future update), then display this string with a GUI action. Lots of ways to do this. One way is to make a GUIText game object, position it where you want the score to be on screen, then use Set GUI Text, every frame, to display the score. You could even put the Scorekeeper FSM on this GUIText object...

Feature Requests / Re: playmaker viewer and trial
« on: April 16, 2011, 12:59:27 AM »
That is a good idea. Would also be useful to allow viewing of multiple FSMs at once...

Feature Requests / Re: State shortcut to avoid links clutter and cross
« on: April 16, 2011, 12:54:27 AM »
I wonder what it would look like on the target state? You would some visual indication of this link there too... but there can be lots of transitions into a state. Could get messy.

Feature Requests / Re: taking a screenshot of fsm
« on: April 16, 2011, 12:51:59 AM »
Interesting idea... not sure how I'd do that offhand, but I'll keep the idea in mind. An opportunity might present itself to add this.

I agree this would be cool.

BTW, the START event is special - you can't send it yourself... it's more of a label than a real event.

The main reason for this is you don't always know the target at edit time. E.g., you collide with a game object and then want to send an event to an FSM on that object.

But it does seem like there should be a UI that works for both situations (i.e., when you know the target at edit time, and when you don't). Let me think about that some...

Feature Requests / Re: List Of Where Action is Currently Used
« on: April 16, 2011, 12:43:39 AM »
I agree. I'd like to have a powerful Find Dialog to find actions, events, variables etc.

Feature Requests / Re: Inspector Buttons for Events.
« on: April 16, 2011, 12:42:23 AM »
That would be very cool. Turns the Inspector into a more complete control panel for the FSM. That should be fairly easy to add...

Feature Requests / Re: debugging and stack tracing
« on: April 16, 2011, 12:41:00 AM »
There's some info in the Playmaker Debug Log Window (in Debug menu). I'll look into adding more info there (e.g., action that sent the event).

Feature Requests / Re: Unity toolbar > Playmaker > Forum(missing)
« on: April 16, 2011, 12:38:54 AM »
Great idea - will be in the next update! :)

Playmaker Tutorials / Using Triggers to Open Doors
« on: April 15, 2011, 11:32:28 PM »

Pages: 1 ... 220 221 [222] 223 224 ... 229