English What is the max. Map size of cs2d?

5 replies
Goto Page
To the start Previous 1 Next To the start
Up
XoOt
Super User
Offline Off
Well im working on a script based on a famous older game for smartphones and i will start to create the map for it soon. So here's the question: what is the biggest size i could use for the map, but it shouldnt cause any problems or hours of loading. I only need 15-20tiles in x scale but alot in y. So i need to know if i could put everything in 1map or if i need to create levels (more maps).

Ps: sorry if this has been asked before but i didnt found any topic related to it.
07.03.15 08:05:24 am
Up
Talented Doge
User
Offline Off
1000x1000
but it would be like this in window mode...
IMG:http://i.imgbox.com/xnuyzERk.png
Talented Doge
07.03.15 08:46:22 am
Up
DC
Admin
Offline Off
CS2D only renders (and iterates over) the visible part of the map so the size of the map shouldn't have a significant impact on runtime performance. Unless your system runs out of RAM (which should only happen on very old machine with like 1GB RAM for everything).

A lot of entities on the map however will lead to FPS drops. Depending on the amount, entity type and of course on the used hardware.

Loading time of the map will obviously be higher too but it shouldn't be more than a few seconds (on slow systems) I guess.

In short: You can use a 1000x1000 map without having to fear any performance problems unless you place thousands of expensive entities.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
07.03.15 09:53:26 am
Up
XoOt
Super User
Offline Off
Alright, thanks for the reply.
1000 in y should be enough for the minigame i've planned.
This thread can be closed

Admin/mod comment:

We don't close threads. Maybe someone has something useful to add later. /DC
07.03.15 11:52:48 am
Up
Accurator
User
Offline Off
The problem is... You can't see stuff past like 200 Y on the minimap in the map editor, so you would have to scroll hundreds of tiles with W and S to find the place you want to edit.
07.03.15 11:55:46 am
Up
XoOt
Super User
Offline Off
Well, i will only need it to be almost empty, just a outline and background. The rest will be done with scripts and sprites
To the start Previous 1 Next To the start