During week 42 we finished the 3rd assignment: a small VR waitering game! The goal is to accumulate as many points by serving people the food of their choice.
As I mentioned, the game is simple and doesn't make use of complex game mechanics. The primary functionality of the player is to go into the kitchen to take randomly spawned food and deliver it to the client. If this task is completed, a number of points will be added to the total which can be seen on the wall next to the kitchen. At some point, we wanted to implement an end-game screen if all the places are occupied by customers, but unfortunately, we ran out of time.
Regarding VR concepts, this little game makes use of locomotion and object interaction to create gameplay. The locomotion is done by the use of the analog sticks on the VR controllers: the left stick for movement and the right stick for rotating the "body" of the character. This is possible by adding a locomotion system to the XR Origin and selecting which "hand" is for turning and which one is for moving, as you can see in the pictures below.
- using colliders and triggers in order to prompt certain events
- the customer disappears when it is given the correct order
- the score is increased every time the previous point happens
- spawners for different objects of the game: customers and foods
- the game has predefined positions for customers to spawn in. The moment they spawn, a TextMesh also spawns above them facing the player containing the name of a food item. If the player tries to deliver the wrong food, nothing will happen.
- a new random food item will spawn when the previous food leaves the predefined area. This creates an interesting aspect of the game, as the player is not able to choose what food he will receive, and at the same time, the player can only hold one food at a time
- added some jazz music to improve the atmosphere (a few hours long)
Github repository: https://github.com/Cata011/ThirdAssignment
Author: Catalin Alexandru
Comments
Post a Comment