The result of reducing the background to a screen-sized window is that it has to be kept placed behind whatever section of the world is currently visible in that screen.
world.lua, if needed.
Insert a new local function before the module function, which will set the world tiles to display the needed portion of the background:
local function alignBackground(world, ground) end return function (terrain, columns, rows)
First, determine which tile appears in the top-left corner of the screen:
local function alignBackground(world, ground) local x, y = world:contentToLocal(0, 0) x, y = math.floor(x / world.HSize), math.floor(y / world.VSize) end
Next, go through each ...