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 - puneetk

Pages: [1]
1
NGUI 3 Support / Re: NGUI Button to activate/deactivate some other buttons?
« on: November 06, 2014, 04:09:34 PM »
Thanks, is there also a way to set UIToggle script to work onPress or onHover?

Basically, I have another button, that shows another sprite when you press it (using UItoggle and selecting the other sprite), and I want another Panel to show, once the button is released.

How do I get this to work?

2
NGUI 3 Support / NGUI Button to activate/deactivate some other buttons?
« on: November 05, 2014, 12:37:03 PM »
Hi I'm trying to make a "settings" button which on click shows two other buttons that is a sound and music button. When you click settings again, the sound and music button should disappear.

Any way to do this using the preprovided ngui toolset?

3
NGUI 3 Support / Re: New Anchor system- need some help regarding scaling
« on: November 03, 2014, 02:59:58 PM »
Hi, thanks. I guess I kind of figured this out through trial and error.

Just a question though, is there a drawback to using the old anchoring system? In some cases where I want scale, I find the new one much easier but in other cases where all I want to do is anchor to the screen, this new system easily turns into a mess.
ESPECIALLY for UILABELS

I still have not been able to place my labels properly the way I want to with the new anchors. If I have 2 labels one called 'Score' and other called 'High Scores' and want to place them exactly under eachother in a line, I can't do that. Setting the horizontal position for both to say 0.10 does not align them - even if both are anchored to left.

4
NGUI 3 Support / New Anchor system- need some help regarding scaling
« on: November 01, 2014, 10:40:41 AM »
Hi guys,

I just recently updated to NGUI 3.7.5 from the free version which I used in a previous project to try out. I really loved it and that's why I just bought the latest one.

I was trying to place a UI2Dsprite, exactly at 30% of the height from the top of the panel, and exactly in the center of the Screen's X axis (left -50%)
This was very easy with the old anchoring system, but the new system seems to keep scaling my UISprite2D every time I change the slider values from 0-1 or the number next to the '+' sign. And If I set it to something that's acceptable to me, when I change the screen resolution, the sprite moves to the wrong position.

Is there any way to do this in the new system?

Also in the new anchor system, what does the slider of 0-1 mean? I read the docs but that isn't clear enough to me.
Same for the number next to the '+' sign.

Thanks

5
Yes, I was talking about 2.7.0

Sure, thanks for your help so far! Hope Aren can give me a reply :)

6
Thanks! It did work for iOS!

Still getting scaled up sprites for WP/BB10. Checked the overwrite settings, it's not overwriting though!

7
Right, I noticed that for iOS unity is compressing my Textures to RGBA 16 bit and making it's filesize half, and likewise the atlas is being reduced to a 1024 x 1024 from 2048 x 2048 which I was using on BlackBerry.

Is there a way to get it back to 2048? I've tried a lot but nothing worked.

Also, on Blackberry 10 and Windows Phone 8 I am getting my sprites blown up to an undesired size.

Attaching a screenshot.

8
Hey everyone. I'm using NGUI Free version.

All my textures, sprites and all are breaking when switching from Android to iOS or BB or any platform for that matter.

I was working in Android mode till now so everything was fine as expected. But when I tried to build for iOS/BB/WP8 all the sprites, and textures ruined! All other platforms fail to give me the desired output..
I really have no idea why this is happening. I've searched all over the forums but no one seems to have got the same problem.

Please help me out.

I have attached 2 images 'android' and 'ios' to show how its breaking on iOS. If needed I can show you image of BB/WP8 as well.

Thanks!

Note: I am using both sprites and textures

Pages: [1]