This site article is Li Himi original, reproduced must be clearly noted: (The author Sina Weibo: @ li Himi)
Reprinted from "Black Rice gamedev Block" original link: http://www.himigame.com/unity3d-game/1584.html
Click here to subscribe to the latest blog! Notify you in time of the latest blog post!
Do not know how long has not written a blog, unexpectedly have a feeling of nostalgia =.
Starting today, I will continue to update some of U3d's small tutorials, mainly for the exchange of mind to write, for the following reasons:
1. I am also a novice u3d, can only give children's shoes briefly summed up some things. Or a note to your own small article it.
2. U3d learning materials now on the network too much to not want to find the degree of difficulty, so there is no need to repeat some of what you know.
3. Because Himi is also in the learning stage, more time or on the study, blogging time will be relatively less.
For Ngui and Hudtext study, Himi also learned a few days, overall, relatively simple, after all, is designed to design 2D UI plug-in (now U3D also has a new version of Ugui).
Specific Ngui here not to explain, Himi here to organize the common controls put out, the students need to download Exchange learning under:
The following controls are organized:
650) this.width=650; "class=" Alignnone size-medium wp-image-1588 "src=" http://www.himigame.com/wp-content/uploads/ 2015/04/qq20150413-1@2x-300x226.png "alt=" qq20150413-1@2x "width=" "height=" 226 "style=" border:1px solid RGB ( 153,153,153); margin:0px;padding:4px;height:auto; "/>
Includes commonly used text, drag, zoom, animation, effects, progress bar, input box, CD effect implementation, selection box, multi-select build, etc.
650) this.width=650; "class=" Alignnone size-medium wp-image-1586 "src=" http://www.himigame.com/wp-content/uploads/ 2015/04/qq20150413-2@2x-300x227.png "alt=" qq20150413-2@2x "width=" "height=" 227 "style=" border:1px solid RGB ( 153,153,153); margin:0px;padding:4px;height:auto; "/>
Here is a simple implementation of the game character backpack function, can drag swap position, randomly create an item, object overlay.
650) this.width=650; "class=" Alignnone size-medium wp-image-1587 "src=" http://www.himigame.com/wp-content/uploads/ 2015/04/qq20150413-3@2x-300x232.png "alt=" qq20150413-3@2x "width=" "height=" 232 "style=" border:1px solid RGB ( 153,153,153); margin:0px;padding:4px;height:auto; "/>
Here is the implementation of a chat-like chat box feature, including input box, scrolling text, scroll bar ~
650) this.width=650; "class=" Alignnone size-medium wp-image-1585 "src=" http://www.himigame.com/wp-content/uploads/ 2015/04/qq20150413-4@2x-300x230.png "alt=" qq20150413-4@2x "width=" "height=" "style=" border:1px solid RGB ( 153,153,153); margin:0px;padding:4px;height:auto; "/>
Finally this is the realization of the character blood volume display, Blood button blood to follow the role of the main function ~
These are all in a scene, just different panel, so you need to see which build can set the active display to different panel in U3d, and then run to see the effect.
Download resources: Http://vdisk.weibo.com/s/yZxRoLm4W0FRD
Because Himi also in the beginner, may have the wrong place, hoped that everybody comments ~ ty 650) this.width=650; "Src=" http://www.himigame.com/wp-content/plugins/ Smilies-themer/graemlins/shroom.gif "alt=": HMG: "class=" Wp-smiley "style=" BORDER:NONE;MARGIN:0PX;PADDING:4PX; Height:auto; "/>
This article is from the "Li Himi" blog, please be sure to keep this source http://xiaominghimi.blog.51cto.com/2614927/1631691
"Unity3d game development Three" NGUI && Hudtext Practice Source and resources