Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
TileMap:shift(x ,y) - Gideros Forum

TileMap:shift(x ,y)

jeromegsqjeromegsq Member
edited May 2015 in General questions

Does this method TileMap:shift(x, y) work ?
I know the values are in tiles not in pixels.
When i try self.map:shift(-2, 0) I have :

level.lua:39: attempt to call method 'shift' (a nil value)
stack traceback:
level.lua:39: in function

function Level:init()
self.map = TiledMap.new("maps/map01")
self.map:shift(-2, 0)


Sign In or Register to comment.