Hello everyone,
I have been trying to use a rect to scroll an space image and it works but when i read through https://coronalabs.com/blog/2013/11/07/tutorial-repeating-fills-in-graphics-2-0/ where it says to scale the fill and use a algorithm i don’t really understand what happens?
local scaleFactorX = 1 ; local scaleFactorY = 1 if ( object.width > object.height ) then scaleFactorY = object.width / object.height else scaleFactorX = object.height / object.width end
what does the if compare? > what is that?
Kind regards
Isak