Author Topic: Graphical suggestion  (Read 4019 times)

0 Members and 1 Guest are viewing this topic.

Offline RZ

  • Newbie
  • *
  • Posts: 7
Graphical suggestion
« on: May 10, 2010, 07:12:01 PM »
I've got some ideas to enhance graphics for WM.. instead of using only text and percentage to display stats i think it will be nice if we have a bar such as the common rectangle health bar seen in many games. And i think it will also be nice to see an icon/sprite beside an item text because the inventory panel looks so bland with just text.

So, what do you think guys?

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: Graphical suggestion
« Reply #1 on: May 11, 2010, 04:19:46 AM »
Bars for displaying health/tiredness/happiness/whatever are certainly possible. Yeah, I like the idea. At some point (after a lot more bugfixing) I'll probably make a new control,  PercentageBar. It will be fully graphical, settable to percentage 0-100, with two background colors (gray/black and dark red) and a few bar colors (black, green, blue, yellow, orange, red, off the top of my head). That way the bar color can be chosen based on what range the value is in, so for instance as a value dropped you could see the color go green->blue->yellow->orange->red.

What about the inventory panel (Item Management screen?) would you spruce up?

Offline RZ

  • Newbie
  • *
  • Posts: 7
Re: Graphical suggestion
« Reply #2 on: May 11, 2010, 04:57:23 AM »
Can't wait for it to be implemented..  :D

For the inventory panel, i think it is fine as it is now but maybe a little graphic addition like this (shop'd it since i'm not a coder) will make it better

http://img208.imageshack.us/img208/1189/templatecm.jpg


Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: Graphical suggestion
« Reply #3 on: May 11, 2010, 05:23:52 AM »
We should be getting support for images in listboxes eventually from Necno, so that should be possible then. Of course, we'd then need a bunch of little images like that to use, preferably free/open-source ones.

Offline Mehzerz

  • Hero Member
  • *****
  • Posts: 564
  • Rockin' the after life after party
Re: Graphical suggestion
« Reply #4 on: May 11, 2010, 12:26:42 PM »
Right... finding the little images would be the problem. I suppose the easiest way to do it would be to restict the images by "type" of item. So all healing items share the same icon, dresses, shoes, weapons, ect. each type having it's icon.


That way we're not stuck with items without icons. Soooo with the existing item categories... it looks like we'll need 9 different icons.
Starter girls image additions progress:
26 girls, 18 to go

exodia91

  • Guest
Re: Graphical suggestion
« Reply #5 on: May 11, 2010, 02:03:05 PM »
I do a little bit of spritework from time to time, I'd be happy to make some icons for you if you ever need them. Just send me the dimensions and what you want.

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: Graphical suggestion
« Reply #6 on: May 11, 2010, 04:09:45 PM »
The default list-item height is 20px, -2px for the beveled border, -2px for slight padding... so, 16x16 would probably do the trick. It'll probably be quite a while before we would need them, though.

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: Graphical suggestion
« Reply #7 on: May 12, 2010, 04:42:14 AM »
In regards to the percentage bar control, I felt like mucking about in Photoshop a bit and came up with this mockup:


Note that there's no working code, this was just put together in Photoshop to test out sizes and so forth. I do have some workable images for it now, though, so when the time comes that'll be one less thing that needs to be worked on.
It will of course be able to smoothly scale out horizontally to whatever length is desired, once I actually code it in.

Offline necno

  • Core Developer
  • ******
  • Posts: 385
Re: Graphical suggestion
« Reply #8 on: May 12, 2010, 10:12:43 PM »
Yes, icons in the listboxes is going to be my task for next week... well implementing support for them anyway. ;D
Click here to donate
After you do so please pm me the email address you used so I can add you to the donation forum.

Working on:
Whoremaster II (Official)
Birthright (Now a commercial rougelike)

Offline Midnight_Amratha

  • Full Member
  • ***
  • Posts: 124
Re: Graphical suggestion
« Reply #9 on: May 16, 2010, 09:13:12 AM »
wow, that looks to become a neato feature, meesa liiike!
will you make the "show specific item picture" available in case people find a picture they want to add to their new *pressies* for their girls? but with the generic/parent picture from the group to show up by default in case there is no picture provided?
the "big" picture could be placed on top of the description or at the bottom, oh and could we please have a scrolling window for the description of items, sometimes the description are "swallowed" by way of being too long :)
 
i guess that means another revamp of the item generator as well, but not something that is pressing, merely one of those tweaking issues that can be left for later.
The line between lunacy and genious is very thin.
So far i haven't been able to find it.