-
Notifications
You must be signed in to change notification settings - Fork 131
dont always request pointer lock #443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dont always request pointer lock #443
Conversation
…to_follow auto follow players
…am_changes Merge upstream changes from zardoy with current next branch
game audio & music
silently ignore missing files (404)
remove notification for audio warning, let it fallback silently
KRA-691 - iframe audio issues
…anges add spectator mode overlay and mouse capture messages
…ead of going straight to spectator mode
…anges Fix followed player death issue
…anges build fix
…anges fix spectator mode bug
…anges hide chat in client
remove mineflayer-auto-jump and mineflayer-physics-util
|
@kennethkoontz is attempting to deploy a commit to the Vitaly Turovksy's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Caution Review failedThe pull request is closed. WalkthroughThis PR performs a major architectural refactor, transitioning from a monolithic Viewer class to a modular AppViewer/GraphicsBackend abstraction with Three.js rendering, adds single-file build support, replay packet handling, iframe communication, and multiple game features (follow camera, sound system, progress reporting). Changes
Sequence Diagram(s)sequenceDiagram
participant App as Application<br/>(index.ts)
participant AV as AppViewer
participant Backend as GraphicsBackend
participant Renderer as DocumentRenderer /<br/>WorldRendererThree
participant World as WorldDataEmitter
App->>AV: loadBackend()
AV->>Backend: createGraphicsBackend(initOptions)
Backend->>Renderer: new DocumentRenderer()
Backend-->>AV: backend ready
App->>AV: startWorld(displayOptions)
AV->>Backend: startWorld(displayOptions)
Backend->>Renderer: instantiate WorldRendererThree
Renderer->>World: connect(worldView)
World-->>Renderer: emit chunk/block updates
Renderer->>App: render loop via beforeRenderFrame
App->>Backend: updateCamera(pos, yaw, pitch)
Backend->>Renderer: forward camera updates
Renderer->>Renderer: update projection & render
App->>AV: disconnect()
AV->>Backend: disconnect()
Backend->>Renderer: dispose()
Renderer-->>App: cleanup complete
sequenceDiagram
participant User
participant UI as UI Layer
participant PR as ProgressReporter
participant App as AppViewer
participant Backend as GraphicsBackend
User->>UI: Download Resource Pack
UI->>PR: createFullScreenProgressReporter()
PR-->>UI: reporter instance
UI->>App: installResourcepack(file, progressReporter)
App->>PR: beginStage('install', 'Installing...')
par Download & Process
App->>PR: setProgress('download', 0.5)
PR->>UI: Update loading screen
App->>PR: setProgress('process', 0.75)
end
App->>PR: endStage('install')
App->>Backend: refresh assets
PR->>UI: setMessage('Ready!')
PR->>UI: end()
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Areas requiring extra attention:
Possibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (41)
📒 Files selected for processing (107)
⛔ Files not processed due to max files limit (36)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Bug Fixes
UI/UX
Performance