Game Development Unity3D
Game Engine What is Game Engine??
Components of Game Engine Main game program The actual game logic. Rendering engine Generates 3D animated graphics. Audio engine Consists of algorithms related to sound. Physics engine Emulating the laws of physics realistically within the application. Artificial intelligence
Unity Engine
Introduction
Game View
Hierarchy View
Scene View
Inspector
Project Panel
Console
Elements of a game in Unity
The Main Camera Clear Flags Clear Flags is used to set the background.
The Main Camera Culling Mask Culling Mask designates which layers from your scene will be rendered by the camera.
The Main Camera Projection The camera will render everything inside a special shape called a frustum.
Light 1. Directional light: Acts like sunlight to illuminate every game object in the scene, though it does not come from a single point source. 2. Spot light: Cone-shaped area of light from a single point that acts like a spotlight or flashlight. 3. Point light: Acts like a light bulb, shining in all directions from a central point. 4. Area light: Used for baking into light maps.
Common Light Properties Color selecting light of any color Intensity the brightness of the light
Common Light Properties Cookie A cookie acts like a mask or screen in front of the light, giving it a shadowed pattern.
Common Light Properties Culling Mask Identify which layers you want affected by the light. Lightmapping Realtime Only means the light is used for dynamically lighting the scene at runtime.
The Cube Transform Contains Position, Rotation, and Scale properties
The Cube Mesh Filter All 3D game object shapes are fundamentally made up of interconnected triangles called polygons.
Box Collider
Prefabs
MonoDevelop
Variables and Functions
Boolean Logic and Conditionals
Loops The for Loop
Loops The while Loop
Loops The do-while Loop
Coordinate Geometry and Vectors Value: (int, float, boolean, and string). Struct: is a variable containing an aggregate of values. Vector2
Coordinate Geometry and Vectors