Game Development Reference
In-Depth Information
Chapter 2. Create a Menu for an RPG -
Add Powerups, Weapons, and Armors
Here, we are in the second project. When we talk about traditional role-playing games, we
will probably be thinking about the development of the character, such as the attributes,
skills, powers, levels, or experiences. When we are playing an RPG, we typically have to
open the menu or UI to adjust and manage our main character, such as increase the charac-
ter attribute, change the weapon, or choose skills. The menu is very important in an RPG.
So, in this project, we will create the menu window for a simple RPG-like game using a
GUI class in Unity.
Note
From Unity 4.6, there will be the new GUI system for a Unity user, which is faster in per-
formance, easier to use, and has many more features such as 3D canvas, dynamic GUI, and
event system. This project won't go over the new GUI system because the topic is based on
Unity 4.3. However, the project will show you how to use the old GUI system or the Im-
mediate Mode GUI ( IMGUI ) system. The good thing to know is that the custom editor in
Unity is based on the IMGUI system, which will help you to get the basic understanding to
create the custom editor. More details on the new GUI system (uGUI) can be found at the
following links:
http://blogs.unity3d.com/2014/05/28/overview-of-the-new-ui-system/
https://www.youtube.com/watch?feature=player_embedded&v=EOX6itCuKOc
Search WWH ::




Custom Search