playMaker

Author Topic: Going from main scene to "Game Complete scene"  (Read 2066 times)

brynjarst

  • Playmaker Newbie
  • *
  • Posts: 2
Going from main scene to "Game Complete scene"
« on: December 16, 2013, 06:08:08 AM »
Hey guys. I just started using Playmaker a couple of weeks ago and I'm trying to get from my main scene to the final scene that just says "Game Complete"

It's a basic game where you collect some items and when you've collected them all you get the final scene.

I've put in a Int Compare action so when the int equals 5 then it should finish.

What's the best setup for that?

So far I've followed the Get Health tutorial huntonggames has on their youtube channel but now I'm totally stuck.

I attached a image of how my FSM looks (those pointCheck and Finish is something I tried but it doesn't work)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Going from main scene to "Game Complete scene"
« Reply #1 on: December 16, 2013, 06:42:08 AM »
Hi,

 Simply use the action "Load Level". have you tried that? Or do you have a problem of logic to actually fire that action?

bye,

 Jean

brynjarst

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Going from main scene to "Game Complete scene"
« Reply #2 on: December 16, 2013, 06:51:36 AM »
Well the thing is that as I said I'm a total noob so the problem is that I had tried that function but I don't actually know where to put it. My thought was to make a new state and connect it to the listener, or should it connect to the Add_points state?