FreeOrion

Forums for the FreeOrion project
It is currently Sun May 26, 2013 12:29 am

All times are UTC




Post new topic Reply to topic  [ 113 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Sat Feb 21, 2009 10:38 pm 
Online
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
eleazar wrote:
Geoff the Medio wrote:
What should be used for the head of the icon? Does a single ship of battle / colony / scout classification make the multi-fleet icon look like the ship's icon style?

The multi-fleet icon is only for the lowest zooms where there are extreme space constraints and so the tiny icons are used which don't differentiate between ship type and number.

By "multi-fleet icon", I meant any icon that is representing multiple fleets.

(So calling the tiny one tiny-fleet-multi is a bit misleading, although does distinguish it from the tiny-fleet single ship icon)


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Sat Feb 21, 2009 10:42 pm 
Online
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
eleazar wrote:
Geoff the Medio wrote:
Edit: The current small and medium icons' size indicator file names are numbered differently (they start with one tick for size one, whereas big starts with no ticks). (The small ones are also being placed oddly, but I don't think that's a file issue...)
Oops, i'll fix that.

You missed something I re-edited into that post. The new version:
Geoff the Medio wrote:
Edit: The current small and medium icons' size indicator file names are numbered differently (small start with one tick for size one, whereas big starts with no ticks) and look different for larger numbers (more ticks while maintaining the old ticks for big, a second row of ticks without the original ticks for small).


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Sat Feb 21, 2009 10:49 pm 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
Geoff the Medio wrote:
You missed something...

Got that too now.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Sat Feb 21, 2009 10:54 pm 
Online
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
eleazar wrote:
Geoff the Medio wrote:
Edit: The current small and medium icons' size indicator file names are numbered differently (they start with one tick for size one, whereas big starts with no ticks).
Oops, i'll fix that.

Could you put back some appropriately-sized blank textures for zero ships size indicators? Without them, the number in the postfix (eg. -2) doesn't match the number I ask for, since it stores the textures in the order it finds them, starting with index 0, not the index you label it with.

Also, what is the mapping from (number ships) to (size indicator number) ? eg. does a fleet with five ships get indicator-5 or something else?


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Sat Feb 21, 2009 11:07 pm 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
Geoff the Medio wrote:
Could you put back some appropriately-sized blank textures for zero ships size indicators? Without them, the number in the postfix (eg. -2) doesn't match the number I ask for, since it stores the textures in the order it finds them, starting with index 0, not the index you label it with.

Does adding a blank file "big-tail-0.png", along with the 2 other sizes work?

Geoff the Medio wrote:
Also, what is the mapping from (number ships) to (size indicator number) ? eg. does a fleet with five ships get indicator-5 or something else?

We discussed that in some other thread. More complicated ideas were tossed around, but IIRC we determined to start out with each marking indicating twice as many ships as the one before. Thus:

1 = up to 2 ships
2 = up to 4 ships
3 = up to 8 ships
4 = up to 16 ships
5 = up to 32 ships
6 = up to 64 ships
7 = 65 or more

We will probably want to rework the scale when we have a better feel for how many ships are normally flying about. More tail icons could be devised if necessary as well.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Sat Feb 21, 2009 11:29 pm 
Online
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
eleazar wrote:
Does adding a blank file "big-tail-0.png", along with the 2 other sizes work?

Yes. Might as well make them the right size, in case we find a need for them.

Quote:
1 = up to 2 ships
2 = up to 4 ships
3 = up to 8 ships
...

Is there an implied 0 = up to 1 ship in that? Presumably distinguishing between 1 and 2 ships would be useful.


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Sat Feb 21, 2009 11:43 pm 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
Geoff the Medio wrote:
eleazar wrote:
1 = up to 2 ships
2 = up to 4 ships
3 = up to 8 ships
...

Is there an implied 0 = up to 1 ship in that? Presumably distinguishing between 1 and 2 ships would be useful.

At one point i was just going to use the heads without the tails for 1-ship fleets. Then i waffled on the idea a couple times.

The distinction between 1 and 2 ships does probably deserve to be displayed. I suppose i can just rename/redo the tail icons if i want a solo ship to have some sort of tail.

*-tail-0.png files committed.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Sun Feb 22, 2009 4:22 am 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
Image
Also:

* the system ring should use the same color as the plain starlanes. I think you have that adjustable in an option... both should be the same.

* on the right your using the big size of fleet icon which i expect is too big for the galaxy map, but works in the fleet window

* flipped the tiny fleet icons so they point up like all the others.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Mon Feb 23, 2009 12:10 am 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
Geoff the Medio wrote:
eleazar wrote:
Also i can assume that the stars in this example come about as close as they ever will, right?

I think this is a typical galaxy. There are various star placement algorithms, and we might have more in future, but working with that assumption based on this set of images is probably fine.

Drat. That assumption matched my casual observation until now, but apparently stars can be nearly touching at max zoom.
Attachment:
Picture 7.png
Picture 7.png [ 135.64 KiB | Viewed 492 times ]
(max zoom)

You get this with a 12 star, irregular galaxy.

With stars this close sometimes the fleet display setup previously discussed (or practically any setup) will fail horribly.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Mon Feb 23, 2009 1:16 am 
Online
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7899
Location: Vancouver, BC
eleazar wrote:
...apparently stars can be nearly touching at max zoom [...] with a[n] irregular galaxy.

The solution might be to remove irregular galaxies, or change how they're generated, if the issue doesn't happen with any other "shapes".


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Mon Feb 23, 2009 2:20 am 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
Geoff the Medio wrote:
eleazar wrote:
...apparently stars can be nearly touching at max zoom [...] with a[n] irregular galaxy.

The solution might be to remove irregular galaxies, or change how they're generated, if the issue doesn't happen with any other "shapes".

Skimming through about a dozen large, random galaxies i couldn't find another example of stars so close. Hopefully it's really rare, but we'll have to deal with it eventually.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Mon Feb 23, 2009 6:02 pm 
Offline
Programming Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 1:33 pm
Posts: 1092
Line 1487 of Universe.cpp:
Code:
const double        MIN_SYSTEM_SEPARATION       = 30.0;

We can probably just increase that some.


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Mon Feb 23, 2009 9:09 pm 
Offline
Design & Graphics Lead
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3693
Location: USA — midwest
tzlaine wrote:
Line 1487 of Universe.cpp:
Code:
const double        MIN_SYSTEM_SEPARATION       = 30.0;

We can probably just increase that some.

I've been working with the assumption that the min separation translated to about 300 px (from star center to star center) at max zoom.

However we would benefit from raising the minimum a bit: ~350 px at max zoom-- whatever that translates to.

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Mon Feb 23, 2009 10:09 pm 
Offline
Graphics Lead Emeritus
User avatar

Joined: Mon Mar 08, 2004 6:17 pm
Posts: 1933
Location: 52°16'N 10°31'E
Won't this effect galaxy size in general and therefore render all current assumptions for what to use on what zoom level obsolete?


Top
 Profile  
 
 Post subject: Re: Fleet Display on the galaxy map
PostPosted: Mon Feb 23, 2009 10:49 pm 
Offline
Programming Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 1:33 pm
Posts: 1092
No, that 30.0 value is in universe units, not pixels. IIRC, when we generate a position for a star, and it's within 30.0 units of some star we already placed, we generate a new position. The only effect increasing this value will have is that we may end up placing fewer stars, since we only re-try the placement a fixed number of times before giving up.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 113 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group