Coder Social home page Coder Social logo

listinv's Introduction

๐Ÿ‘พ ListInv 1.0 - Alpha ๐Ÿ‘พ

image A demo project of my simple list inventory system that i made for my own project.

Plans on the project ๐Ÿ“‹

Before i decided to create this inventory system, i was looking for some similar solutions on the internet, and sadly didn't find literally anything for Godot 4. So i decided to make my own solution. I wanted to make something similar to undertale inventory system, because its something minimalistic and simple, the way i needed it to be.

By the way if you're interested in the project you are always welcome to contribute to the repo! ๐Ÿ™

Quick Tutorial ๐Ÿ“

  • The items are stored as resources! P.S: item_resource
  • Inventory node should be on the scene where the player is;
  • To add an item you call inventory.add_item("Loaded resource");
  • To remove an item you call inventory.remove_item("Loaded resource");
  • By default inventory opens on "E", the selection of item/option is setted to ui_left/ui_right/ui_down/ui_up, accept/cancel to ui_accept/ui_cancel; P.S: You can change it in inventory_ui.gd & item_menu.gd
  • SoundPlayer and MusicPlayer are the AudioStreamPlayer2D scripts to play the needed audio in one line;

(I added a line of code that adds 2 test items to your inventory when you press A, so you can use it to test the system)

listinv's People

Contributors

gatix1 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.