Code: Select all
function love.update(dt)
blocks.update()
createSelectedTable()
--if answer[3] == complexRadicalsI[43][3] then
if answer[3] == complexRadicalsI[43][1] then
pruebaEstado="works"
end
end
function love.draw()
blocks.draw()
love.graphics.print(complexRadicals[43][2],0,0,0,0.4)
love.graphics.print("the first character is shown when I'm not setting it as a string",40,0,0,0.4)
-- love.graphics.print("first kanji compared "..tostring(complexRadicals[43][#complexRadicals[43]]), 0, 20,0,0.4)
love.graphics.print("first kanji compared "..tostring(complexRadicals[43][1][3]), 0, 20,0,0.4)
love.graphics.print("second kanji compared "..tostring(answer[3]), 0, 40,0,0.4)
love.graphics.print(pruebaEstado, 0, 120,0,0.4)
end