Clickable inventory GUI and things behind it

Started by Refloni, Wed 11/12/2013 20:35:58

Previous topic - Next topic

Refloni

Hi, I'm making my first game. I want the player's inventory to be completely invisible (except inventory items) GUI in the normal game screen. The problem is that if the inventory is clickable I can't touch objects and hotspots behind it, and if it's not clickable it's useless. Is there any way to make the GUI unclickable but its buttons and inventory items clickable?

Thanks for your advice!

Khris

You have to decide on dimensions, then make both the GUI and the inv window that big, with the inv window positioned at GUI coordinates 0,0 (i.e. Top: 0, Left: 0), so that there's no GUI outside the inv window.

FanOfHumor

#2
I have the same question except I have to have my gui be the entire screen size. Is this possible in any way to keep it full sized but have the background and the gui clickable.

Scratch that. I figured it out.

SMF spam blocked by CleanTalk