Hi all,
I was after some advice on whether it's best to use a large background image (iPad3 resolution) or using a tilemap for single-screen games? Is it even possible to resize the tilemap dynamically so that If i create a map to iPad3 resolution and then run it on an iPhone would it shrink it ok?
I was thinking more about using tiled because i could assign certain properties to certain tiles which would help out a lot without having to place objects at certain positions on the screen and listen for events on them.
Many thanks
Comments
If you were to create a map at iPad3 resolution you could do something similar by using allLayers:setScale(deviceResolutionX/iPad3ResolutionX, deviceResolutionY/iPad3ResolutionY). This should scale the image perfectly for any resolution device.
Having said that I believe the more acceptable way to do this would be to have several different resolution maps as you may end up with scaling artifacts the smaller you scale the image.
Likes: phongtt
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
Thank you