GUI, Inventory & Menu: Difference between revisions

Jump to navigation Jump to search
Added section about inv items not showing
mNo edit summary
(Added section about inv items not showing)
Line 81: Line 81:


==Creating your own custom inventory==
==Creating your own custom inventory==
''How would I go about creating my own custom inventory GUI? I don't much like the default AGS one. OR, I have a problem creating my own inventory GUI. HELP!''
''How would I go about creating my own custom inventory GUI? I don't much like the default AGS one. OR, I have a problem creating my own inventory GUI. HELP!''


Everything you need to know about custom inventory GUIs can be found in [http://www.bigbluecup.com/yabb/index.php?topic=10946.0 this thread].
Everything you need to know about custom inventory GUIs can be found in [http://www.bigbluecup.com/yabb/index.php?topic=10946.0 this thread].
==Inventory items don't show up==
The inventory items won't display if the InvWindow GUI control is smaller than an inventory item slot (40x22 pixels by default).
Set YourInvWindowName.ItemWidth and -.ItemHeight in the game_start function to change the inventory item slot size or enlarge your InvWindow control.


==Getting that classical Sierra look for GUIs==
==Getting that classical Sierra look for GUIs==
Line 152: Line 158:
To set the text colour in the window, simply set the '''Foreground Colour''' of the GUI and that will be used to print the message text in.
To set the text colour in the window, simply set the '''Foreground Colour''' of the GUI and that will be used to print the message text in.
</blockquote>
</blockquote>
[[Category:AGS Beginners' FAQ]]
[[Category:AGS Beginners' FAQ]]
0

edits

Navigation menu