the fps is almost good! sometimes when you travel down the topmost row of tiles disappears thoughadrix89 wrote:Updated it for massive performance increase!
Basically I just check if we a are in a new bucket and if we are not use the previous calculated spritebatches
There is also allot less memory consumption and pretty much disregards the layer penalty
Also updated the maps, now the first map is a layer test with 7 layers, while the second is a mind boggling 512x512 map
Remember to press lshift to traverse faster
Tiled Drawer
- Franc[e]sco
- Prole
- Posts: 19
- Joined: Sun May 08, 2011 9:09 am
Re: Tiled Drawer
Re: Tiled Drawer
I'll fix that in the next update since I have frames to spare,altogether I'm unwilling because it is adding 3 extra buckets only because the rate and tilesize height is not equalFranc[e]sco wrote: the fps is almost good! sometimes when you travel down the topmost row of tiles disappears though
Does the collisions work fine to you? are they accurate to the tiled map collision layer?
- Franc[e]sco
- Prole
- Posts: 19
- Joined: Sun May 08, 2011 9:09 am
Re: Tiled Drawer
can't really check because I don't have a tmx editoradrix89 wrote:I'll fix that in the next update since I have frames to spare,altogether I'm unwilling because it is adding 3 extra buckets only because the rate and tilesize height is not equalFranc[e]sco wrote: the fps is almost good! sometimes when you travel down the topmost row of tiles disappears though
Does the collisions work fine to you? are they accurate to the tiled map collision layer?
Re: Tiled Drawer
http://www.mapeditor.org/Franc[e]sco wrote: can't really check because I don't have a tmx editor
Re: Tiled Drawer
Very cool.
Who is online
Users browsing this forum: No registered users and 5 guests