mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
Generalize position effect tests
This commit is contained in:
@ -60,7 +60,7 @@ class MyGame extends BaseGame with TapDetector {
|
||||
));
|
||||
|
||||
orangeSquare.addEffect(RotateEffect(
|
||||
radians: (dx + dy) % (2 * pi),
|
||||
angle: (dx + dy) % (2 * pi),
|
||||
speed: 1.0, // Radians per second
|
||||
curve: Curves.easeInOut,
|
||||
isInfinite: true,
|
||||
|
||||
Reference in New Issue
Block a user