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

Pages: [1]
PlayMaker Help / Re: Singleton Manager
« on: February 08, 2016, 06:11:54 PM »
Hi Jean,

I allowed extra time as I know you are busy, didn't want to bother you too soon!

But now I am issuing a BUMP! :P

Thanks for looking into this for me

PlayMaker Help / Re: Singleton Manager
« on: January 26, 2016, 03:49:25 PM »
Yes Jean,

I have set my Singleton Manager Ref as "Player" for my player and "Camera" for my camera - unique huh? :P

These are placed in the start state of a separate FSM. So outside of my player movements etc. I have a singletonDestroy FSM set up on player. This calls Singleton first followed by Don't Destroy. This is the same for my camera FSM too.

Thanks again Jean.

PlayMaker Help / Singleton Manager
« on: January 22, 2016, 09:01:37 AM »
Hi and good day to you,

I am currently new to playmaker and have been slowly creating a metroidvania platformer style game. I have my Player spawning where needed and also have now prevented it from duplicating on level load.

However, I have been using the singleton manager action that Jean created a long while back. This works a treat when just placed in the start function of my player FSM. But the minute I then add a singleton manager to my camera, this creates 1 camera on level load (perfect) but now creates 2 players again!

I do have don't destroy on load on both camera and the player as I want to carry these both to every scene together.

I did have the camera set as a child to the player which worked perfect for scene transitions etc. but the minute I turned the character around to face left the camera then spun around to the back of the player (not ideal).

Hope my rambling makes sense and that someone can be of assistance.

Thanks guys.

I am truly, very sorry to necro a dead thread, but I just wanted to say a MASSIVE HUGE thank you for this thread to the OP.

I spent hours trying to set a similar solution up but things weren't setting as I wanted. Found this thread and BOOM, all is operational after 1 small tiny kink, 1 delete and 5hrs later :S (Forgive me for I am a new playmaker convert and barely know c#). When I transitioned from one scene to the next all worked fantastic - after I realised my duplicate player mistake etc. But then when transitioning back to my first scene it would load the second scene again!!

Important lesson kids, I fixed this by changing my trigger in scene 2 to make sure the next level being loaded was in fact scene 1, and not scene 2, like the original prefab had been set up for - if you get my meaning.

Thank you again OP if you are reading this. OP you were my only hope!! :P

Pages: [1]