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