PDA

View Full Version : Inventory system - M&M style



st4lk3r87
July 21st, 2017, 00:35
Hello!

How much flexible is the extension system to create an inventory similar to this? I would like to start to work on it but i'm not entirely sure if it's possible.
The features should be:
Matrix based inventory
Draggable images ( each item is represented with an image which is filling one or more cell )
Retrocompatible ( the old inventory list must be there but if there's not enough space you can't add the item to your inventory )
Interactive items ( if i click on an item this should show the default window associated to that Item )

https://psychphan.files.wordpress.com/2014/10/inventory.jpg

Nickademus
July 21st, 2017, 01:58
I believe it would be possible, but it would be very, very hard.

st4lk3r87
July 21st, 2017, 16:05
Wouldn't it be a problem to manage draggable images? The only draggable image I've seen till now is the link ( little shield ), so I think that's quite possible. But will it be possible to use images from the MAP section instead of "precompiled" images?

Moon Wizard
July 21st, 2017, 20:40
It would be quite a bit of work. You would have to build an extension that provided the library of all possible item icons set up as icon assets, allow assignment of icons to each item, build an entire grid based layout system of your own, and then build a bunch of handlers to assign an allow the icons to be dragged to and within the grid. As Nickademus mentioned, it seems like it would be possible, but a "lot" of work for the relative gain in functionality.

JPG

st4lk3r87
July 22nd, 2017, 19:22
That's what i'm worried about. "It seems like it would be possible" doesn't look positive to me.