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

Pages: [1]
1
NGUI 3 Support / How to use NGUI to implement a crosshair
« on: April 15, 2014, 05:53:53 PM »
Would I just create a new Sprite widget? Currently I'm using Unity's OnGUI and I have this:

//if not paused
      if(Time.timeScale != 0)
      {
         if(crosshairTexture != null)
            GUI.DrawTexture(new Rect((Screen.width - crosshairTexture.width) / 2f,
                                     (Screen.height - crosshairTexture.height) /2f, crosshairTexture.width*crosshairScale, crosshairTexture.height*crosshairScale),crosshairTexture);

but I want to use NGUI. Thanks in advance.

2
NGUI 3 Support / Free for commercial use?
« on: March 28, 2014, 02:30:12 PM »
I was wondering if the templates provided in the free version of NGUI are free to use for commercial use? By templates I mean the atlases, fonts, etc. that came packaged with the download.  Thanks for the info in advance, I don't want to steal or damage Tasharen in any way by selling a game with those components in use.

3
Misc Archive / Re: On Sale?
« on: February 27, 2014, 11:56:26 PM »
thanks yeah i noticed Tnet was recently on sale, thanks for the info!

4
NGUI 3 Support / Re: Pause/Resume Game
« on: February 27, 2014, 11:54:19 PM »
Thanks for the answers guys I got it with tweens.

5
Misc Archive / On Sale?
« on: February 21, 2014, 04:04:01 PM »
I know it's a shot in the dark but I see that Tnet is on sale on the asset store I was wondering if NGUI would be too because it would be EXTREMELY useful for my student game project but it does not fit in our team budget   :(.

6
NGUI 3 Support / Pause/Resume Game
« on: February 20, 2014, 04:17:49 PM »
Okay so I made an NGUI pause menu.  I made it it's own scene separate from the game and main menu scene.  When in game scene, if the player presses "P" I set Time.timeScale to 0 and I use Application.LoadLevel ("PauseMenu") to go to my pause menu.  I feel like that is wrong since now I can't figure out how to resume my game from where I paused since I exited the scene and would have to re-enter my game scene.  So would I have to remake the Pause Menu in the game scene and somehow hide it until I press "P"? I'm not really sure how to go about doing it (I'm fairly new to Unity and NGUI).  Also, I'm not sure if this makes a difference but I am using the free version for now (will definitely buy this awesome tool when I have funds). Oh, and thank you very much in advance to whoever can help or tries to help, it is very much appreciated.

Pages: [1]