Scrolling Game Development Kit Forum

SGDK Version 1 => Help/FAQ => Topic started by: lockepicke on 2006-09-03, 05:26:09 PM

Title: Inventory Display Text: Can it be turned off?
Post by: lockepicke on 2006-09-03, 05:26:09 PM
I'm trying to make use of SGDK's Inventory Display so I can avoid using sprites.  Right now I'm using the Quantity Display option "Horizontal Bar Below" but I'd rather not have the text/ Item name displayed at all (I just want the display bar itself). is there anyway to remove that text or adjust it's location so I can use it the way I want to? thanks.
Title: Re: Inventory Display Text: Can it be turned off?
Post by: bluemonkmn on 2006-09-05, 08:08:07 PM
Does it work to just leave the item name blank and then there will be no text to draw?
Title: Re: Inventory Display Text: Can it be turned off?
Post by: lockepicke on 2006-09-05, 09:38:32 PM
*smacks forehead*

 surprisingly yes; is there any other way to do basically the same thing without removing the name itself (so I don't have this seemingly empty inventory item lying around) or is it possible to put a descriptor in there somewhere so other people can tell what it is?
Title: Re: Inventory Display Text: Can it be turned off?
Post by: bluemonkmn on 2006-09-06, 08:44:19 AM
You could put the name in there and then assign a really small tile to it instead of allowing it to show the name.  (I was going to say a transparent tile, but I don't think inventory items do transparency, so you either have to try to make it match the background color and/or make it really small... 2x2.)
Title: Re: Inventory Display Text: Can it be turned off?
Post by: lockepicke on 2006-09-06, 10:32:10 PM
I have something similar to that in there right now actually, I have the default font size of the display text set to 1 (you can still see it, but its realllllly tiny and just looks like a small imperfection in my HUD), but that should work a bit better (and should allow me to actually see my fps counter in the process).  Thanks for the help.