custom inventory hud (looked for this solution in the search, manual)

Started by Wayne Adams, Sun 22/02/2009 04:08:52

Previous topic - Next topic

Wayne Adams

So this is how the inventory looks:



So I wanna throw the inventory objects into the ring slots.. the HUD tools under the gui tab let you build your area where inventory items go.. but it seems to only work in a square grid format.. can this be altered?

Thanks.

Trent R

The normal inventory won't work for your interface. I'd suggest using an Inventory array, along with buttons. In their on_clicks, set the player.ActiveInventory

Oh, and to answer your question, no. It's in a grid (or line, depending on how you size the control and your items.)

~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Trent R

Don't know if you're seen my reply yet Wayne, but I'm currently working on some code that'll make this work. But I'm on my way out the door right now, so I'll post it when I get back.

Mostly I'm trying to figure out a a math function.... I was never good with trig and circles.

~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Wayne Adams

Hey Trent, thanks for the assist... ive been thinking of just placing buttons over the squares in the inventory screen and tryin to assign the items to those buttons.. but im not sure ags will interpret this as an inventory...

for now.. i have a temp inventory screen for testing the items..

SMF spam blocked by CleanTalk