Forum

> > CS2D > General > Editor - Tile List
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Editor - Tile List

13 replies
To the start Previous 1 Next To the start

old Editor - Tile List

Informatixa
User Off Offline

Quote
I wonder whether these natural that we are limited to 255 tiles, after even if more than 255 tiles but we can not see them but use them.. If we want to put the 256 th it is replaced by the first etc, it works only with Env_Breakable or Func_DynWall.

old Re: Editor - Tile List

Z-
User Off Offline

Quote
ok lemme see if i understand you... we are limited to 255 tiles... you have 256 tiles and can only be used if u use a entitne or w/e to select it? what are your asking?

old Re: Editor - Tile List

Informatixa
User Off Offline

Quote
Yes, but I have more than 300 tiles.

I just want to know if a bug or the normal.
edited 3×, last 05.05.10 07:38:14 pm

old Re: Editor - Tile List

MeatMagicianHDS
User Off Offline

Quote
It may be that way so that the file transfer/download when using multiplayer isn't so large, or to keep the game from lagging.

old Re: Editor - Tile List

DC
Admin Off Offline

Quote
the tiles are limited to 256. the next version will reduce the size to 256 tiles automatically.

old Re: Editor - Tile List

MeatMagicianHDS
User Off Offline

Quote
DC has written
the tiles are limited to 256. the next version will reduce the size to 256 tiles automatically.


So it was intentional. I have a question- Why are they limited to 256?

old Re: Editor - Tile List

DC
Admin Off Offline

Quote
CS2D maps use bytes to save the tile data. this leads to small map files. and one byte can hold values from 0-255 = 256 distinct values.

it would be no big deal to implement a higher tile limit but this would lead to larger map files and I think that you don't really need that many tiles. in most cases it's better to use additional images/sprites instead of trying to display everything with tiles only.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview