How is the size of the items in the inventory determined and how do I change it? Specifically, the width of the items, the items are very spread out compared to the actual size of the graphics....
Sorry if I missed this somewhere, but I went through the manual, the beginner's thread, and did a search, so I hope I didn't miss it.
You can set the width and height of inventory items space in the inventory using:
SetInvDimensions (int width, int height)
eg.
SetInvDimensions(30,40);
just play around with the numbers to suit your needs.
and put it in the global script after this:
function game_start() {
// called when the game starts, before the first room is loaded
It can be found in 'Inventory functions' in the help file that comes with AGS
I think that's what your after, hope it helps,
~Tim
Oops...
Anyway, I have another question. Is there a way to change the color of the crosshairs drawn on an inventory cursur by script? I have my cursurs change color when over hotspots and I want to do the same thing with my inventory cursurs.
QuoteIs there a way to change the color of the crosshairs drawn on an inventory cursur by script?
AFAIK, there is no way currently :P