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

Pages: [1]
1
NGUI 3 Support / Re: UIAtlasMaker exception
« on: July 19, 2013, 05:01:24 AM »
I am on a mac using Unity 4.1.5 + NGUI 2.6.3. I understand your not seeing it on your windows machine, but myself and quite a few others are getting this error (maybe only mac users). Is there a mac that you can borrow to try and trouble shoot this problem? Because the product is unusable in it's current state.

Thanks

2
NGUI 3 Support / Re: UIAtlasMaker exception
« on: July 18, 2013, 07:35:55 AM »
I have NGUI 2.6.3 installed on Unity 4.1.5 and I still get the 2D texture error. Any ideas of a fix ?

3
NGUI 3 Support / Re: UIAtlasMaker exception
« on: June 17, 2013, 04:49:57 AM »
Hello again;

I can not even create an altas, the ONLY way I can get it to build is if I uncheck the PMA shader, however then the atlas is not correct. I can not update the atlas or anything with that checked.

I hope this gives you a little insight to the issue. I look forward to your reply.

Thanks

4
NGUI 3 Support / Re: UIAtlasMaker exception
« on: June 15, 2013, 09:42:31 AM »
When I try to create an atlas I get the following error also:

MissingReferenceException: The object of type 'Texture2D' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UIAtlasMaker.AddSprite (System.Collections.Generic.List`1 sprites, .SpriteEntry se) (at Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs:225)
UIAtlasMaker.ReplaceSprites (.UIAtlas atlas, System.Collections.Generic.List`1 sprites) (at Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs:387)
UIAtlasMaker.UpdateAtlas (.UIAtlas atlas, System.Collections.Generic.List`1 sprites) (at Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs:563)
UIAtlasMaker.UpdateAtlas (System.Collections.Generic.List`1 textures, Boolean keepSprites) (at Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs:620)
UIAtlasMaker.OnGUI () (at Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs:903)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)


I am using NGUI 2.6.2 2.6.3 is not on the asset store yet.

I thought it was a FastGUI issue however it does the same error even when I remove anything fast GUI related.

Any ideas on how to fix this? Note I do not have the cache server enabled like the previous user.

Thanks

5
NGUI 3 Support / Re: Error once imported
« on: May 20, 2013, 10:04:49 AM »
Your completely correct about your guess, it was used in my camera follow script. I need to re-write that one haha.

Thanks again.

6
NGUI 3 Support / Re: Error once imported
« on: May 20, 2013, 07:38:28 AM »
Actually correction I get 25 errors stemming from the UICameraTool.cs script. Once I upgraded. I have deleted and e-imported with no luck. Attached is the error list image from Unity's console.

7
NGUI 3 Support / Re: Error once imported
« on: May 20, 2013, 07:31:56 AM »
I upgraded my version to 4.1.2 / latest version and I get this error now:

Assets/NGUI/Scripts/Editor/UICameraTool.cs(185,81): error CS1061: Type `Camera' does not contain a definition for `gameObject' and no extension method `gameObject' of type `Camera' could be found (are you missing a using directive or an assembly reference?)

Thanks

8
NGUI 3 Support / Error once imported
« on: May 13, 2013, 11:50:03 AM »
Hello;

First off I love NGUI it just does what I need however today I started a new project, fresh install and I get the following error: Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs(116,42): error CS0117: `UnityEngine.SystemInfo' does not contain a definition for `maxTextureSize'

How can I resolve this, thanks in advance for your help!

9
NGUI 3 Support / Re: Leader Board Help.
« on: December 16, 2012, 05:50:58 AM »
Thanks for the feedback guys.

Quick Question, when you say create a grid, in what sense do you mean, ie how do you do that? Or are you talking about the layout of the labels that would form a grid?

And how did my score become last on the leader board Niki LOL


10
NGUI 3 Support / Leader Board Help.
« on: December 15, 2012, 06:11:31 AM »
Hey all;

I use UScript and I am trying to figure out the best approach to setting up my high score leader board. Right now I have a Input where the player enters their name along with a submit button. For the display portion of the leader board (where the name and score are shown) what do I use? UILable? and just set it to multiline? I only want the top 10 shown in this space so it would be a fixed size no need to be scrollable.

Basically the way I would set it up would be to pull the name from the name input and score when the submit button is clicked, then combine the two to be displayed in the leader board.

Any and all help is greatly appreciated. Thanks.

11
NGUI 3 Support / Re: Script conversion to use with NGUI.
« on: December 09, 2012, 08:32:02 AM »
Thanks for the reply.

In what context would I use that? How would that script look? These are written in JS.

I get an error: PlayerScore.js(7,1): BCE0005: Unknown identifier: 'ScorePoints'.

The script is attached here:

UIRoot (2D), Camera

The Widget is here:

UIRoot (2D), Camera, Anchor, Panel, ScorePoints or BallsRemain

Thanks again for the help.


12
NGUI 3 Support / Script conversion to use with NGUI.
« on: December 09, 2012, 07:13:35 AM »
Hey Guys;

I am not a coder by any means, as I use 3rd party visual scripting tools, so I am reaching out for help. Can someone please help me convert these two small scripts into two usable NGUI scripts?

The first one is for the players score display:

  1. //varible for points
  2. public var scorePoints :float = 0;
  3.  
  4. function OnGUI ()
  5. {      
  6.  
  7. // Score
  8.                 GUILayout.BeginArea(Rect(Screen.width  - 730 ,712,220,80));
  9.                 GUILayout.Label("" + scorePoints.ToString());
  10.         GUILayout.EndArea();
  11. }

The second one is for the Player lives display:

  1. //variable for lives
  2. public var lives :float = 3;
  3.  
  4. function OnGUI ()
  5. {      
  6. // Balls       
  7.         GUILayout.BeginArea(Rect(Screen.width  - 915 ,280,220,80));
  8.                 GUILayout.Label("" + lives.ToString());
  9.         GUILayout.EndArea();
  10. }
  11.  

I have 2 UIWidget's (UILabel) attached to the Camera in the 2D Root. The score one is called: ScorePoints The Lives one is called: BallsRemain which I would like to display the required information.

This is the last thing holding me up from releasing the game, so any and all help is greatly appreciated.

Thanks in advance.

Pages: [1]