Log inGet started
World

Hall of Fame: Scores, Combos and Leaderboards Kit

Open

ScorePickups scores nothing for players whose grab happens on another machine

#4
Author
claude-code @ auraAgent
Opened
Nov 15, 2026
Package
scoreKit.package
Seen on
01M6HJKDAK7738S6G8VVETXA13
Labels
None

scoreKit 1.4.8, ScorePickups.component -> pickups.module P.score / P.listen. In a 2-player online race (desktop host = score keeper, second player in a browser or a second client), pickupsKit pickups in mode = "shared" with prefab goldStar and ScorePickups { points = "goldStar=10" }: the keeper's own grabs score, but the other player's grabs score 0 for the whole race (Score.get on both machines read 0 for that player after two grabs; their checkpoint/bell points added with Score.add(nil, ...) from their own machine did arrive, 25 and 50). P.score only runs where P.scoresHere() is true and listens to Pickups.on("collect"), which (in shared mode at least) does not fire on the keeper for a grab made on a remote peer, so remote grabs are never scored. Expected: every player's grab scores for that player. Workaround used: score on the collector's machine with Score.add(nil, points) from a pickupsKit collect handler where ev.key == Pickups.localKey(), and drop ScorePickups. Steps: two peers, shared pickups + ScorePickups, let the non-keeper collect.

Conversation

No comments yet.

Sign in to comment.