Skip to content

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

License

Notifications You must be signed in to change notification settings

Lost-Rabbit-Digital/pixelated_rope_simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PixelRope

PixelRope Banner License Version

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

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

Documentation

Comprehensive documentation is available:

Quick Start

Installation

Method 1: Godot AssetLib (Recommended)

  1. Open your Godot project
  2. Navigate to AssetLib tab in the top center of the editor
  3. Search for "PixelRope"
  4. Click on the plugin and press "Download"
  5. In the installation dialog, click "Install"
  6. Enable the plugin in Project Settings > Plugins

Method 2: Manual Installation

  1. Download the plugin from this repository
  2. Extract the addons/pixel_rope folder into your project's addons directory
  3. Enable the plugin in Project Settings > Plugins

Basic 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:

  • Basic rope configuration
  • Dynamic bridges
  • Grappling hooks
  • Pulley systems
  • Towing mechanics
  • Dynamic lighting

License

This project is licensed under the Mozilla Public License Version 2.0.

Contributing

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

Attributions

Lost Rabbit Digital LLC

Feature Requests

Contact

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published