playMaker

Author Topic: Resolution Independent GUI Help...  (Read 2085 times)

nabilfx

  • Full Member
  • ***
  • Posts: 186
Resolution Independent GUI Help...
« on: April 14, 2014, 08:54:41 AM »
Its possible to create a single draw call UI, to scale perfectly between different mobile device resolutions and aspect ratios.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Resolution Independent GUI Help...
« Reply #1 on: April 15, 2014, 10:35:46 AM »
Hi,

 Yes, using Ngui or Dfgui and the likes. You will likely have several drawcall, one draw call is unlikely in a real world project. But that's perfectly fine.

What problem are you facing?

Bye,

Jean

nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: Resolution Independent GUI Help...
« Reply #2 on: April 15, 2014, 10:27:27 PM »
I put a Plane.obj with a playmarker Touch GUI Event, to play an audio, inside the NGUI container, but does not work! why??

What i need to do in order to get the funtionalities of the playmarker Touch GUI Event.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Resolution Independent GUI Help...
« Reply #3 on: April 17, 2014, 02:27:08 PM »
Hi,

 You need to learn how to use Ngui first. Ngui has some very specific conventions and rules.

ngui ONLY works with textures, so you need to create an image, then turn that into an atlas that you can then reference in a sprite, once you have that, you can start implementing playmaker and the ngui bridge to catch ngui events within playmaker.

Study the examples provided with the ngui playmaker bridge, its important that you understand how things work first.

bye,

 Jean