playMaker

Author Topic: parking area  (Read 1239 times)

Ayman

  • Playmaker Newbie
  • *
  • Posts: 24
parking area
« on: July 31, 2018, 03:49:27 AM »
hey. i m new to unity and playmaker i make a parking game the probleme is how can i make the level complete when the full car enter the parking area !!!
i stuck in this about 5 days please guys give me some solutions to continue my work Thaanks first

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: parking area
« Reply #1 on: July 31, 2018, 03:52:15 AM »
Hi,

 your question is too general to be able to help you as is.

 what do you mean by "level complete" , is it to disable player movement, show a UI menu, load a new scene, increase a score?

 Can you detail what you expect to happen and where you are stuck?

 Bye,

 Jean

Ayman

  • Playmaker Newbie
  • *
  • Posts: 24
Re: parking area
« Reply #2 on: July 31, 2018, 04:17:51 AM »
Hii . i Mean show UI

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: parking area
« Reply #3 on: August 01, 2018, 02:40:09 AM »
Hi,

 the UI is a set of GameObjects, and you can simply activate deactivate them based on your level complete logic.

 I assume you are using the Unity UI right?

I think you should start with a simple scene, have a UI menu defined, and then with a simple fsm try to show and hide it, once you have that in place, try to animate it maybe, and then once you have that working, you can plug the logic inside your game, and then you'll be using the same fsm based on wether the level is cimpleted or not.

The same apply if the user wants to show the menu or pause the game, you'll expose a UI button and that UI button fsm will show/hide the pause menu UI GameObject.

 Does that make sense?

 Bye,

 Jean