herksaw Posted December 4, 2013 Share Posted December 4, 2013 Is there any difference between Game.width(height) with World.width? Also, is they related to TilemapLayer.renderWidth? Link to comment Share on other sites More sharing options...
rich Posted December 4, 2013 Share Posted December 4, 2013 Sure, the world can be any size you like - whereas the Game dimensions are those given when you create the game at the very beginning. Neither are related to the TilemapLayer though That is just the size you want your tilemap to display as in-game. Normally it would be the same as the game size, but say if you were doing a split-screen platform game then the layer width would only need to be half the game width. jerome 1 Link to comment Share on other sites More sharing options...
herksaw Posted December 5, 2013 Author Share Posted December 5, 2013 Thanks for the clear explanation. Link to comment Share on other sites More sharing options...
Recommended Posts