Code: Select all
for y=1,16 do
screen:blit(0, ((y*32)-32), images[layout[y].block1])
end
Moderators: Shine, Insert_witty_name
Code: Select all
for y=1,16 do
screen:blit(0, ((y*32)-32), images[layout[y].block1])
end
Code: Select all
for y=1,16 do
screen:blit(0, ((key*32)-32), images[layout[y].block1])
end
Code: Select all
for key,value in layout do
if (images[value.block1]) then
screen:blit(0, ((key*32)-32), images[value.block1])
end
end
Code: Select all
if (images[value.block1]) and (key <= 16) then
screen:blit(0, ((key*32)-32), images[value.block1])
end