Tiled generated level issue

Hi guys

No idea why this is happening - I’ve used Tiled to generate a basic ‘level’ which really only consists of one image as a background for testing purposes.
 
Not sure why but have ended up with a rather strange, distorted behaviour? See attached pic.
 
Any Ideas what I’ve done wrong or what settings I may have to use?
 
Simple code to display the level:
 

[lua]----------------------------------------------------------
– Hide status bar, load required files

display.setStatusBar(display.HiddenStatusBar);
system.activate(‘multitouch’);
local screenWidth = display.contentWidth;
local screenHeight = display.contentHeight;
local physics = require(‘physics’);
local dusk = require(“Dusk.Dusk”);
physics.setGravity(0,0);

–local gui = display.newGroup();
–gui.front = display.newGroup();
–gui.back = display.newGroup();

–gui:insert(gui.back);
–gui:insert(gui.front);

map = dusk.buildMap(“levels/LV1_Tiled.lua”);
map.updateView();
–gui.back:insert(map);
[/lua]
 
Cheers
A

Is this a single image (viz. an image layer), or an image made of tiles?

  • C

Single image layer so it’s really confusing me why it’s distorted so much?

Edit - Found my mistake, there was a duplicate image made up of tiles over the top…But this raises another question, will the tiled maps not also be affected by this behaviour??

I haven’t seen any issues like this before, so all I can think is just try it out and see.

  • C

Is this a single image (viz. an image layer), or an image made of tiles?

  • C

Single image layer so it’s really confusing me why it’s distorted so much?

Edit - Found my mistake, there was a duplicate image made up of tiles over the top…But this raises another question, will the tiled maps not also be affected by this behaviour??

I haven’t seen any issues like this before, so all I can think is just try it out and see.

  • C