don-tnowe / godot-wyvernbox-inventory

Action RPG-focused inventory system for Godot 3 and 4
MIT License
97 stars 4 forks source link

Is it possible to use it with a container? #33

Closed Abab-bk closed 6 months ago

Abab-bk commented 6 months ago

Using it with a container now causes dislocations. I wonder if it's possible to use it with a container.🙂

don-tnowe commented 6 months ago

Yes - should support containers or even rotation/scale. If it's breaking, I'd like a Minimal Reproduction Project so I can find the issue!

don-tnowe commented 6 months ago

Actually, I remember a specific arrangement of nodes make items move independent of background and scale, but I'd still like an MRP to see the specific arrangement to code a guard case against.

Abab-bk commented 6 months ago

TestProject.zip Here. plz check control.tscn and control_2.tscn.

don-tnowe commented 6 months ago

Should now be fixed. Thanks!

Also, inventories only need one Grabber+Tooltip in the entire game scene, not per inventory! I will also try to make the warning not show up when one is present, I'm assuming it just kept nagging you in every scene so I'll try prevent misunderstandings. I'm also open to discussion on the best way to do it.