frame is showing tile's (0,0)
my code:
Code: Select all Reset
function script:draw (x, y, level) Drawing.setTile(x, y, 2, 3, 1, 1); Drawing.drawTileFrame(frameId); end
Lua editor
doc: https://doc.theotown.com/modules/Drawing.html#setTile
Moderators: Scenario Moderators, Plugin Moderators
Code: Select all Reset
function script:draw (x, y, level) Drawing.setTile(x, y, 2, 3, 1, 1); Drawing.drawTileFrame(frameId); end
Code: Select all Reset
function script:draw (x, y, level) Drawing.setTile(x, y, 2, 3, 1, 1); Drawing.drawImage(frameId, 0, 0); end