Correct setup and development strategy for a Rive-Unity project
I'm developing a Unity mobile game using Rive's capabilities and I have a few questions to help me better maintain and control all the various components:
I have different elements in my game: some are UI specific and other are game objects controlled by the Unity code. I developed the background and the Hud graphics in Rive using a specific Artboard, with its animations, UI dialogs, and so on. This part works fine in Unity end the render quality is good (using the Unity Rive Canvas component), but I can’t put other 3D game object in front of the Canvas so my scenario was:
1. create the background Artboard in Rive and render it in a specific Unity Quad with a custom script to fill the entire screen resolution
2. create the Hud Artboard in Rive and render it as a Unity Rive Canvas (and it works fine)
3. create the game object Artboards in Rive to render inside specific Unity Quad so I can control them following the game logic
This strategy works but it’s not so simple to manage because I have to calculate the correct Quad size to maintain the game look and feel and the quality of the Quad render is worse than the canvas one due to pixelation.
I tried to create all the game elements inside Rive than manage them using the data binding feature but it’s very complex to manage.
The game has a set of shapes with fixed position in the game level and the viewport should scroll both orizontal and vertical. I tried using the data binding list feature but it’s difficult to manage.
Do you have some suggestion to approach a game of this type correctly?