subject

What kinds of variables are accessible from outside of the class?

general

specific

public

private
2. What system of victory relies on big victories which can only be achieved when a number of other, smaller victories have been achieved first?
nested
tiered
hierarchical
pyramidal
3.What is a law in the game code which prevents a certain action or dictates a consequence or result of an event?
mechanic
contract
rule
game state
4.What is odd about the following lines of code?

if (collision. collider. gameObject. tag == "EnemyHead")

{

if (transform. position. y >= collision. collider. transform. position. y + 0.9f)

{

Destroy(collision. collider. transform. parent. gameObject);

Destroy(collision. collider. gameObject);

GameManager. score += 100;

}

else if (collision. collider. gameObject. tag == "EnemyBody")

{

GameManager. lives += 1;}

jumping on an enemy’s head doesn’t do anything
the player is penalized for jumping on an enemy’s head
simply walking into an enemy will destroy the enemy
walking into an enemy will reward the player
5.Before using a variable for something, you need to declare and initialize the variable by including lines of code in a set of curly brackets {}.
True
False
6.What is the best description of a system where enemies become alert and then pursue and attack the player when a player avatar approaches them?
It’s a game mechanic.
It’s a game rule.
It’s neither a mechanic nor a rule.
It’s both a mechanic and a rule.
7.What kind of class would make the most sense to use for tracking a player’s points or score in a game?
dynamic
static
emergent
immersive
8.In a game with no lives, the following code would reward a player for avoiding enemies completely instead of destroying them.

if (collision. collider. gameObject. tag == "EnemyHead")

{

if (transform. position. y >= collision. collider. transform. position. y + 0.9f)

{

Destroy(collision. collider. transform. parent. gameObject);

Destroy(collision. collider. gameObject);

GameManager. score -= 100;

}

True
False
9.By default, what scenarios does the OnCollisionEnter method cover?
collisions with enemies
collision with the environment
collisions with specified “collide” classes
any collision the player avatar enters into
10.What is a common reward to encourage players when they make a “correct” action in a game?
adding points to a score
losing a life
restarting a level
adding more enemies

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:31
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 23.06.2019 18:50
Ais a picture icon that is a direct link to a file or folder
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
You know the right answer?
What kinds of variables are accessible from outside of the class?

general

spec...
Questions
question
Mathematics, 26.09.2019 02:10
Questions on the website: 13722363