kibble-cabal / godot-rive

An integration of Rive into Godot 4 using GDExtension
93 stars 4 forks source link
gdextension godot godot-plugin godot4 rive

Godot Rive

An integration of Rive into Godot 4.1+ using GDExtension

[!WARNING] This extension is in alpha. That means:

  • You may encounter some bugs
  • It's untested on many platforms
  • Most features are implemented, but the API may change a little

This extensions adds Rive support to Godot 4.

It makes use of the following third-party libraries:

Table of Contents

  1. Features
  2. Building
  3. Installation
  4. Roadmap
  5. Contributing
  6. Screenshots

Features

Building

[!IMPORTANT] These instructions are only tested on M1 MacOS. You may have to modify build/build.py or build/SConstruct for your system.

The following must be installed:

To build, run the following commands (from the root directory):

cd build
python build.py

To see the available options, run:

python build.py --help

Installation

[!IMPORTANT] If you are not on M1 MacOS, you will need to build the extension yourself. Binaries are only provided for MacOS universal (debug and release). Eventually, binaries will be provided for other platforms.

  1. Copy demo/bin/, demo/icons/, and demo/rive.gdextension to your project folder
  2. Update the paths in rive.gdextension to match your project folder structure

Roadmap

Contributing

Help would be MUCH appreciated testing and/or building for the following platforms:

Feel free to contribute bug fixes (see open issues), documentation, or features as well.

Screenshots

In-editor screenshot