Skip to main content

renpy-rigging

A 2D skeletal rigging, posing, and animation system for Ren'Py — including a full visual editor and a cue-based film production pipeline.

Why renpy-rigging?

Ren'Py games typically display characters as static sprites — a handful of pre-drawn poses swapped in and out. If you want a character to breathe, gesture, walk across a room, or dance with a partner, you're either drawing every frame by hand or leaving it out.

renpy-rigging gives Ren'Py characters a skeleton. Separate PNG body parts connect at joints that rotate, scale, and blend between poses — the same technique 2D game engines use, but designed specifically for Ren'Py's visual novel workflow. You build characters in a visual editor, and the same rendering code runs in your game. No export step, no format conversion, no drift between what you author and what players see.

What you see in the editor is exactly what ships in your game.

What You Can Do

Animate characters from reusable parts

Draw body parts as individual PNGs, connect them at joints, and create a library of named poses. Blend between poses, loop idle animations, layer breathing over walking — all from the same set of art assets. Poses are composable deltas, so a "wave" pose only stores the arm rotation, not the whole body.

Dress and equip characters at runtime

Swap clothing with overlays (a shirt replaces the torso art) or attach independent objects with attachments (a gun docks to a hand joint with its own skeleton and animations). Both use named slots for clean mutual exclusion — equipping a tommy-gun automatically holsters the pistol.

Build complete environments

Compose backgrounds, layered props, placed characters, and ambient sound into scenes. Define named locations and scripted actions (curtain draws, day-to-night transitions) that trigger from your game script.

Direct multi-character sequences

The Film Studio uses a cue-based model inspired by theatrical lighting cues: cues run in sequence, tracks within a cue run in parallel, steps within a track run in sequence. Choreograph synchronized movement, camera pans, title cards, scrolling credits, and soundtracks — then play them in real time in Ren'Py or export to GIF/MP4.

Author everything visually

The Ren'Py Rigging Studio is a Ren'Py app with four screens — rig/pose editing, animation timeline, scene composition, and clip sequencing. Mouse-driven manipulation with keyboard nudging, undo/redo, and live preview. Because the editor uses the same renderer as your game, there's no WYSIWYG gap.

Quick Start

Install the runtime

pip install renpy-rigging

Load and display a character

init python:
    from renpy_rigging import RigRenderer

    vince = RigRenderer.from_directory("characters/vince")
# Static pose
show expression vince.show_pose("neutral") as vince:
    xalign 0.5 yalign 0.7

# Looping animation
show expression vince.play_animation("idle", loop=True) as vince:
    xalign 0.5 yalign 0.7

Use overlays and attachments

vince.add_overlay("broadway-brawlers-shirt")
vince.add_attachment("tommy-gun")
vince.set_attachment_pose("tommy-gun", "firing")

Load a scene

init python:
    from renpy_rigging import SceneManager, register_channels

    register_channels()
    scene_mgr = SceneManager(os.path.join(renpy.config.gamedir, "scenes"))
    scene_mgr.register_images()
$ scene_mgr.show("speakeasy")

See the Ren'Py Integration Guide for full setup and usage.

Asset Directory Layout

game/
  characters/
    vince/
      rig.json           # Skeleton and parts
      poses.json         # Named poses (deltas from neutral)
      animations.json    # Pose sequences with timing
      overlays.json      # Layered clothing/accessories
      attachments.json   # Bound props/weapons
      parts/             # PNG body part images
      overlays/          # Overlay images per set
      sounds/            # Sound effects
  attachments/
    tommy-gun/
      rig.json           # Attachment's own skeleton
      poses.json
      animations.json
      parts/
  scenes/
    speakeasy/
      scene.json         # Background, layers, placed entities
      parts/             # Scene prop images
  clips/
    stage-show/
      clip.json          # Cue-based multi-character sequence

All data is stored as human-readable, hand-editable JSON. See Data Formats for the specification of each file type.

Documentation

For Users

For Editor Users (Studio)

For Developers

  • Architecture — system components, rendering pipeline, and design principles
  • Data Formats — JSON specification for every asset type
  • Demo Overview — sample game and bundled assets

License

MIT License — see LICENSE for details.

Metadata

Release files for renpy-rigging 0.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for renpy-rigging 0.5.4
File Size Uploaded
renpy_rigging-0.5.4.tar.gz 94.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for renpy-rigging 0.5.4
File Interpreter ABI Platform
renpy_rigging-0.5.4-py3-none-any.whl Python 3 none any Details

Total release size: 196.3 kB

Release files / renpy_rigging-0.5.4.tar.gz

Download URL renpy_rigging-0.5.4.tar.gz
Size 94.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1f53ca01ad7ac4c36e9e1cd168a4dc0803ca0684fd6cf3f6e28b76c1e1fe6393
BLAKE2b-256 checksum
How to use checksums
d852e457a37c274c69783356560cf527f874f14086251d8ec9426402b6433760
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / renpy_rigging-0.5.4-py3-none-any.whl

Download URL renpy_rigging-0.5.4-py3-none-any.whl
Size 102.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c223bd2edf329651129c51ad2a62adc4ede1ae6e80e900b3046ca31a865da6ee
BLAKE2b-256 checksum
How to use checksums
d0b74f12708942dec7070d6de623caf92b96c11c908581f58e043edaa1cc39c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

This release

0.5.4 This release

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page