Introduction / The Unity3D Concept
Subtitles of the Movie
Let's continue on and look at the main concept behind Unity3D. Unity can be quite confusing if you don't understand the main concepts. However, once I've explained these, you'll think that it's absolutely brilliant and you'll love this game engine as much as I do. Now, I've already said that everything in the hierarchy pane is all the Game Objects that are in the current scene and Game Objects is basically where Unity starts. Once we start and open up a new clean empty project, we'll start by adding Game Objects from the Game Object menu. Now, you can create an empty Game Object basically that is a. in 3D space that we can use to spark things from or for example put in front of a barrel of a gun and make it shoot from there. But also, there's other Game Objects and let's go through these real quickly. A Particle System is basically a Particle's engine in the game. So for example, Particles can make fire or warp effects or you can cast spells. Those are all created using Particles in 3D space. The Next, we have the Cameras and Cameras are extremely powerful in Unity. You can set one Camera to render one thing and then another Camera to render another and you can make as many Cameras in your game as you like. There's no limit to the amount of Cameras you can use in Unity. Then we have GUI Text and these are actually graphical user interface text, for example, to make a main menu or to make a slider or to read text on the screen. And a GUI Texture is the same thing but then it holds an image, for example, your health or your lives. 3D Text is the same as basically GUI Text but it floats around in 3D so you can make your main menu in 3D space, also an extremely powerful feature. Then we have three types of lights: Point Lights, Spotlights and Directional Lights. Directional lights are much like the sun, they just keep going and going and you can only change its direction and color, but it will not quiet down after a while. Spotlights are one spot and Point Lights are points in 3D space and they will lit that certain point in the game, but of course, after the radius is set off, then it will quiet down after that which is quite the opposite of the Directional Light. Of course, we can make some 3D objects as well like cubes, spheres, capsules, cylinders and a plane. And then last but not the least, we have a Ragdoll and a Ragdoll is what happens when you shoot a character and he dies and his body turns into what is only controlled by physics. So, for example, if you would pull his hand, the whole body would move as you pull him. That would be a Ragdoll. So, that is already a couple of Game Objects that you can use in Unity 3D and all these are extremely powerful and flexible. Now, as soon as you've made a Game Object in Unity 3D, you can attach Components to them. Now, for example, these bunkers that we were looking at are imported 3D model into Unity 3D and this is also a Game Object. So that is an other way to include Game Objects into your current level. Components are attached to Game Objects and Components are outlined here in the Inspector view underneath the Transform. Every Game Object has a Transform and then all the other things that are beneath it are Components. So as you can see right here, there is a Script attached to this Game Object and a Script is also a Component. Let's take a look at the other Components that we can attach to Game Objects. There's Meshes that we can use and there's Particles that we can use, more about this later. There's Physics that we can put on, for example, a box to make it fall like a crate. There's Audio that we can attach to game objects, for example, to make a gunshot sound. We have Rendering Components. We have Miscellaneous Components like an Animation. We have Scripts that we can attach and of course we can make our own Scripts but Unity comes with a whole bunch of Scripts that are already done for us to get us up and running very quickly and these are extremely short and very powerful scripts. Then, there's Image Effects that we can also use and then Camera-Control Components that we can attach and these are also Scripts that can be attached to a camera. So those are Game Objects and Components. Now, of course, I've already mentioned that you can import your own Assets and Assets are basically also Game Objects, but Unity makes a difference between certain Assets in the game. For example, a Script is an Asset that function as a Component on a Game Object. And there's a couple other Assets that you can see here: Materials, Cubemaps, Lens Flares, Fonts, your own fonts, Physic Materials and GUI Skins. Now, more about this we'll learn over time as we start making our own first version shooter throughout the series. So, let's hurry up and go to the next section and start creating our first version shooter and within a couple of minutes, you will notice that we are already walking around, something that takes a very long time in any other engine. So, let's move on.
Tutorial Information
| Course: | Introduction to Game Development Using Unity 3D |
| Author: | Efraim Meulenberg |
| SKU: | 34092 |
| ISBN: | 1-936334-03-8 |
| Release Date: | 2010-02-23 |
| Duration: | 5.5 hrs / 75 lessons |
| Work Files: |
Yes |
| Captions: | Available on CD and Online University |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 