playMaker

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 - spacerobot

Pages: [1] 2
1
Mark! Excellent. Thank you for this write up. I now have everything working correctly!

2
The method mentioned by Marc above is exactly what I need to get working. I seem to be having some trouble though. I don't exactly know what the particulars should be for each of those steps.

Mark or anyone could you post an FSM that shows a little more detail on this?

3
General Discussion / Re: Playmaker starter kits. Any interest?
« on: June 30, 2014, 08:20:23 AM »
Thanks. I didn't see that. I'll check it out.

4
General Discussion / Re: Playmaker starter kits. Any interest?
« on: June 29, 2014, 05:00:21 PM »
Wow what a great idea!

I would LOVE to see a metroidvania starter kit. Not a full game, just changing rooms and loading levels. Basic power up functionality, mini map if you feel like getting crazy.

5
General Discussion / How to structure game setup?
« on: March 29, 2014, 11:44:12 AM »
I am making an adventure game where there will be a lot of levels or rooms. There are some things like my camera, player, health manager etc. that will need to be there in each scene.

What's the best way to go about transitioning levels and keeping a bunch of default items active? Prefabs? Player prefs? Any other tricks?

I'm new to Unity and Playmaker so before I start building a bunch of levels I am trying to get a plan together to make it easier.

6
PlayMaker Help / Re: How would I play an animation when player dies?
« on: March 27, 2014, 05:44:36 PM »
I got it working!

A little different method though than we were trying here.

I created an animation trigger in the animator called isDead.

At the end of the FSM chain on the Player object my state for "Player died animation" I set an action to set animation trigger and specified the trigger isDead.

In the animator I made a transition from Any State to Death and set the condition to the isDead trigger.

I then added an "Enable Behavior" action to the Player FSM "Player died animation" that disabled my character control script so the character doesn't continue to move while he is lying on the ground.

I'm not sure if this is most optimal way to do it but it works.

Lioncirth thanks for all your help. I appreciate it.


7
I am looking for this too. I thought I read that they were working on recreating the unity 2d sample game project in playmaker. Not sure if this is still ongoing or not. that would be very helpful though.

8
PlayMaker Help / Re: How would I play an animation when player dies?
« on: March 27, 2014, 10:09:23 AM »
I will try and get my game up - may not be till tonight though.

Mine works a little different as I have two characters in the scene. One further away and the camera goes to it and then it dies and goes back to the playable one.

In theory it should still work the same though

That would be very helpful!

9
PlayMaker Help / Re: How would I play an animation when player dies?
« on: March 26, 2014, 07:38:28 PM »
I just tried it with the animator component off and I got the same results. Any chance of posting a working example for something like this?

10
PlayMaker Help / Re: How would I play an animation when player dies?
« on: March 26, 2014, 11:38:25 AM »
The death animation is legacy.

Could my character controller script be interfering with this since it is controlling the character and not playmaker?

11
PlayMaker Help / Re: How would I play an animation when player dies?
« on: March 26, 2014, 11:08:30 AM »
Here is the player inspector.

12
PlayMaker Help / Re: How would I play an animation when player dies?
« on: March 26, 2014, 10:28:18 AM »
Thanks.

I fixed the FSM2 naming and added the Finished state transition to the set global.

When I change the animation to use the global var it says there are no animations available. When I select the player object though they are all listed.

EDIT: Also I see that everything is working between the two FSM's and the state is making to the final Player died animation state on the player object.

So close! Something is still off though.

13
PlayMaker Help / Re: How would I play an animation when player dies?
« on: March 26, 2014, 08:45:29 AM »
Hmmm. It still isn't playing the animations. Do these look right for the states for the end of the health manager and player (attached)?


14
PlayMaker Help / Re: How would I play an animation when player dies?
« on: March 26, 2014, 08:24:25 AM »
Thanks for the info. I think I am close, but it is still not playing the animation. Is there anything inside the listen state? Or does that just hook to the play death animation state?

15
PlayMaker Help / Re: How would I play an animation when player dies?
« on: March 26, 2014, 07:38:50 AM »
Thanks for getting back to me. I appreciate it.

So I cannot add the animator controller to the play animation action. Do I need to get that and store it somehow as a variable or something?

Pages: [1] 2