mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 11:43:19 +08:00
Fix parallax size (#800)
* Non-fullscreen ParallaxComponent * Updated examples with no size needed * Formatting * Add docs for fullscreen parallax * Fix formatting * Remove need of nullable size * Add basic parallax sizing test * Fix formatting * Remove unused imports * Info text for the parallax examples
This commit is contained in:
@ -22,7 +22,6 @@ class AdvancedParallaxGame extends BaseGame {
|
||||
final parallax = ParallaxComponent.fromParallax(
|
||||
Parallax(
|
||||
await Future.wait(layers),
|
||||
size,
|
||||
baseVelocity: Vector2(20, 0),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user