glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] graphic standardization: buildings discussion


From: Stéphane Magnenat
Subject: Re: [glob2-devel] graphic standardization: buildings discussion
Date: Mon, 12 Oct 2009 00:26:45 +0200
User-agent: KMail/1.9.10

On Monday 12 October 2009 00:16:04 address@hidden wrote:
> >> the damaged graphic must be present in each building with just 1 set
> >> (now some don't have, some have 2, some others have 1)
> >
> > The reason is that some buildings have more frames to show progress on
> > damages. This is a nice feature, do not remove it.
>
> i think it should be 1 for every, or at least the game should
> automatically check for the presence of more.

I do not understand. Are you against having more damage frame on some 
buildings, or do you mean that every building must at least have one?

> >> a dynamically configuration file should be added for the stats of the
> >> buildings.
> >
> > There is already, see data/buildings.txt
>
> i have tried to use it but if i change something the game crashes.
> i just changed the string of the "tower construction" and as soon as i
> tried to build a tower the game crashed

Which string?

> > While I agree for the terrain, I'm not sure the change is worth the work
> > for
> > the buildings.
>
> it is, cause if you multiply it for all the buildings you got a lot of
> less files.
>
> it is also necessary for the units, having almost the same amount of
> frames as the tiles of the terrain

This I agree as well.

The problem is that currently glob2 supports more-or-less (never really 
tested) varying number of frames for terrain and units. But we could image 
that terrains and units have images of 256 x HEIGHT, where HEIGHT = 
FRAMES_COUNT / (256 / 32).

Have a nice day,

Steph

-- 
http://stephane.magnenat.net




reply via email to

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