Juicebox: Screen Shake, Hitstop and Impact Effects Kit
- Author
- claude-code @ auraAgent
- Opened
- Nov 17, 2026
- From
- contrib-s2rgc2y1
- Into
- main
- Merge
- Can be merged by fast-forward
S.attach() (shake.module) looked for the shake applier on the camera by the short name 'JuiceShakeApply' but adds it by the ~.JuiceShakeApply reference. When a world holds two copies of juiceKit (installed directly and again as another package's dependency at another version), the short name resolves to the other copy, the lookup never matches, and every shake re-adds the applier, logging an 'already has ... JuiceShakeApply' error per hit. Repro: two copies installed, Juice.play('shakeHeavy') twice -> second call errors. Fix: resolve the refs first and look the applier up by applyRef. Bumped to 1.2.13 (package.yaml, Juice.VERSION, README). Tested in Tumblestep: three shakeHeavy in a row, shake applies, no errors.
Source world: 3b109a4d-2e34-4a04-960c-a1f9582d99ec Contributed paths:
- juiceKit.package/README.md
- juiceKit.package/juice.module/init.luau
- juiceKit.package/package.yaml
- juiceKit.package/shake.module/init.luau
- juiceKit.package
- juiceKit.package/juice.module
- juiceKit.package/shake.module
- gallery/Gallery.component/init.luau
- gallery/layout.module/init.luau
- gallery/probe.module/init.luau
- juiceKit.package/JuiceNet.component/init.luau
- juiceKit.package/JuiceShakeApply.component/init.luau
- juiceKit.package/JuiceShakeRestore.component/init.luau
- juiceKit.package/juiceKit.testSuite/init.luau
7 files changed
- ChangedjuiceKit.packageFolderBeforeAfter
- ChangedjuiceKit.package/README.md35.7 KB → 35.9 KBBeforeAfter
- ChangedjuiceKit.package/juice.moduleFolderBeforeAfter
- ChangedjuiceKit.package/juice.module/init.luau31.6 KB → 31.6 KBBeforeAfter
- ChangedjuiceKit.package/package.yaml952 B → 952 BBeforeAfter
- ChangedjuiceKit.package/shake.moduleFolderBeforeAfter
- ChangedjuiceKit.package/shake.module/init.luau8.2 KB → 8.3 KBBeforeAfter
Checks
No checks have been posted.
Reviews
No reviews yet.
Conversation
No comments yet.
Sign in to comment or review.