1 Game Control. 2 Camera Control Types Types First-personal view First-personal view Third-personal view but following the playable character Third-personal.

Slides:



Advertisements
Similar presentations
Motion in 2 Dimensions Projectile Motion
Advertisements

Instruction: Use mouses left button. Use mouses left button. If mouse buttons dont work, use arrow keys of keyboard for slide show. If mouse buttons dont.
Instruction: Use mouses left button. Use mouses left button. If mouse buttons dont work, use arrow keys of keyboard for slide show. If mouse buttons dont.
Alice Learning to program: Part 1 by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008.
Conics. Parabolas Definition - a parabola is the set of all points equal distance from a point (called the focus) and a line (called the directrix). Parabolas.
Skater World: Part One By Deborah Nelson Duke University Under the direction of Professor Susan Rodger May 29,
SETTING UP CAMERA VIEWS LESSON Setting camera views using objects, based on a lesson by Bella. Adventures in Alice Susan Rodger Duke University July 2013.
Get Going On ….. What is programming ? What programming software does the school have ? Load this PowerPoint.
Cinematography The manipulations of the film strip by the camera in the shooting phase and by the laboratory in the developing phase. –Photographic aspects.
CIRCLES Unit 3-2. Equations we’ll need: Distance formula Midpoint formula.
Alice: A Visual Introduction to Programming Chapter 1 Part 3.
Chapter 3 Fundamentals of the Shot
3D cameras in Photoshop. A Photoshop document with one 3D object Photoshop document with one layer, from which a 3D cone has been made.
Programming in Alice Chapter 2 Part 2. Events Editor Identifies what method is executed (run) when the “Play” button is hit 2.
Alice Learning to program: Part 1 Scene Setup and Starting Animation by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke.
Angle of Elevation & Angle of Depression
StarLogoTNG Treasure Hunt Game Unit Lesson 1: Basic Movement.
Standard Form for the Equation of the Circle
Conics.
Game Time Chapter 4. Change viewpoint Not Camera but character’s viewpoint Example: amusement park.
Shot Composition and Standard Shots. Types of Shots Described by Size.
TERMS FOR VISUAL MEDIA Camera Moves. Persistence of Vision the brain retains images cast on the retina for 1/20th to 1/5th of a second, allowing the images.
Locating Points on a Circle Sine Cosine Tangent. Coordinates Systems Review There are 3 types of coordinate systems which we will use: Absolute Incremental.
Don Slater Wanda Dann Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.
Technique Analysis & Fault Correction GLIDE SHOT PUT
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
Chapter Calling the Shots. Objective Given: textbook What: Group activity on subject distance in preparation for scavenger hunt How Well: with 100% accuracy.
Motion and Rotation. 3 Dimensional Space  An Alice object o Is located in a 3D world, positioned at (x, y, z) o has 3 dimensions o height, width, depth.
Events Chapter 7 Part 2. While a Key is Pressed Event Specialized event An event occurs when you press a key and continues until you take your finger.
Events (2) (Alice In Action, Ch 6) Slides Credit: Joel Adams, Alice in Action CS 120 Lecture September 2012.
(Interactive) Cinematography Ref: Chap. 16 (Core Techniques and Algorithms in Game Programming)
The Coordinate Plane The coordinate plane is formed when two number lines (called axis) intersect at right angles. The horizontal axis is called the x-axis.
College Algebra 1.9 Circles. Objectives Write the standard form of the equation of a circle. Graph a circle by hand and by using the calculator. Work.
Graphing Sinusoidal Functions Y=cos x. y = cos x Recall from the unit circle that: – Using the special triangles and quadrantal angles, we can complete.
PAN This is a horizontal camera movement in which the camera moves left and right about a central axis. It is usually used to gather more into a scene.
BIMM Filming 101 The Basics of Camera Shots & Rules to Follow When Filming Jan. 25 th /Jan. 28 th The Basics of Camera Shots & Rules to Follow When Filming.
Know What to Record Shooting Awesome Video Know What to Record.
Design Studies 20 ‘Show Off’ Project How to make a computer monitor In Google Sketchup By: Liam Jack.
Games. Types of games  RPG  FPS  PLATFORMER  SIDESCROLLER  POINT AND CLICK.
1 Game System. 2 Control system Control system User input User input Mouse or keyboard Mouse or keyboard Keyboard layout Keyboard layout Camera control.
Storyboards. What is a storyboard?  A sequence of drawings, typically with some directions and dialogue, representing the shot planned for a movie or.
Fundamentals of the Shot. What is a Scene? A combination of shots that shows the action that takes place in one location or setting.
Camera Work. Basic Framing a shot taken from a close distance in which the subject is magnified to appear relatively large and fill the entire frame.
Getting the Best Footage. There is a great deal of work needed to get the right shot.
Camera Movement The way the camera physically moves through the space of the film.
Media Production One Close-Up Extreme Close-Up Medium Shot Wide Shot Extreme Wide Shot High Angle Low Angle Over-the-Shoulder POV Pan Tilt.
Instruction Booklet.  Use the arrow keys to move your plane.  Don’t get hit by the rockets or you will die.  The level will last for 45 seconds.
Physics Lab Agenda – Thursday 12/16/04 – Pick-up materials on front desks – Intro to Horizontal Motion Lab – Bring physics HW to do in class.
Learning to Program: Part 1 Scene Setup and Starting Animation by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University,
AD 305 Electronic Visualization I : School of Art and Design : University of Illinois at Chicago : Spring 2007 Action Script 12 "The games of a people.
Equations of Circles. Vocab Review: Circle The set of all points a fixed distance r from a point (h, k), where r is the radius of the circle and the point.
Glossary of Camera Shots. A. Types of Shots B. Camera Angles C. Camera Movement D. Duration of Shots.
Projectile Motion 10/16/12 Yes, There are Notes… After Bellwork.
Projectile Motion 10/16/12 Yes, There are Notes… After Bellwork.
Camera and Action!!!! Guilford County Sci. Vis. V part 3.
Fundamentals of the Shot. What Is a Scene? A combination of shots that shows the action that takes place in one location or setting.
FILM PRODUCTION ELEMENTS How to study a film. PRODUCTION ELEMENTS Production elements are all the different things that go into making a film come to.
Game Programming Step-03 How to control the keyboard in Game.
GAME:IT Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a simple.
90 Vertical Horizontal Oblique line a b Angles a + b = 180 o Angles at a Point b = 115 o Angle a = 180 – 115 = 65 o.
 (x-h) 2 = 4p(y-k)  (y-k) 2 = 4p(x-h) If the x value is greater than 1 the parabola will open up. If the x value is less than 1 the parabola will open.
CS0007: Introductory Programming Rotational Motion.
Film Analysis Knowledge Base.
3.5 Graphs in Three Dimensions
GETTING THE PERFECT SHOT!
Operating the Camera.
Download : to follow along.
Rotations on the Coordinate Plane
Which way does the robot have to turn to get to the charger?
Transparency & magic pixel
Presentation transcript:

1 Game Control

2 Camera Control Types Types First-personal view First-personal view Third-personal view but following the playable character Third-personal view but following the playable character God view God view Fixed camera Fixed camera Following the playable character Following the playable character Fixed view Fixed view Pre-rendered background Pre-rendered background Pre-set view Pre-set view … Very sensitive to game play design & game control Very sensitive to game play design & game control Camera control is not an independent system Camera control is not an independent system

3 Case Study I – Simplified Third-personal View (1/6) Use arrow keys (or W-A-S-D keys) on keyboard or gamepad Use arrow keys (or W-A-S-D keys) on keyboard or gamepad Basic key assignments : Basic key assignments : Up key to move the playable character forward Up key to move the playable character forward Down key to turn character facing to the camera and move forward Down key to turn character facing to the camera and move forward Left & right keys to turn the character to left or right Left & right keys to turn the character to left or right

4 Case Study I – Simplified Third-personal View (2/6) The camera following the character to move The camera following the character to move And keeping a range of distance, a reasonable height and look-down angle with the character. And keeping a range of distance, a reasonable height and look-down angle with the character. q Distance PC Camera Height

5 Case Study I – Simplified Third-personal View (3/6) Detailed key assignments : Detailed key assignments : Up key Up key Turn the character facing back to the camera Turn the character facing back to the camera Move the character forward Move the character forward If the distance between the character and the camera is larger a pre- set range, move the camera forward to keep the distance. If the distance between the character and the camera is larger a pre- set range, move the camera forward to keep the distance. At the same time, the height to the ground will be changed to synchronize with the character. At the same time, the height to the ground will be changed to synchronize with the character. Down key Down key Turn the character facing to the camera Turn the character facing to the camera Move the character forward Move the character forward The camera will move backward to keep a distance with the character. The camera will move backward to keep a distance with the character. The height to the ground will be changed to synchronize with the character. The height to the ground will be changed to synchronize with the character.

6 Case Study I – Simplified Third-personal View (4/6) If the camera is blocked by obstacle to move backward, raise the height of the camera but keep the eyes on the character. If the camera is blocked by obstacle to move backward, raise the height of the camera but keep the eyes on the character. PC Camera

7 Case Study I – Simplified Third-personal View (5/6) Right key Right key Turn the character facing to the right of the camera. Turn the character facing to the right of the camera. Take the camera’s position as a circle center and the distance between the camera and the character as the radius. Take the camera’s position as a circle center and the distance between the camera and the character as the radius. Set the circle as the movement orbit. Set the circle as the movement orbit. Let the character move on the orbit. Let the character move on the orbit. When the character moving, turn the camera to right to keep eyes on the character. When the character moving, turn the camera to right to keep eyes on the character.

8 Case Study I – Simplified Third-personal View (6/6) When the character hitting the obstacle, let the character keep on turning and moving, use the same approach in “Down key” step to raise the camera. When the character hitting the obstacle, let the character keep on turning and moving, use the same approach in “Down key” step to raise the camera. Left key Left key As same as “Right key” step except the left direction. As same as “Right key” step except the left direction. Reference game examples: Reference game examples: Sprinter cell 3 Sprinter cell 3 PSO PSO Prince of Persia( 波斯王子 ) Prince of Persia( 波斯王子 ) The Legend of Zelda ( 薩爾達傳說 ) The Legend of Zelda ( 薩爾達傳說 ) … Demo Demo

9 Case Study II – First Personal Shooting (1/2) Use arrow keys (or WASD keys) on keyboard or gamepad for camera moving Use arrow keys (or WASD keys) on keyboard or gamepad for camera moving Basic key assignments : Basic key assignments : Up key to move the playable character forward Up key to move the playable character forward Down key to move the character backward Down key to move the character backward Left & right keys to move the character in left or right direction Left & right keys to move the character in left or right direction W AD S

10 Case Study II – First Personal Shooting (2/2) Use mouse moving to control the camera’s orientation Use mouse moving to control the camera’s orientation Horizontal moving turns the camera to right or left Horizontal moving turns the camera to right or left Vertical moving makes the camera to tilt Vertical moving makes the camera to tilt A hierarchical structure for the FPS camera A hierarchical structure for the FPS camera Camera Camera Only performing the camera tilt Only performing the camera tilt Camera stand Camera stand The parent of the camera The parent of the camera Performing the camera’s movements and turning in horizontal Performing the camera’s movements and turning in horizontal