Hi Folks,
I am new to Defold so that looking to 15- puzzle tutorial and getting an error like this;
ERROR:SCRIPT: /main/game.script:55: The component could not be found
stack traceback:
[C]: in function ‘set_tile’
/main/game.script:55: in function ‘draw’
/main/game.script:66: in function </main/game.script:59>
51 local function draw(t)
52 for i=1, #t do
53 local y = 5 - math.ceil(i/4)
54 local x = i - (math.ceil(i/4) - 1) * 4
55 tilemap.set_tile("#tilemap",“layer1”,x,y,t[i])
56 end
57 end
How to solve this?
SOLVED