top of page

Boss Monster Conversion

This is a group final project from Game Design I (Fall 2015). The project was to choose any tabletop game and recreate it in Unity. We decided to roll with Boss Monster because it was an interesting game and a nice challenge. I was the lead programmer, and I was responsible for calculating damage for both the player and the heroes, implementing deck functions (draw cards, play cards, send heroes to dungeon), and creating the turn-based environment.

​

At the time, this project was difficult, as very few of us had extensive knowledge of Unity C#. I looked up tutorials on YouTube in order to have a grasp on creating a "hand" of cards in the game. When a card is drawn from the deck (list of card objects), the card is created in the "hand" slot and removed from. The card object becomes a child of the hand. The other challenge was having the player drag a card object onto another slot. The script that handles dragging enables the player to pick up and drag anything that is considered an object that can be dragged. When the player clicks and holds on an object, the transform of that object becomes the transform of the player's mouse. The object will continue to follow the mouse until the player lets the mouse go. Once the player drops an object, the object checks to see if it can be placed in a slot. If it is above a suitable slot, the object appends to it, becoming a child of the slot. Otherwise, the card object returns to the original position it was picked up from.

​

Calculating the damage was the easiest task of this project. Each dungeon card had a 2D collider attached. When the heroes pass through the dungeon, the hero takes damage based on the damage value of the dungeon card. The dungeon card will only deal damage if it is in one of the dungeon slots next to the boss. The hero card travelling through the dungeon will be destroyed when its own health reaches 0 or below.

​

Code

Requires Unity Web Player to play
CONTACT

© 2016 by LORENCE VELASCO

Success! Message received.

bottom of page