playMaker

Author Topic: Displaying multiple layers of boxes on screen  (Read 2445 times)

miurayumu

  • Playmaker Newbie
  • *
  • Posts: 2
Displaying multiple layers of boxes on screen
« on: June 29, 2013, 08:41:23 AM »
Hello guys.

I'm working on a game in Playmaker. I'm new, so please forgive me for
the lack of jargon.

The game I'm working on consists of a player being asked questions,
and based on the response to these questions, parameters such as
health, IQ, wealth, and luck increase/decrease.
These parameters at a certain point will judge what profession the
character holds in the game.

I have been able to create the general system of this game; that is,
display one question in a GUI Box, and reponses as GUI Buttons, and
based on the responses, the values of the parameters change.

However, I am now trying to do 2 things.

1) Display multiple questions and responses at the same time.
I will probably have to display the question and responses in a different
GUI Box. That said, I would like to display multiple GUI Boxes with questions
and responses at the same time.

2) Set a random time limit for each GUI Box including the question and response.
I have created a Timer Game Object using the Get Time Info action.
While I am still testing, this should not be too hard to do (maybe?)

If anyone can give me input as to how to display multiple GUI Boxes with questions and responses at the same time, it would help me alot.

I may have not made myself clear enough, but if so, I am more than willing to
elaborate.

Thanks for your help.

Ayumu Miura

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Displaying multiple layers of boxes on screen
« Reply #1 on: July 01, 2013, 03:10:09 AM »
Hi,

 Doing complex UI with Unity Gui AND PlayMaker is not really recommanded. I suggest you approach your ui design with a propery framework like Ngui or 2d toolkit or ezgui.

 The main problems you are going to face with playmaker and GUI are:

-- lack of content ordering
-- no persistance of gui definition, ( so very difficult to build very complex lists for example)
-- no gui window support yet.


you'll find that using a 2d framework will give you much more raw power and a better experience when designing the screens etc etc.


bye,

 Jean

miurayumu

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Displaying multiple layers of boxes on screen
« Reply #2 on: July 01, 2013, 03:47:14 AM »
Hey Jean,

Thanks for your input.

Based on what you say, I think I will try doing it using NGUI.
While I was hoping there would be a way to display multiple GUI Boxes in
Playmaker, I'm glad that I can ask my associate to do it for me.

Thanks again for your to-the-point response.

Ayumu Miura