[1.9.37a][android] setTile offset not work

Plugin specific problems will be solved here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
chian177
Villager
Posts: 15
Joined: 30 Oct 2020, 04:39

[1.9.37a][android] setTile offset not work

#1

Post by chian177 »

Hi, i use the function but not work, offsetX and offsetY always like zero

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
Run
and i use drawTileImage(frameId), but no draw frame picture

doc: https://doc.theotown.com/modules/Drawing.html#setTile

User avatar
chian177
Villager
Posts: 15
Joined: 30 Oct 2020, 04:39

Re: [1.9.37a][android] setTile offset not work

#2

Post by chian177 »

i find answer... XDD

Code: Select all    Reset

function script:draw (x, y, level) Drawing.setTile(x, y, 2, 3, 1, 1); Drawing.drawImage(frameId, 0, 0); end
Lua editor
Run

Post Reply Previous topicNext topic

Return to “Problems”