don-tnowe / godot-wyvernbox-inventory

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

Implement arbitrarily-shaped items #35

Open MimiVRC opened 4 months ago

MimiVRC commented 4 months ago

Is it planned at all to add the ability to define the shape of something in any shape? the use case is pretty much tetris-shaped items, but if the ability is added to make tetris shaped, might as well make the ability to make it any shape, just in case someday someone wants a weird 8x8 square where it only takes up inventory slots in the 4 corners

don-tnowe commented 4 months ago

Probably, yeah. I'm seeing it as a 1D array of booleans inside an ItemType that stores whether each cell is taken up by it.

don-tnowe commented 4 months ago

I am unfortunately unable to work on addons in the meantime. However, this is a signal that someone does need this feature, and I will add it to the list to implement.