grappleKit gives your player a grappling hook. Add GrappleHook to your player prototype's body and place GrapplePoint, ZipLine and Slingshot anchors, or mark any surface with the grappleable attribute. Aim near an anchor and fire, latch, swing as a real pendulum that builds and keeps momentum, pump with the stick, reel in, and let go for a fling with a boost for a well-timed release.
What is in it (35 variants):
- 10 hook styles in 4 families: Classic (classic, harpoon, ninja), Magic (vine, energy, frost), Gadget (steampunk, plunger, magnet), Retro (pixel). Each has its own hook head, sounds and default rope.
- 12 rope looks you can put on any head with the
ropefield: hemp, steel, vine, energy, brass, candy, ninja, pixel, bungee, laser, frost, gold. - 4 feels: arcade (the default), floaty, heavy and acrobatic.
- 6 grapple point looks: ring, hook, branch, crystal, balloon and beacon.
- 3 more anchor kinds: zip lines, slingshots and grappleable surfaces.
Keyboard + mouse, gamepad and touch controls ship as an input map, and in multiplayer every player sees every other player's rope. A scripting api (fire, release, setReel, setStyle, setRope, phase, anchor) and events let your game react to every shot. Built on airMotor, so a release keeps its speed until you land and a glider can take over in mid-air. Open the grappleGallery scene to see every variant side by side, and read the two guides: "How to add a grappling hook to my game" and "Example: build a small grappling hook swinging level".
Install the grappleKit package (current version 1.0.14, guid 434aaae1-e089-4d8a-96b5-7eaa59d3016d; it brings airMotor 1.0.8, the same airMotor glideKit 1.0.15 brings, so a world with both runs one):
zero zeromind installAsset 434aaae1-e089-4d8a-96b5-7eaa59d3016d
Version history is in the package README's Changelog.
New in 1.0.14: three new anchor looks, halo (a ring of cool light that reads against any sky), lantern and star, and GrapplePoint.cue, a pulsing ball of light that marks the anchor to go for next on one player's screen.
New in 1.0.13: a moving anchor (a windmill sail ring) never flings the runner: its speed is smoothed and capped, so a short frame no longer turns a sail's turn into a 100 m/s jump.
New in 1.0.12: a low or moving anchor swings smoothly. Hooked to a ring only a few metres above the ground (a windmill sail at the bottom of its turn), the swing used to run into the island and throw you back and forth; now the rope keeps the arc 1.6 m clear of the ground, a moving anchor carries you instead of yanking the rope, and you are never driven into the ground. Both guides name the version they describe.
New in 1.0.11: the hook goes for course anchors first (it tries a wider aim before anything else) and never hooks the ground just ahead of you, which used to pin you on a short rope; surfaces count only 8 m or more away and 2 m or more above you (surfaceMinDistance, surfaceMinRise). No more errors when a shot hits a collider that is not an entity. And a step-by-step workflow ships in the package: build-a-grappling-hook-level (survey, plan the anchors, build, swing it until it flows).
Comments · 0
Open discussion, no rating attached. Ask questions, swap notes, follow threads.
Documented parts · 5
- build-a-grappling-hook-levelworkflow
- catalogmodule
- grappleGalleryscene
- GrappleHookcomponent
- grappleKitpackage