[UNITY3D game development 3] NGUI & amp; HUDText exercise source code and resources, unity3dngui

Source: Internet
Author: User

[UNITY3D game development 3] NGUI & HUDText exercise source code and resources, unity3dngui

This site's article is originally written by Li huaming Himi. The reposted article must be clearly stated: (Author: Sina Weibo: @ Li huaming Himi)
Reproduced from [Black Rice GameDev block] original link: http://www.himigame.com/unity3d-game/1584.html

☞Click to subscribe☜The latest developments in this blog! Notify you of the latest blog in time!


                 

I don't know how long it has taken to write a blog. I have a feeling of nostalgia =.

Starting from today, I will update some U3D tutorials one after another, mainly based on the remark communication mentality. The reasons are as follows:

1. I am also a newbie to u3d. I can only give my shoes a simple summary of some things. Or a remark for your own small article.

2. u3d learning materials are difficult to find on the Internet, so there is no need to repeat what you know.

3. As Himi is still in the learning stage, more time is spent on learning, and less time is spent on writing blogs.

Himi has been studying NGUI and HUDText for a few days. In general, it is relatively simple. After all, it is a plug-in for designing 2D UIS (now u3d also has a new version of UGUI ).

The specific NGUI is not explained here. Himi has sorted out common controls and provided them. You can download them and learn from them:

The organized controls are as follows:

 

Including commonly used text, drag, zoom, animation, special effects, progress bar, input box, CD effect implementation, selection box, multiple choice set, etc.

 

Here is a simple game character backpack function, which can drag and drop locations, randomly create an item, and overlay items.

Here is a chat-like box function, including the input box, scroll text, scroll bar ~

 

The last step is to display the blood volume of the characters and apply the result of blood transfusion to the main character ~

 

These are all in the same Scene, but they are only on different panels. Therefore, you need to check which of them can set Active display for different panels in u3d, and then run them to see the effect.

Resource download: http://vdisk.weibo.com/s/yZxRoLm4W0FRD

 

As Himi is also a beginner, there may be errors. I hope you can correct them ~ Ty

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.