map.map.get(cx,cy) from Quick Engine
I was trying to use Quick Engine and check collision with
But it give me this error:
Warning: map.map.get(cx,cy) is not a function, in file "lib/quickengine" at line 378, column 27
Did you add a map to the engine using the
Make your app project public and link to your app project.
the parameter you need to pass to the Quick.mapCellAt() function is object . You are passing a string variable.
if Quick.mapCellAt("map", car.x + 10, car.y) != "wall" then
if Quick.mapCellAt(map, car.x + 10, car.y) != "wall" then
checking what you are sending to the function
Quick.mapCellAt = function(map,x,y)
print( map.type )