Max number of tiles in a VSP
Displaying 1-5 of 5 total.
1
rpgking
|
I couldn't find anywhere in the documentation what the max number of tiles in a VSP is, and I never tested this limitation myself. I was just thinking about the feasibility of one large vsp that all maps would use. But then again, this might be inefficient for memory purposes.
Posted on 2008-06-22 01:58:20
|
Overkill
|
No upper limit. Your tileset's limited by your own computer's memory, not by a hardcoded value. It's dynamically sized. The ONLY things with upper limits are the damn entitiy system and sprite system. And those should really be merged into one system and use a std::vector or something instead.
It's about one int per pixel of tile, that means 16*16*4 = 1024 bytes per tile, which isn't TOO bad considering the amount of RAM in a standard machine. 1kb per tile seems a little big internally but should be okay as long as you don't have way over 1000 tiles or something.
Posted on 2008-06-22 02:52:05
|
rpgking
|
Thanks, that's good to know. So basically 1MB per 1000 tiles... Shouldn't be a huge issue unless someone's running a really old machine.
Posted on 2008-06-22 18:30:40
|
resident
|
Or you're running VERGE on a more restricted platform like the GP2X.
Posted on 2008-06-23 12:19:38
|
rpgking
|
True...
Posted on 2008-06-23 20:24:50
|