1 / 33

Review of Game 1 and Team Play: Section A and Section B

This review discusses the questions and challenges faced by Section A and Section B teams during the game. It also includes code smells and refactoring suggestions. Additionally, it provides insights into creating a Galaga game and performing matrix math operations.

lindajjones
Download Presentation

Review of Game 1 and Team Play: Section A and Section B

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Review Game 1

  2. Teams: Section A • Z, Zach G, Mitch, John, Keith • Catharine, Peter W, Stephanie, Alex Z, Patrick D • Nathan Y, Colin, Jen, Nathan P, Ben F • Zane, Ben H, Rohan, Alex M, Zack L • Elena S, Mark, Marshall, Patrick L, Tanner

  3. Teams: Section B • Charlie, Michael, Will • Betsey, Christy, Chris • Alex, Peter, Aneesha • Evan, Brendan, Haris

  4. Round 1: Individual

  5. 1. • What is the difference between a left and right handed system?

  6. 2. • What is the difference between object space and world space?

  7. 3. • What is the definition of an affine transform?

  8. 4. • Give an example of a space transformation in the display pipeline that is NOT affine.

  9. 5. • What is the difference between camera, image, and screen spaces?

  10. 6. • In a 2D Unity game, what mode is the camera usually in?

  11. 7. • I want to use a background image in a 2D game that is 1000 x 1000 pixels, and I want pixel-perfect rendering. • The editor is set with a pixel-to-grid ratio of 100:1, which is standard. • What should I set the camera size to?

  12. 8. • What is the difference between a field that is public and a field that is serialized and private?

  13. 9. • If Matrix A is cxd and Matrix B is exf, what must be true to be able to multiply A and B?

  14. 10. • If Matrix A is cxd and Matrix B is dxf, what are the dimensions of AxB?

  15. 11. • Multiply the following matrices: [3 2 1] x 1 2 0

  16. 12. • What is the relationship between scaling and reflecting?

  17. 13. • What is a property in C#?

  18. 14. • What is emergence?

  19. 15. • Give 2 examples of player expectation

  20. 16. • What is the difference between an anticipatory and complex system?

  21. 17. • Give one pro and one con of realism in a game world.

  22. 18. • Give two examples of types of goals or challenges in a game

  23. 19. • What is positive and negative feedback in a game?

  24. 20. • Give an example of non-linearity in a game.

  25. 21. • What is a rigidbody component?

  26. 22. • What is a Canvas?

  27. 23. • What is the open/closed principle?

  28. 24. • Why is duplicated code a bad idea?

  29. 25. • What is tight coupling?

  30. Round 2: Team Play

  31. Tell what the code smell is, why it is undesirable, and how to refactor: Agent[] agents = getAgents(); foreach(Agent s in agents){ if (s.isPlayer()){ PlayerMove(); } if (s.isEnemy()){ EnemyMove(); } etc…

  32. I want to make a game of Galaga, (space ship shooting aliens that fall from above). What game objects will be needed? What should be a prefab?

  33. Write the matrix math that would take a rectangle whose coordinates are (0,0), (0,5), (2,0), (2,5) and rotate it 90 degrees about its center.

More Related