Skip to content

feat(isometric): time sync gate + bevy toast system#9586

Merged
h0lybyte merged 1 commit intodevfrom
trunk/fix-timesync-toast-replication-1775246593
Apr 3, 2026
Merged

feat(isometric): time sync gate + bevy toast system#9586
h0lybyte merged 1 commit intodevfrom
trunk/fix-timesync-toast-replication-1775246593

Conversation

@h0lybyte
Copy link
Copy Markdown
Member

@h0lybyte h0lybyte commented Apr 3, 2026

Summary

  • Phase transition Connecting → Playing now waits for first TimeSyncMessage — world has correct time-of-day before the player sees it
  • New ToastPlugin — bevy-native notification system (bottom-left, fades after 3s)
  • LootEvent observer triggers toast on item pickup (e.g. "+ 1x Wood")
  • Works on both native cargo run and WASM — no React dependency

Test plan

  • Connect to production, verify Playing phase enters after time sync log
  • Chop a tree, verify toast shows "+ 1x Wood" at bottom-left
  • Verify toast fades after ~3 seconds
  • Test on WASM — same behavior

…system

- Phase transition now waits for first TimeSyncMessage before entering
  Playing — ensures correct time-of-day before player sees the world
- New toast notification system: temporary text messages at bottom-left
  that fade after 3s, supports info/warn/error colors
- LootEvent observer triggers toast on item pickup (e.g. "+ 1x Wood")
- Toast works on both native and WASM — no React dependency
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 3, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 2b83b45.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@h0lybyte h0lybyte merged commit 6d88c33 into dev Apr 3, 2026
1 check passed
@h0lybyte h0lybyte deleted the trunk/fix-timesync-toast-replication-1775246593 branch April 3, 2026 20:22
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