remap function #2438
remap function
#2438
-
can I animate more than one tile withe the same remap function? |
Beta Was this translation helpful? Give feedback.
Answered by
Skeptim
Jan 12, 2024
Replies: 1 comment 1 reply
-
Yes. if tile==yourWaterfallTile then
outTile=outTile+math.floor(gameTicks*speed)%frames
end animates |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Sulfurix74
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes.
If I take the remap demo here as an example
animates
yourWaterfallTile
if you add an otherelseif
corresponding to an other tile you can animate this other tile.