Controls

  • Move: [W] [A] [S] [D]
  • Jump: [Spacebar]
  • Interact/Pickup: [E]
  • Use Item: [Left Mouse Button]
  • Use Secondary/Reload: [Right Mouse Button] or [R]
  • Switch Shooting Mode: [Z]
  • Drop Equipped Item: [Q]
  • Unequip Hat Item: [C]
  • Equipment System - A Unity C# Challenge by Knuckle Head Studios

    Overview

    This repository contains a Unity-based equipment system developed using C# for Knuckle Head Studios. The system allows players to equip and interact with various items, including weapons, static objects, and wearable items. The system demonstrates how items can be handled, equipped, and used within a player's hands and head.

    Features

    • Gun: Equip and fire a gun in both single and full automatic modes. The gun can hold an ammo-clip containing bullets that can be shot when used.
    • Ammo-clip: The ammo-clip contains bullets and can be equipped in one hand to reload the gun in the other hand, consuming bullets from the clip.
    • Flashlight: Equip the flashlight and toggle it on or off.
    • Rock: Equip and throw the rock, which is unequipped once used.
    • Hat: Equip the hat to the player's head. The hat is purely cosmetic and cannot be used interactively.
    • Bonus Task: Implemented a system for interacting with objects that cannot be equipped, such as opening doors, pressing buttons, turning keys, and switching levers.

    Usage

    • Equipping Items: Items can be equipped in the player's hands or head using the in-game inventory system.
    • Gun: Equip the gun in one hand and the ammo-clip in the other to reload. Press the button to fire in single or full automatic mode.
    • Ammo-clip: Equip the ammo-clip to reload the gun. The bullets in the clip are consumed during reloading.
    • Flashlight: Equip the flashlight to toggle it on or off.
    • Rock: Equip and press the interaction button to throw the rock, which will be unequipped once thrown.
    • Hat: Equip the hat to wear it on the head. This item cannot be interacted with.

    Other Features

    • Object Interaction: Interact with objects that can't be equipped:
      • Doors: Open or close doors.
      • Levers: Switch levers on or off.
      • Keys: Turn keys in locks.
      • Buttons: Press buttons to trigger actions.
    Published 17 days ago
    StatusPrototype
    PlatformsHTML5
    AuthorKosmo
    Made withUnity