class flixel.addons.display.FlxBackdrop extends FlxSprite
Available on all platforms
Used for showing infinitely scrolling backgrounds. * @author Chevy Ray
Instance Fields
function new(Graphic:Dynamic, ?ScrollX:Float = 1, ?ScrollY:Float = 1, ?RepeatX:Bool = true, ?RepeatY:Bool = true):Void
Creates an instance of the FlxBackdrop class, used to create infinitely scrolling backgrounds. * *
Graphic | The image you want to use for the backdrop. * |
ScrollX | Scrollrate on the X axis. * |
ScrollY | Scrollrate on the Y axis. * |
RepeatX | If the backdrop should repeat on the X axis. * |
RepeatY | If the backdrop should repeat on the Y axis. |