expressobits / inventory-system

Modular inventory system for godot 4 with nodes, compatible with multiplayer, separate logic from the UI, Using items as separate resources.
MIT License
501 stars 32 forks source link

Core files missing in main #119

Closed lmorao closed 4 months ago

lmorao commented 4 months ago

I tried installing this repo from the asset lib and manually. The main branch has no core folder, so all the basic class_names are missing. There's no such thing as hotbar.gd or others needed and this doesn't work at all for me.

Maybe I'm doing something dumb, but I have tried browsing and searching on github and there's none of the required class_name

image image image
scriptsengineer commented 4 months ago

After version 1.0 I transformed every core to a C++ module (on bin folder), they are included in the addon as a gdxtension library. Test if you can use Inventory references (For example) in your code?

iMaCHVFX commented 4 months ago

I dont know that the C++ module is functioning as intended as I am unable to access classes such as InventoryItem when following the tutorial on wiki

DataOod commented 3 months ago

So... dose porblem sovled? I been stack in here.

DataOod commented 3 months ago

1.0 dose need use gdextension?

DataOod commented 3 months ago

If need use core in Gdextension can i get a doc how to use it? thanks 5 6

DataOod commented 3 months ago

I installed Gdextension then it fixed.

scriptsengineer commented 3 months ago

I dont know that the C++ module is functioning as intended as I am unable to access classes such as InventoryItem when following the tutorial on wiki

The InventoryItem name is now Item only

DataOod commented 3 months ago

1 So How to linked Ui to InventorySystem in new 1.0+

DataOod commented 3 months ago

Should how to change that code make it work?

scriptsengineer commented 3 months ago

1 So How to linked Ui to InventorySystem in new 1.0+

I modified the code to avoid large architecture dependencies like this, today you basically need to link the characterInventorySystem to your UI.

In the fps_demo example there is this new code.

DataOod commented 3 months ago

If have a doc to tech how to link it would be woudeful.