First Deck Flashcards

(7 cards)

1
Q

Vertical and Horizontal aspect ratio

A

Vertical is an object taller than its width, and horizontal is an object whose width is wider than its height

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

What’s the purpose of Time.deltaTime

A

To make the game for everyone the same so it doesn’t affect the gameplay for people with different fps. Does not change the frame rate.

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

Converting position of camera view to world space

A

The method ViewportToWorldPoint takes the coordinates from the camera’s view and converts them to world space coordinates, to determine the exact position in the game world.

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

Where do we map our buttons

A

Project settings, and in the left hand side, input manager and axis

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

Calling a Coroutine

A

StartCoroutine(PrintAndWait()

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

Creating a Coroutine

A

private IEnumerator PrintAndWait()

{ 

    yield return new WaitForSeconds(3); 

}

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

Troubleshoot laser shredder

A

Does it have the shredder script?

Does it have a 2D collider?

Is the Is Trigger on?

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