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

Pages: [1]
1
NGUI 3 Support / Re: Reduce size of atlas
« on: April 03, 2017, 11:17:19 AM »
Sounds like the individual sprites are quite big. Step 1 would be to see if you can make them smaller and still get the result you want. If that doesn't work, consider not putting them in an atlas, but as "raw" textures and use a UITexture instead of a UISprite to put them on screen.
If I can make this atlas texture 2048 it will solve the problem but as I said if I do that sprites will smash together. I reduced the size of all textures but still I can't reduce atlas texture to 2048 . Redoing it with UiTexture will take a lot of time and will probably cause many bugs and redoing.
I'll appreciate if you can help me with this.
Thanks

2
NGUI 3 Support / Reduce size of atlas
« on: April 03, 2017, 09:53:53 AM »
Hi, Recently I did a build on my app on iOS and observed it was too large , after seeing the editor.log I saw that it was because my main atlas. This atlas has 40 icons in it. the size of its png texture is 1.3 mb in finder but in unity it says it is 85.3 mb! the texture is 4096 truecolor. I tried to make it 2048 and it helped a lot but the problem is all the sprites smash together and are not shown correctly. I'll appreciate if you know any tips on how to reduce the size of my atlas.
Thanks very much

3
Wow, Thanks man , setting the depth of the Panel of scrollView to a negative value seems to solve the problem  ;)

4
Hi, I have a setup much like instagram explore , which has a scrollView with a grid of cells inside. and in the footer of the app I have some buttons which has higher depth of the cells. which looks like this :


The problem is the footer and all its items has more depth than the cells but the cells get the click and prevents the footer buttons from getting the click. the hierarchy looks like this :

-ScrollView
--Grid
---Cell1
---Cell2
---Cell3
-Footer
--Btn1
--Btn2
--Btn3

I'll appreciate if anyone can help me with this.
Thanks

5
NGUI 3 Support / Re: Clicking buttons inside Grid
« on: December 08, 2016, 11:12:21 AM »
Thanks , No I have tried many different depth scenarios but none worked. What did work was to set the z-position of grid behind all other elements, at least in the editor. I hope it works the same in the mobile.

6
NGUI 3 Support / Re: Clicking buttons inside Grid
« on: December 08, 2016, 09:19:20 AM »
Yes if I disable my grid's collider everything works fine, but if I do that I can't scroll in my scrollview

7
NGUI 3 Support / Clicking buttons inside Grid
« on: December 07, 2016, 03:16:28 PM »
Hi, I have a ScrollView which has a Grid which has some buttons inside it. the hierarchy looks like this :
-ScrollView
--Grid
---Button1
---Button2
---Button3
My buttons are instantiated at start and then I reposition Grid to sort the buttons inside my gird. The problem is I can't click my buttons unless I disable the collider of my grid. However if I don't instantiate my buttons and just have them normally inside my grid , I can click them without problem.
I'll appreciate if you can help me with this.
Thanks very much
Best

8
NGUI 3 Support / Button inside ScrollView
« on: June 16, 2016, 04:44:44 PM »
Hi, I have a scroll view which has lots of buttons in it. It works well if I scroll on empty parts, but if I try to scroll on the parts which has buttons the button gets the event not the scrollview. What I'm trying to is to be able to scroll on the buttons.
I'll appreciate if you can help me with this.
Thanks

9
NGUI 3 Support / NGUI drag and drop puzzle game
« on: March 04, 2016, 04:18:38 AM »
Hi, I'm trying to make a puzzle game with NGUI. It has an inventory spot which the pieces are located and an empty canvas with multiple containers for pieces. I can make drag and drop functionality but I want to also be able to check if the correct piece has been assigned to the correct container and only if so stick the piece to the container and otherwise if it is the wrong piece return it to its initial location.
I'll appreciate if you can help me with this.
Thanks

10
NGUI 3 Support / NGUI autocomplete
« on: August 03, 2015, 11:36:28 AM »
Hi , I wanted to ask if NGUI has any features to let you have a dictionary for an input field and as the user types in shows the suggestions based on the dictionary.
Thanks

11
Other Packages / Re: Tasharen Water
« on: March 13, 2014, 02:11:52 AM »
Thanks , yes I've tried those , but in iOS platform I don't see any difference by changing them.

12
Other Packages / Re: Tasharen Water
« on: March 12, 2014, 12:43:35 AM »
Yes it has transparency . but I mean a parameter or a way to increase the transparency of the water. I tried decreasing the alpha of the colors but it didn't help.
is there a way to do that?
thanks

13
Other Packages / Re: Tasharen Water
« on: March 11, 2014, 03:17:35 PM »
Hi , is there any way to add to transparency of tasharen water ?
thanks

Pages: [1]