From 02864ba303beda496c85e4f0503b3f94d32fd30d Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 13 Sep 2017 07:48:06 +0200 Subject: Viewports dimensions should be scaled --- not/World.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/not/World.lua b/not/World.lua index a4d0f97..e0b64c5 100644 --- a/not/World.lua +++ b/not/World.lua @@ -95,6 +95,8 @@ function World:buildMap () if op.animations then bg:setAnimationsList(op.animations) _,_,width,height = bg:getAnimations()[1]:getViewport() + width = width * getScale() + height = height * getScale() end bg.layer = self:addLayer(width, height, op.ratio) end -- cgit v1.1