rive_canvas

Creator: coderz1093

Last updated:

0 purchases

rive_canvas Image
rive_canvas Images
Add to Cart

Description:

rive canvas

Rive Canvas #
A package to make rive even more great
This package helps rendering Rives on a canvas directly.
It also comes with a RiveComponent for the Flame game engine.
You can use rive_canvas to: #

draw (currently non animatable) rives directly on a canvas:

canvas.drawStaticRiveRect(riveFile.mainArtboard, Rect.fromLTWH(20, 150, 50, 50));
copied to clipboard

draw rives as a Component in a Flame game:

class RiveGame extends BaseGame {
RiveGame() {
add(Background());
add(RiveComponent.fromPath(
'assets/rive/test.riv',
animationController: SimpleAnimation('drip')
));
}
}
copied to clipboard
For a more detailed example got to examples or Github
If you have issues or need help, come to Github

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.

Related Products

More From This Creator