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

Pages: [1]
1
NGUI 3 Support / Re: UITable/UIScrollView Adjust position
« on: November 26, 2013, 11:53:43 PM »
Table.Reposition();
Reposition all the items in the UITable.

If you call Table.Reposition() at the Start, all the items starts somewhere near the centre, then it means your UITable placed at that position and everything will be placed there. Please make sure the UITable is placed at the Top Left at first.

If that doesn't work, you can call the UIDraggablePanel.repositionClipping to reClipping the clipping range.
or

call the scrollbar, to set the value to 0.

plus Destroy doesn't work right the way, please try DestroyImmediate. If you do a count at your script, you may get more items in the Table than it looks.

2
NGUI 3 Support / Re: Png to Font
« on: November 07, 2013, 10:23:14 AM »
You can use BMFont to generate it, however, you need to have the font.

Here is the link for more details:
http://www.tasharen.com/?page_id=133

3
NGUI 3 Support / Re: Bitmap font inside Atlas.
« on: November 07, 2013, 10:12:15 AM »
Have you tried to create the font in a new Atlas?
Some times NGUI tries to place the font inside other existing Atlas which occurs issues.

4
NGUI 3 Support / Re: Limit how often a button is clicked...
« on: October 19, 2013, 03:15:46 PM »
You can use a timer, please take a look at an example here:
http://answers.unity3d.com/questions/225213/c-countdown-timer.html

Or you can use StartCoroutine by turn a boolean to true or false
http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.StartCoroutine.html

6
NGUI 3 Support / Re: UIButton.isEnabled strage behaviour
« on: October 15, 2013, 06:44:14 PM »
Try:

UIButton button = nextButton.GetComponent<UIButton>();
button.isEnabled = false;
button.UpdateColor(false, true);

7
NGUI 3 Support / Re: Set panel size
« on: October 15, 2013, 06:26:09 PM »
UIAnchor makes elements align to different sides of the screen.
You can try to add this to your elements to make it move to the right.

There are examples in the downloaded packages.

8
NGUI 3 Support / 3D Endless Runner Game Kit Integrated with NGUI!!
« on: June 18, 2013, 11:57:16 PM »


Hi,
I just finished a Unity Asset Store kit, it is called 3D Runner.

3D Runner is a 3D Platformer Endless Runner Completed Mobile Game Kit written in C#. This project integrated with swipe, accelerometer and NGUI. 60fps on most mobile devices.

Controls:
  • Tilt phone to move player left and right
  • Swipe left and right to turn
  • Swipe forward to jump
  • Swipe backward to attack


Features:
  • Randomly generated levels, game items and enemies
  • Basic enemy movement
  • NGUI game menus
  • Scores
  • Audio: Game, menu music, jumping, attack and coins


You can get it at Unity Asset Store, https://www.assetstore.unity3d.com/#/content/9449.

For more information, please checkout our site, http://miaomiaogames.com/3d-runner-completed-3d-platformer-endless-runner-game/.

Pages: [1]