Author Topic: Main Menu  (Read 4229 times)

ivomarel

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 53
    • View Profile
Main Menu
« on: April 19, 2012, 01:36:23 AM »
Hey!

This is a rather general question, but I am actually wondering if NGUI is suitable for creating a Main Menu in an iPhone game. It seems rather strange to be working with a 3D menu (even with 2D-sprites, but still you have the camera instead of just 2D on-screen drawing). Would you recommend to use the standard Unity GUI tools for main menu and NGUI for in-game? (that's what I'm thinking right now).


Thanks!

Ivo


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Main Menu
« Reply #1 on: April 19, 2012, 01:39:12 AM »
NGUI can be used for both 2D and 3D quite well. If anything, 2D is actually easier to work with. The menu system I have in Windward is all 2D.
« Last Edit: April 19, 2012, 02:49:36 AM by ArenMook »

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Main Menu
« Reply #2 on: April 19, 2012, 02:48:39 AM »
2D is way easier to work with. Use an orthographic camera especially for the GUI and you're good to go.

ivomarel

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 53
    • View Profile
Re: Main Menu
« Reply #3 on: April 19, 2012, 03:16:06 AM »
Hmm the actual reason why I posted this, is that I got in trouble while creating a background for my app main-menu. How do I make sure the picture that I have is exactly full screen?

Cheers,

Ivo

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Main Menu
« Reply #4 on: April 19, 2012, 03:17:28 AM »
UIStretch can be used to stretch any sprite along the X, Y, or both (thus filling the screen).