class: center, middle # Creación de Videojuegos ### Review --- # Previous exams * You can look at old exams in the [archive](/CI-2807/archive) * Let's work through them! * There is also a [summary](/CI-2807/assets/pdf/resumen.pdf) created last semester by Melissa Garro Morales --- class: center, middle # What are (video) games? --- # Question ## What two elements do most people agree on that a game has to have? ## Consider a crossword puzzle. Is a crossword puzzle a game? Why, or why not? --- # Question ## Name at least 3 game genres ## Why are game genres important? Choose one of the three genres you named and name a mechanic that is specific to that genre? --- # Question ## Name a popular game (if you can't think of one, pick Tetris), and name at least three of its rules and the main goal for the player --- class: center, middle # Game Design --- # Question ## What are the four main types of components of a game when we look at it as a system? ## Name at least one of each of these types of components for Super Mario --- # Question ## Describe at least two different types of goals we can provide a player with --- # Question ## What are achievements? ## What are "good" achievements? --- class: center, middle # Game Design Document --- # Question ## What is a Game Design Document? --- # Question ## Write a pitch for a game in which you play the villain of your favorite movie --- class: center, middle # Development Process --- # Question ## How did game publishing traditionally work? ## What are the options now? --- # Question ## Imagine your project turns out to be a really fun, polished game. How/where would you market it? --- # Question ## What is a technical artist? --- # Question ## Name at least two problems other than software bugs that can and should be found during game testing --- class: center, middle # Gameplay --- # Question ## What are the four player types as defined by Bartle? ## What does each of them want in a game? --- # Question ## How could a game like Super Mario be made more attractive to the Killer player type? --- # Question ## What is flow? ## Name at least two things that help keep people in the flow in games --- # Question Your level designer has created a mandatory tutorial level for your game. In it, the player is given a book by their mentor that contains written instructions for every magic spell in the game. In the tutorial, the player is transferred to a magic realm where they have to practice every spell in the book in the right order. If they fail, they are reset to the start of the tutorial. In the end, it is revealed that the mentor is actually the murderer of the player character's parents, after which the game starts. ## Name at least three problems with this tutorial design. --- # Question ## Why do routine actions like repairing equipment, travel, or trading cost gold in most MMOs? --- class: center, middle # Unity --- # Question ## What is a level in Unity called? ## What does a level consist of? --- # Question ## Assume you have a scene in Unity with 3 game objects: A cube, a sphere and the camera. How can you ensure the Camera always moves with the sphere? ## When the player presses "forward", you want the sphere to move towards the cube in a straight line (ignore rotation). How would you do that in Unity? --- # Question ## What is a prefab in Unity? --- # Question ## How would you shoot a bullet in Unity? (There are at least two possible answers) --- # Question ## What is a Coroutine? --- class: center, middle # Game Engines --- # Question ## What is a game engine? Explain the basic outline of how it works. --- # Question ## What is a scene graph? --- class: center, middle # Graphics --- # Question ## What are uv coordinates? --- # Question ## What is a z-Buffer, and how is it used? --- # Question ## How do you determine which side of a triangle to draw? --- class: center, middle # 2D Graphics --- # Question ## What is Bresenham's algorithm? --- # Question ## What is Anti-Aliasing? How does it work? --- # Question ## Name a way to get rounded shapes using lines. --- # Question ## Describe how sprites can be animated using sprite sheets. --- class: center, middle # Homogeneous Coordinates, Matrices, Quaternions --- # Question ## What are homogenous coordinates, and why are they useful? --- # Question A "shear" is an operation, where each vector's x coordinate is moved c*y units to the right. $$ \begin{pmatrix} x \\\\ y \end{pmatrix} \mapsto \begin{pmatrix} x + c \cdot y \\\\ y \end{pmatrix} $$ ## Define the matrix for a shear of 2D vectors in homogeneous coordinates. --- # Question ## What is Gimbal Lock, and how can it be avoided? --- # Question ## Which three matrices are responsible for mapping an object's vertices onto the screen? --- class: small # Matrix Problem Generator * On the right side you can type any combination of two movements or rotations and a vector, and the demo will calculate the matrices, the composed matrix, and how it transforms the given vector * On the bottom left, you can generate problems for you to solve as practice for the exam * The "Show Solution" button will automatically populate the fields on the right side and calculate the matrices * The box will show a visualization of the transformation, played out in steps * Access [here](/CI-2807/assets/unity/matrixcalculator/index.html) --- class: medium # Next Week * I'm at the conference on [AI in Intelligend Digital Entertainment (AIIDE)](http://aiide.org) next week * I have created some [additional problems](/CI-2807/assets/pdf/vectormath.pdf) for you to solve * Rubén will be available to answer questions and work through the problems with you during class