Author Topic: Inventory Display Text: Can it be turned off?  (Read 5456 times)

lockepicke

  • Visitor
  • *
  • Posts: 5
    • View Profile
Inventory Display Text: Can it be turned off?
« 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.

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: Inventory Display Text: Can it be turned off?
« Reply #1 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?

lockepicke

  • Visitor
  • *
  • Posts: 5
    • View Profile
Re: Inventory Display Text: Can it be turned off?
« Reply #2 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?

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: Inventory Display Text: Can it be turned off?
« Reply #3 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.)

lockepicke

  • Visitor
  • *
  • Posts: 5
    • View Profile
Re: Inventory Display Text: Can it be turned off?
« Reply #4 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.