pingus-devel
[Top][All Lists]
Advanced

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

Re: WorldObj vs. Groundpieces


From: Ingo Ruhnke
Subject: Re: WorldObj vs. Groundpieces
Date: 17 Sep 2002 02:50:17 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Ingo Ruhnke <address@hidden> writes:

> BTW. Groundpieces can now be WorldObjs in CVS, but most of the old
> code is still in place, will do the later.

BTW2. This Groundpieces -> WorldObj change as some pretty nice
benefits, it will actually make the level loading time a bit faster
and will allow pretty huge levels (10000x10000 pixels works without
any problems here). The reason for that is that the current map
loading code does quite some unnecessary callculations, like
generating the whole map into a bitmap and then breaking it down into
tiles (so everything is blitted twice), while it could directry draw
into the tiles, which saves the blitting and, even more important,
doesn't create the empty areas in memory (less than 50% of a level is
actually non-empty).

BTW3. All this new groundpieces code is not working 100%, it will
currently lose the groundtype on level loading and default to
'ground', so don't use it to create or modify levels at the moment.

-- 
WWW:      http://pingus.seul.org/~grumbel/ 
Games:    http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden 
ICQ:      59461927




reply via email to

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