School Project
2022
Role: Programmer
Description
Robbin Hoodlum
"The player collects quests to help the town people by stealing items. In the house the player can collect treasure and must avoid being arrested by the guards patrolling around. The player can avoid the guards by sneaking or throw objects to distract or hinder the guards. The final quest challenges the player to steal all treasure from the house in one go"
The sections below describes some highlighted features developed by me.
The hard part was creating the Aim trajectory for the player, followed by the travel path of the thrown object.
When the player holds the fire button, the arc is calculated by a math equation, then given to a LineRenderer to display the blue line. Once the player releases the fire button the item is thrown.
I made this system for the team to easily handle and replace audio clips during production.
The system allows specific audio clips to be played or a random one from the list for variation in audio.
Using a simple interface on MonoBehaviour scripts for interaction with two methods such as GetDisplayText and Interact. This allows the player to interact with different GameObjects such as:
Doors
Pick up Items ("Grenades", treasure, quest)
Quest givers
etc
It was a bit tricky to get the AI to work well and still be difficult for the player. It took some tweaking before the movement and attacks were good enough.
The AI can chase, investigate, make sounds, and patrol along a path that was given to them.
Additional Features
Characters (Player, NPC)
Game Phase (Game over, load game, change scene)
Inventory
Menus (Main, pause)
Save system (Borrowed and edited)
Quest system