adonthell-devel
[Top][All Lists]
Advanced

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

Re: [Adonthell-devel] Mapedit plans


From: James Nash
Subject: Re: [Adonthell-devel] Mapedit plans
Date: Wed, 1 Jun 2011 21:57:41 +0100

Hi,

Apologies for the slow replies. Here goes...

On 25 May 2011, at 20:07, Kai Sterker wrote:

> On Tue, May 24, 2011 at 9:54 AM, Kai Sterker <address@hidden> wrote:
> 
>> For the model it shouldn't make much difference. Still one shape per
>> step, but also one sprite. In the long run, it even gives you more
>> flexibility, as you could use the same sprites to make half-height
>> stairs or such without the need to have an extra set of graphics.
> 
> Maybe I have been a bit misleading. You don't really need a
> _different_ sprite for each individual step. Instead you can add the
> same image/sprite multiple times to a model. Internally, the image
> data is stored only once, so referencing it multiple times actually
> saves memory (and loading time).
> 
> So instead of 12 images, you should be able to build your stairs with
> 3. One for top and bottom steps, and one for all the steps in between.

No no, that's been quite clear :-)
In this case I'll leave it as 12 sprites since I already had the gfx and it 
makes it look less repetitive.

Next time, I'll be a bit smarter when producing the gfx and re-use more stuff.

        - James


reply via email to

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