GAME MIDTERM Flashcards

1
Q

What’s a Scene?

A
  • Scenes contain the environments and menus of your game.
  • A good rule of thumb is to have one scene for each “Section” of your game.
  • Main menu, Level 1, Level 2 etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What’s a game object?

A
  • Every object in your game is called a GameObject from character to the camera
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are components?

A
  • The functional pieces of every GameObject

- Ex: Scripts, AudioSource, Colider, RigidBody

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a transform?

A
  • Every GameObject is automatically created with a transform

- A transform stores info on position, rotation and scale of a game object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s a Collider?

A
  • Collider components define the shape of an object for the purpose of physical collisions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s a RigidBody?

A
  • A rigidBody will allow you to use Unity’s physics.

- By Default it will react to collisions and be pulled down by gravity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Delta Time?

A
  • The small time between frames. This matters to us because we need to achieve frame rate independance.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the types of Randomness?

A
  • Deterministic: We provide a starting seed to get the same random results
  • Non-Deterministic: Always random no seed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What two components does audio require

A
  • Audio Listener: Created with the camera object

- Audio Source: Can be created on any game object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Canvas?

A
  • The Canvas is the area that all UI elements should be inside
  • All UI elements must be children of a Canvas
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Screen Space Overlay?

A
  • Places UI elements rendered on top of the Scene
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Screen Space Camera?

A
  • Canvas is placed a given distance in from of a camera.

- This means the camera settings affect the appearance of the UI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is World Space?

A
  • The Canvas will behave as any other object in the scene.

- UI elements will render in front of or behind other objects in the scene based of 3D placement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

UI Canvas

A
  • Creating a UI object will automatically create a Canvas
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Euler Rotation?

A
  • Rotation around 3 axis
  • Has a major flaw known as Gimbal Lock
  • Occurs when 2 axis align therfore locking one axis out of rotation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a Quaternion?

A
  • Storing rotation info using 4 values. X,Y,Z,W
17
Q

What is a Prefab

A
  • A Prefab is a GameObject that is setup and then saved for later use