Git Product home page Git Product logo

inventorysystem's Introduction

InventorySystem

inventory system with c++ on 4.27.2 An inventory system is a vital component in game projects, allowing players to manage the items they collect. I developed this system using C++ in Unreal Engine and added a few features:

Food items: If a food item already exists in the inventory and the player tries to pick it up again, the system increases its quantity and keeps it in stock. Consuming the food item removes it from the inventory, and when the stock count reaches zero, it disappears completely. Additionally, consuming a food item restores +HP to the player's health.

Vest and helmet: If a vest or helmet is already in the inventory and the player attempts to pick it up again, it replenishes their health to 100. Moreover, when the player's health reaches zero, the vest or helmet breaks, adding a layer of realism and challenge. Also, if the player no longer possesses a vest or helmet, it will be removed from the inventory.

This inventory system allows players to manage their collected items, restore health with food items, and experience the consequences of wearing vests and helmets. It adds depth and immersion to the gameplay, making inventory management a strategic element for survival.

If you're interested in game development or inventory systems, feel free to visit my profile for more information and a detailed look at this project. You can also explore other Unreal Engine projects and my game development endeavors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.