Add lever and jump pad components with activation logic

This commit is contained in:
2025-04-25 22:41:35 +02:00
parent 9b2ca61163
commit 8959fd4b9f
323 changed files with 12844 additions and 18 deletions

View File

@@ -0,0 +1,10 @@
extends "res://addons/rmsmartshape/actions/action_add_point.gd"
## ActionSplitCurve
func _init(shape: SS2D_Shape, idx: int, gpoint: Vector2, xform: Transform2D, commit_update: bool = true) -> void:
super._init(shape, xform.affine_inverse() * gpoint, idx, commit_update)
func get_name() -> String:
return "Split Curve at (%d, %d)" % [_position.x, _position.y]