Advanced-Tiled-Loader icon indicating copy to clipboard operation
Advanced-Tiled-Loader copied to clipboard

A problem with map size on screen

Open jisevereid opened this issue 11 years ago • 2 comments

Okay let's say I have an 18 x 18 tiled map made with 16 x 16 tiles. This map appears very small in the upper left hand corner of my 1200 x 750 window. How do I scale up the map in love2d and move the position of it?

jisevereid avatar Oct 09 '13 15:10 jisevereid

you may use it like this love.graphics.draw( drawable, x, y, r, sx, sy, ox, oy, kx, ky ), for detail see : https://www.love2d.org/wiki/love.graphics.draw

rangercyh avatar Oct 10 '13 01:10 rangercyh

I'm currently using map:draw() to draw the map to the screen. would I put map:draw() to be the drawable in this code? Or would I just use map?

jisevereid avatar Oct 10 '13 13:10 jisevereid