Skip to content

fix(player): register the dash button systems - #10

Closed
nichinichisou0609 wants to merge 1 commit into
masterfrom
fix/dash-button
Closed

nichinichisou0609 wants to merge 1 commit into
masterfrom
fix/dash-button

Conversation

@nichinichisou0609

Copy link
Copy Markdown
Contributor

Summary

No plugin added the dash button's resource or its spawn, place and click systems, so the button never appeared.

  • The host schedule now initializes DashButton with the other UI resources.
  • The dash button's spawn runs with the action buttons' spawn. Its place and click run after the action buttons' click and before world picking, so a tap on the button never casts a world ray.
  • The PlayerPlugin doc comment now says where the dash systems are registered.

Test plan

  • cargo build --release -p moly-app succeeds.
  • In the native app, the dash button shows next to the action buttons on the field, and it responds to a tap.

🤖 Generated with Claude Code

The dash button's resource and its spawn, place and click systems were
not added by any plugin, so the button never appeared. The host schedule
now initializes the resource and runs the spawn with the action buttons'
spawn, and the place and click after the action buttons' click and
before world picking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant