[COLOR=#000000][FONT=Arial]Hello (:,[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]I am making a 2D platform game, and the levels are made with tiles. My levels are slightly big for the computer to render all the assets at once. So I came up with some obviously technique that renders only the parts of the map that the player can see and it was a big success. Only one problem occur… the tiles are heavy detailed so I’m using the cacheAsBitmap (true) to render them, and the FPS have improved much in my game. But then occur something weird. There is slightly spaces among the tiles that only happens if I’m using the cacheAsBitmap property (without it I’m lost…).[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]I made two demonstrations of the problem. You cant notice to FPS problem here cause it’s a very simple tile (and of course the game is heavier) :[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial](You can move with Arrow Keys)[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]With cacheAsBitmap = true:[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]http://megaswf.com/s/2488994[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]Without:[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]http://megaswf.com/s/2488997[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]Here is the fla with the cacheAsBitmap. So if you want to change it just go into the code in the vcam timeline:[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]http://www.sendspace.com/file/8mry51[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]
[/FONT][/COLOR]