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

Pages: 1 [2]
16
Hi dude,

Sorry for late reply. I got swamped by assignments. I cannot seem to control the textures depth at all. The box is grayed out
and while it is behind all the ngui elements. It is not behind the the unity2d sprite objects.

Am I missing something?

17
Hi guys,

I am creating a 2D game.
Everything is done but I want to change the way I do one part. I am currently applying a texture to a plane object and having it act as the background for my game.

What I would like to do is replace this with an ngui simple texture.

I have tried to create my own shader but I am new at it and the results were not that good. I also tried to setup two uicameras. One for the standard ui elements and another for the background.

To get one uicamera to work as the background I just change its depth. The problem is the simple texture keeps updating or changing from background layer to gui layer at runtime.

Any ideas on how to fix this?

18
NGUI 3 Support / Re: One size fits all interface
« on: December 30, 2012, 11:11:56 PM »
Thanks dude,

I managed to figure out the anchor part.

Cheers for the the link and also for making NGUI.
Its a life saver

19
NGUI 3 Support / One size fits all interface
« on: December 30, 2012, 09:51:15 PM »
Hi,

I got 2 questions which are tied together. Is there anyway I can lock parts of my UI to sections of the screen or have the interface scale up and down.
For example:

1)
If I want a menu always along the top and a status bar at the right side of the screen. Is it possible to make the NGUI components dynamic in that they will always follow(be glued) to these sections.

2)
If I make one interface is it possible for them to scale up and down. I know this affects the pixel perfect component of NGUI. I just wanted to know if it was possible.

20
NGUI 3 Support / Re: Popup list is just an empty gameobject - BUG
« on: December 14, 2012, 09:31:07 AM »
Yep.

That fixed it.
Restarting Unity removed the errors.

I think it was caused from the free versions of NGUI being imported before.

Thanks for you help. I really appreciate it.

21
NGUI 3 Support / Re: Popup list is just an empty gameobject - BUG
« on: December 14, 2012, 04:35:53 AM »
I was able to fix all my problems by deleting the NGUI folder in NGUI HUD TEXT and NGUI folder in TDTK.

I imported in NGUI again to fix any of the missing references.

I am now also able to create NGUI popup list and menus.

Woo

Now the only error I get is this:

This error pops up after I press play and hit stop.

UnassignedReferenceException: The variable mRen of 'UIDrawCall' has not been assigned.
You probably need to assign the mRen variable of the UIDrawCall script in the inspector.
UIDrawCall.UpdateMaterials () (at Assets/NGUI/Scripts/Internal/UIDrawCall.cs:207)
UIDrawCall.OnWillRenderObject () (at Assets/NGUI/Scripts/Internal/UIDrawCall.cs:302)
UnityEditor.DockArea:OnGUI()

22
NGUI 3 Support / Re: Popup list is just an empty gameobject - BUG
« on: December 14, 2012, 04:08:41 AM »
The only thing I can think of that could cause any Issues with NGUI is that I purchased a packaged called

Tower Defense Toolkit(TDTK)

It says it supports NGUI and I am looking to see if it brought in the free version of NGUI anywhere.
I am doing the same for NData and NGUI HUD Text.

I can see the have an NGUI folder that contains DLL files and editor.

Should I delete these folders?

23
NGUI 3 Support / Re: Popup list is just an empty gameobject - BUG
« on: December 14, 2012, 03:53:07 AM »
Sorry for the slow reply. I got stuck in work for a few days.

I had latest version 3.x of Unity3d.

I just upgraded today to Unity4 as I bought NData plugin for NGUI.

The errors I am now receiving are:

Assets/NGUI/Scripts/Editor/BMFontReader.cs(47,34): error CS0433: The imported type `BMFont' is defined multiple times

Assets/NGUI/Scripts/Editor/NGUISettings.cs(20,16): error CS0433: The imported type `UIWidget' is defined multiple times


So I cant tell you more about the previous error till this goes away. I tried importing again from the Asset store and doing a reimport all in unity editor.

With the pop list and menu. It is a strange error and I used NGUI for a contract I done with a Company and was impressed with it so I bought it for my Indie work. I just found it strange that the pop list and menu is just blank for me.

Thanks for pointing out the screw.The interface is a rough layout till the artist in our group creates the necessary photoshop files.

24
NGUI 3 Support / Re: Popup list is just an empty gameobject - BUG
« on: December 09, 2012, 12:30:39 AM »
Thanks for your reply.

I do add and specify all the sprites.
Here is a screenshot to show you what I am doing.

https://www.dropbox.com/s/i09qqgu0e4zcn31/NGUI_popuplist_error.png




I circled the areas so you could see.

The popup list is just blank. The same thing happens for popup menu.
I created a popup list manually. I could try re-importing everything in but no luck. Still the same issue

25
Other Packages / Re: NGUI: HUD Text
« on: December 08, 2012, 08:33:48 PM »
Thanks for you help.
Ill pass that information onto my friend and see if that solves his problem.

:)

26
NGUI 3 Support / Popup list is just an empty gameobject - BUG
« on: December 08, 2012, 08:30:45 PM »
Hi Guys,

I think this could be a bug. But when I create a popup list or menu it spawns as an empty gameobject.
I can go and add all the components manually but just wanted to know if anyone else had this problem and if there is a way to fix it.

27
Other Packages / Re: NGUI: HUD Text
« on: December 06, 2012, 10:52:29 PM »
Awesome.

I am going to get the extension then.
NGUI  makes things a lot easier then coding the GUI by hand in the default way.

I had a friend tell me they couldnt get a dll file to compile so from their experience the extension doesnt work on mobile platforms.

28
Other Packages / Re: NGUI: HUD Text
« on: December 06, 2012, 12:36:47 AM »
I have NGUI and was about to buy this addon.

I just wanted to know if it would work with IOS and Android

Pages: 1 [2]