logo Use CA10RAM to get 10%* Discount.
Order Nowlogo

Add randomly spawning objects to your game scene. These appear in fixed locations around the level.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Add randomly spawning objects to your game scene. These appear in fixed locations around the level. These appear at a semi random time interval (i.e. 5 to 10 seconds). There must be a fixed minimum number of items in the scene (at least 2, but you can set this higher). This means you will force a new spawn regardless of the timer if the number drops below this minimum.

There must be a fixed maximum number of items in the scene (at least 10). The objects will not spawn in a spot if the player is too close. These are destroyed when the player touches them. There are two types of objects and it is random which type spawns each time. These should be visually distinct and should be indicative of what they are. Hazard - Touching this harms the player. Health Pack - Touching this heals the player. Use a collider, set to trigger, to detect when the player is close Add a health system to the game.

The player will have some amount of health (at least two "hits" worth) It is up to you how to numerically define a "hit" (how much to lose when hit by an attack) The hazard from before should do 1 "hit" worth of damage The health pack from before should restore one "hit" worth of damage If the player runs out of health, the character controller should be disabled so that they can no longer be moved You should set some maximum health that the player cannot go over Add a HUD to the game You must display the player's health in some fashion at all times This should show the maximum that the player can have, as well as their current health This element of the HUD cannot be just a floating string of text. It can be text based, but must have some sort of background behind it. The player's X, Z location should be displayed at all times The player's Y rotation should be displayed at all times Display this as 0 to 360 degrees If the player "dies" some text should appear on screen to indicate this With this should be a button the player can click to restart the game Use SceneManager.LoadScene(SceneManager.GetActiveScene())

 

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Atharva PatilComputer science

506 Answers

Hire Me
expert
Chrisantus MakokhaComputer science

697 Answers

Hire Me
expert
AyooluwaEducation

640 Answers

Hire Me
expert
RIZWANAMathematics

554 Answers

Hire Me

Get Free Quote!

394 Experts Online