620 likes | 833 Views
4. Perspective, Scene Design, and Basic Animation. Explain game perspectives Describe the elements of a scene. Identify elements used to convey mood and theme. Explain issues of clarity for scaled computer-generated images. Describe how to construct 3D models.
E N D
4 Perspective, Scene Design, and Basic Animation
Explain game perspectives • Describe the elements of a scene. • Identify elements used to convey mood and theme. • Explain issues of clarity for scaled computer-generated images. • Describe how to construct 3D models. • Contrast static and active animation.
Define terminology used in artistic creations and computer-generated images. • Create artistic assets for a video game. • Summarize how pixel and vertex shading are used to create the illusion of depth.
Perspective • How gameplay is displayed • Position of player on screen • First person • Second person • Third person
First-Person Perspective • First-person perspective is seen through the eyes of the character • Like a head-mounted camera (www.freeonlinegames.com)
Second-Person Perspective • Second-person perspective is seen through the eyes of the opponent • Very rarely used (www.kongregate.com)
Second-Person Perspective • In this game, the player is the batter and the computer is the pitcher
Third-Person Perspective • Third-person perspective is seen through the eyes of a spectator • Overhead • Behind • Profile or platform view • Many other viewing angles
Third-Person Perspective • These games have a classic platform view (www.kewlbox.com; www.freeonlinegames.com)
Third-Person Perspective • This game has an overhead view (www.freeonlinegames.com)
Changeable Perspective • “Switch view” button (player selects) • Switch view due to game action (game determines); for example: • Third person while running • First person while in targeting mode
Changeable Perspective • This game features a “switch view” button
Scenes • Placement of game objects • Attractive layout • Obstacles • Objectives • Conveys story • Conveys mood
Object Placement • Foreground • Background • Active objects • Background objects • Backdrop objects • Text objects or buttons
Scene Feature • Examine the objects in this scene. • Identify and discuss the scene elements that do not match. • Why do these elements not match?
Design Objects • Active objects • Interactive • Can move • Background objects • Not interactive, like the sky • Backdrop objects • Scene elements, like platforms and walls • Player avatar • The character
Design Objects • Note the various types of objects in a game
Mood • Through color palette • Red = passion • Yellow = cheerful • Blue = peaceful • Gray = gloomy • Through object shape • Sharp edges = scary • Soft edges = calming
Theme • Through traditional or historic objects • Cultural themes • Historic periods • Mythology • Religion • Holidays
Mood and Theme Feature • Examine both scenes • Similar objects appear in both • How does color palette set the mood in each? • How is theme established by use of traditional objects in each?
Scene Design Feature • Consider the scene on the next slide: • List five background objects • List one foreground object • List the active objects in the scene • What is the mood of the scene? • How does color palette help set that mood?
Storyboards • A plan to tell the game story • Sketch important frames • Describe important action
Image Properties • Digital images • Measured in pixels • Clarity • Resolution
Clarity • Pixel density • Dots per inch (dpi) • High resolution vs. low resolution
Resizing and Resolution • Enlarging low-resolution images • Pixilation • Blurry • Interpolation • Color blending • Native poles • Dithering
Resizing and Resolution • The computer may blend colors when interpolating pixels
Game Map • Game map often is larger than screen size • Map must scroll into the visible screen • Images can blur if movement is too fast • Game can lag if image resolution is too high
Digital Color Model • RGB • Red, green, and blue • Colors blended to create all other colors
Digital Color Model • Creating an RGB color in Microsoft Office
Digital Color Model • HSL • Hue, saturation, and luminescence • The values for these properties create all colors
Digital Color Model • Creating an HSL color in Microsoft Office
Two-Dimensional Games • Length and width only; no depth • Game frame • Includes all items needed to complete a level • May not be all visible to player at once
Two-Dimensional Games • Visible play area • Part of the game frame seen by the player • Scrolling if needed • 2D assets are called sprites • Sprite character set (sprite sheet) • Movement direction animations • Stopped animation images
Two-Dimensional Games • A sprite character set from RPG Maker XP
Two-Dimensional Games • Game frame coordinates • Cartesian coordinate system has +Y up • The Games Factory 2 has +Y down
Two and One-Half–Dimensional Games • Hybrid • 2D game map with 3D objects • 3D game map with 2D objects • Isometric board games
Three-Dimensional Games • Length, width, and depth • Coordinates in X, Y, and Z directions • 3D assets are called models
Three-Dimensional Games • Perspective • Visual perspective • Vanishing point
Displaying 3D Objects • Pixel shading • Light from light source • Results in light and dark areas on the model • Vertex • Point on a 3D object • Faces are between vertices • Wireframe view shows hidden edges and vertices
Displaying 3D Objects • Models are composed of vertices, edges, and faces
Scaling 3D Objects • Rendering • Resizing • Proportional (A) • Nonproportional (B)
Moving a 3D Object • Resizes in line with visual perspective • Distance between vertices is scaled • Reading edge programming • Bounding box programming
Round Objects • UV sphere • U = X • V = Y
Round Objects • Geodesic sphere • Faces may be any regular polygon • Icosphere most common type
What Is a Mesh? • Mesh is polygonal shapes (polys) “glued” together • Provides the shape for the object • Texture • External color or image on the object • Tessellates over the mesh • Stretched on the surface of each poly
What Is a Mesh? • Texture is an image stretched over a mesh (Model courtesy of Autodesk)
What Is a Mesh? • Poly count • Increased poly count = smoother • Increased poly count = longer render time