Skip to content

Latest commit

 

History

History
116 lines (79 loc) · 3.56 KB

File metadata and controls

116 lines (79 loc) · 3.56 KB

PixelRope

A high-performance, pixel-perfect rope simulation plugin for Godot 4.4, featuring realistic physics, customizable rendering, and interactive anchors.

Requires Godot 4.4+

Godot Asset Library Discord

PixelRope Demo


Features

  • Pixel-perfect rendering with multiple line algorithms (Bresenham and DDA)
  • Realistic physics with verlet integration
  • ECS-friendly design for optimal performance
  • Interactive ropes with grabbing, breaking, and dynamic anchors
  • Visual customization with adjustable pixel size, spacing, and colors
  • Collision detection with environment objects

Install

Asset Library (recommended)

  1. Open your project → AssetLib → search "PixelRope"
  2. DownloadInstall
  3. Project → Project Settings → Plugins → enable PixelRope

Manual

  1. Copy addons/pixel_rope/ into your project:
    your_project/
    └── addons/
        └── pixel_rope/
    
  2. Project → Project Settings → Plugins → enable PixelRope

Usage

# Create a rope
var rope = PixelRope.new()

# Configure basic properties
rope.segment_count = 50
rope.segment_length = 5.0
rope.pixel_size = 4
rope.rope_color = Color(0.8, 0.6, 0.2)

# Add to scene
add_child(rope)

# Position the anchors
rope.start_position = Vector2(100, 100)
rope.end_position = Vector2(300, 300)

Example Scenes

The plugin includes several example scenes demonstrating different use cases:

Scene Description
Basic rope Simple rope configuration
Dynamic bridges Bridge construction with rope physics
Grappling hooks Hook and swing mechanics
Pulley systems Rope-based pulley setups
Towing mechanics Attach and tow objects
Dynamic lighting Ropes with lighting effects

Documentation

Comprehensive documentation is available:


Contributing

Contributions are welcome! Check the GitHub issues or submit pull requests.


Credits

Made by Lost Rabbit Digital · Discord

Feature Requests

MPL-2.0 — see LICENSE