playMaker

Author Topic: Create simple game over problems.  (Read 1779 times)

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Create simple game over problems.
« on: September 06, 2014, 07:47:56 PM »
In my game I have a start transition and a collision enter transition for the player (prefab as well)with the needed global variables. And second object to ends the level with a start global transition. The problem is when the player comes in contact with the trigger object it switch global transitions.

Plus the Finish Game object that is suppose to end the game is set up this way.

First state ("trigger event" and "wait" actions with a transition that is global).

Second state ("Set position" with a Specify Game Object tab set to player prefab ) and flows into a third state that is empty.

The players FSM has a start global transition that has movement and the other global transition has a send event that broadcasts all on Event Target tab.

Why is doing this?



Neoisrael

  • Playmaker Newbie
  • *
  • Posts: 34
Re: Create simple game over problems.
« Reply #1 on: September 07, 2014, 10:29:18 AM »
I think theres a problem in ur fsms

It will be a lot easier if u could provide some screenshots... Show us all the fsms envolved

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Re: Create simple game over problems.
« Reply #2 on: September 07, 2014, 05:24:54 PM »
Here's a less complicated fsm setup for both with freeze player event being global.


https://db.tt/Om0W68tx

https://db.tt/7wAOqjfD

https://db.tt/3snFD0dO

https://db.tt/LpVLt8LH