Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - chetanmrane

Pages: [1]
1
NGUI 3 Support / Re: Drag and Drop
« on: January 23, 2014, 07:23:49 AM »
Thanks for your reply Aren.

So what i understans till now is,

1. ExampleDragDropItem script will allow me to drag the item from second scrollview and drop it in first scrollview
2. it automatically reparent to first scrollview

my issue is, how could i reparent an item from first scrollview to second

i am still confused :(

2
NGUI 3 Support / Drag and Drop
« on: January 23, 2014, 06:22:04 AM »
Hi,

i am trying to follow the DragDrop exanple.
I need to make some modification as mention below:

1. i want to swap an items from the list

Ex. if i drag item from left list and tried to drop it on right list item, both should get swap (reparenting both)

is it possible?

can someone guide me to correct direction?

3
NGUI 3 Support / how to manage UI screens throughtout the game?
« on: January 10, 2014, 04:39:52 AM »
Hi All,

I am creating a sport game and handling 2d part by NGUI.
I might have more than 30 pages in my game and to manage those i am finding the best approach.

My main objective is to manage Runtime memory and also memory allocation as the game targets Mobile platform (android Arm6/Arm7 and iOS)

So can someone guide me to do this?

is it a good idea to keep all the prefabs (one ngui screen - one prefab) in resource folder and load/unload them on demand?

or is there a better approach i could use?

thanks,
Chetan Rane

4
NGUI 3 Support / uistretch jurk issue
« on: September 16, 2013, 07:29:59 AM »
hi

i have 960x640 image [game background]

this widget has UISprite-Slice type and UIStrect-Both script attached

my issue is the build works fine for iPhone 4 (UiRoot manual height set to 640)

But when i make a build for iPad (UIRoot manual height 768), the image get stretch but some jurk is noticed for fraction of sec)

i am doing anything wrong, any help please

5
Hi All,

i want to choose an imge from device gallary for my user profile.
EditorUtility.OpenFilePanel works only for Windows/OSX editor.
Any way to create our own file browser in ngui?

6
NGUI 3 Support / Re: Common UI in different scenes
« on: June 03, 2013, 05:57:00 AM »
Hi

i am following below practices:

1. Base Scene - UIRoot - DoNotDestroy script
2. NGUI Page prefabs, with dynamic loading/unloading to UIRoot
3. Additive load popups like Confirmation pages, Levelup, Error Popups, etc.


This way, i can control runtime time memory too

7
NGUI 3 Support / Re: Atlas consume much memry
« on: April 10, 2013, 07:36:17 AM »
how could i load atlases from resource folder

any example??

8
NGUI 3 Support / Re: Atlas consume much memry
« on: April 06, 2013, 06:02:35 AM »
oh i see

but then what will be the best practice to control runtime memory.

i have divided my game into multiple scene ...one scene = one ngui page
the idea is to keep the runtime memory as much controlled as i can...

but then even after unloading scene, ngui atlases eats memory

why is it so?

9
NGUI 3 Support / Re: Atlas consume much memry
« on: April 05, 2013, 05:13:40 AM »
Most of the atlases are having 1024x1024 resoultion. Few of them are 512x512

But i am using multiple atlases for some screens to keep the atlas size 1024x1024 (reason is - iPod touch and few low end devices were unable to load high resolution atlases)

10
NGUI 3 Support / Atlas consume much memry
« on: April 05, 2013, 01:16:05 AM »
Hi All

i have updated Unity 4.1.2 pro version which comes up with detailed memory profiling.

The memory consumption of all NGUI atlas are showing me incridible number on windows and mac

on windows all atlas are consuming 5.3mb memory while on mac its 6.0MB

Am i doing something wrong?


11
NGUI 3 Support / Re: Clipping problem with OpenGL ES 1.x
« on: March 20, 2013, 01:26:29 PM »
Thanks ArenMook for your reply

agreed that GL 1 is not supporting clipping

but for that, i am using alternate soultion of secondary camera as in NGUI sample example

my q's is can i used multiple View Cameras for multiple scroller one is horizontal and other is vertical?

if so, then what would be the best heirachy to use it?


12
NGUI 3 Support / Clipping problem with OpenGL ES 1.x
« on: March 20, 2013, 04:11:48 AM »
Hi,

I am facing clipping issue because of OpenGL ES 1.x.
The clipping works fine with OpenGL ES 2.0

So i dig lot into the forum and found one alternative to my problem...using secondary camera i can achieve scrolling without clipping

My doubt is ...

Can i add two different scrolling bars on single NGUI Page, i mean multiple View Camera ?

What would be the best practise?

Below is basic Ngui Structure i am following:


UIRoot 1
|-   2D Camera [NGUI Layer]
|-    Anchor
   |-    Panel A
      |-   Tile Sprite (with box collider and UIDrag Camera)
         |-   TopLeft
         |-   BottomRight
      
   |-    Panel B
      |-   Tile Sprite (with box collider and UIDrag Camera)
         |-   TopLeft
         |-   BottomRight
   
UIRoot 2
|-   View Camera (with UIDraggable camera and UIViewPort) [default layer]
|-   Anchor
   |-   Offset Panel (with UITable)
      |-   item
      |-   item
      |-   item

13
NGUI 3 Support / Circular/Endless/Infinite ScrollView
« on: January 08, 2013, 01:48:33 AM »
Hi All,

I have successfully implement scrollview using NGUI, but is there any way to make it endless.
I want my scrollview to be circular.
is it possible?

can somebody help me?

Pages: [1]