Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99
Home

[Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#14874) hex2t tileset for 2.0.99
From: "Daniel Markstedt" <himasaram@xxxxxxxx>
Date: Sat, 24 Dec 2005 04:02:24 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14874 >


On 2005-12-24, at 19.35, Daniel Markstedt wrote:

>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14874 >
>
>
> On 2005-12-24, at 12.30, Jason Short wrote:
>
>>
>> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14874 >
>>
>> Jason Short wrote:
>>
>>>> • Unit sprites have too much empty space which have ugly effects in
>>>> the
>>>> main screen's sidebar and many dialogs - see the screenshot. Tried 
>>>> to
>>>> use units from trident directly and adjust them with the unit_offset
>>>> variables. However, I couldn't get activity letters etc to align 
>>>> with
>>>> the units this way since they are for some reason not affected by 
>>>> the
>>>> unit_offset value. Bug perhaps?
>>>
>>> Yeah, I think so.  Fixing it will require fixing all of the existing
>>> tilesets however.
>>
>> No, we're both wrong.  The activity letters are, correctly, not
>> affected
>> by the offset.  You just have to align them by hand.  The problem is
>> the
>> "full" tile size is used for the panel, and in the case of the hex
>> tilesets this is very large.
>>
>> -jason
>>
>>
>
> Is it possible to let the _unit_ tile size decide the panel size: i.e.
> the largest common tile size of all "u.xxx" sprites? Then we could use
> the Trident unit spec directly and offset the unit sprites accordingly.
> I did this in the attached screen with the offset of x=1 y=59.
>
> -Daniel
>
> <offset_unit_sprite.png>

Fact is using Trident sprites promptly solved the city production list 
awkwardness. Now if all sprites that 'stick' to units could be made to 
obey unit offset, then we have us a solved problem (ignore the 
suggestion above)! As a bonus, we would be able to use the new unit 
selection graphics from Trident directly in both hex tilesets.

-Daniel





[Prev in Thread] Current Thread [Next in Thread]