
Slappy Knut
Project Type: Forsbergs skola / group project
Software Used: Unity
Languages Used: C#
Primary Role(s): A.I, Level designer & Programmer
Team Size: 6
Project Time: 6 weeks
About Slappy Knut
Slappy Knut an ARPG game created by six game programming students. It follows the story of an angry goblin named Knut, who collects weapons and items by slapping people. As you progress, you can level up, face bosses and avoid dying from rage by continuously slapping.
I was in charge of creating both of the boss fights, making the boss scenes, finding assets for them, sound, animation, functionality and its attacking behavior. Also was responsible for the weapon script and pet script, that derived from iitem, made the glove and hand weapon scripts, prefabs, equip and unequip that shows current equipped weapon in inventory. Helped with the move attack logic and made the pet lootable, equipable and usable after winning the boss fight.
Here is the trailer that was made after completing the 6 weeks we had to finish the game.

Boss name is Combrat and his PetRock.
The combrat throws rocks at player location to defend his favorite PetRock.
If Player hits the PetRock a sandwave spawns and pushes the player back to startPos and loads up the next challange. Hit the PetRock 5times to kill him.
I Used an Array to hold the 5 stages, while being pushed back I lowered the current level down, spawned and raised the next level so it would be all the way up by the time player reaches startPos.

Combrat Bossfight
After beating the boss you can collect his pet, which is a weapon(rock) and gain ranged throwing attack.
Added the Rock child of Weapon into the inventory to be equipped.

Combrat checks distance between player and himself and if player is in 15f radius of him he will do a RNG for which state change he will do.
70% chance to Cry, 5s timer starts counting down with visuals, the player can run past him and hit the rock.
If the timer runs out he screams and spawns a sandwave which pushes player back to the startPos.
30% chance to scream, instantly spawning the sandwave and player has to redo the currLevel.

Bosse Bossfight
Boss name is Bosse and his PetChicken.
Bosse is petrified of people so he leaves his PetChicken to defend him at all costs.
In the first phase the PetChicken defends his master by running at playerPos and knocks him back to anger him (increases ragemeter).

Second phase starts when Bosse is half health, the PetChicken rages, gets bigger and changes his attack pattern to bullcharge.
State changes to bullcharge which gets playerpos, shows the line hes running towards using linerenderer, 2sec counts down then runs in that line until he collides with the fence perimeter. Which knocks PetChicken back and gets the playerPos again.

After beating the boss you can collect his pet, you can then equip or unequip it and it follows your player around.
You can only have 1 pet equipped and 1 weapon at each time represented by different colors in the inventory.