Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
0

Curve — Spline Motion Statement for Ren'Py

A topic by Sveta532 created Mar 12, 2026 Views: 262
Viewing posts 1 to 1

Curve — A custom Ren'Py statement that moves images along spline curves (and other paths) directly from your script, no Python coding required. Supports:

• Easing functions
• Motion blur
• Automatic sprite rotation
• Perspective effects

⚠️ No GUI editor yet — All control points must be manually defined with coordinates. Contributions welcome! If you'd like to build a visual editor, I’d love to collaborate!

https://sveteek.itch.io/curve

Advanced Features
• AfterEffects-style workflow: Create complex animations using keyframe blocks (warp blocks) with timing controls and easing
• Sequenced transformations: Chain multiple property animations within a single curve movement

Example Code:

# Move 'eileen' along Bézier curve over 3 seconds

curve eileen (0.2, 0.8) (0.5, 0.2) (0.8, 0.8) time 3.0:

    # First animation segment (0-1.5s)

    warp 0.0 1.5 smooth:

        zoom 0.8 1.3      # Scale up from 80% to 130%

        rotate 0 -10      # Rotate from 0° to -10°

    

    # Second segment (1.5-3.0s)

    warp 1.5 3.0 ease_out:

        zoom 1.3 1.0      # Scale down to 100%

        rotate -10 0      # Rotate back to 0°