feat(isometric): shared-window Bevy+Tauri with input bridge#7791
Merged
feat(isometric): shared-window Bevy+Tauri with input bridge#7791
Conversation
- Add bevy_rapier3d with KinematicCharacterController for player physics - Add RigidBody::Fixed + Collider::cuboid to all terrain body entities - Replace custom Collider enum with Rapier colliders on scene objects - Rewrite player movement: Rapier handles collision resolution, wall sliding, ground snapping, and auto-step (0.35 units, requiring jump for tile steps) - Keep fall damage, jump mechanics, and WASD isometric directions - Enable debug-render-3d for collider wireframe visualization
Replace separate Bevy/Tauri windows with shared-window rendering where Bevy renders into the Tauri webview's native surface. Remove WinitPlugin dependency and manually register non-render plugins upfront, deferring render-dependent plugins (CorePipeline, PBR, etc.) to Tauri's Ready event. Add input bridge system that forwards keyboard/mouse/scroll events from the React webview via Tauri IPC to Bevy's message system, replacing the WinitPlugin event sources that were removed.
…wers (#7790) - Expand grass cap shades from 8 to 12 for richer tile color variation - Add tapered blade grass mesh for individual grass blade look - Add 4 flower materials (white daisy, pink, rose, yellow) - Expand spawn slots from 3 to 5 (tuft, tall, blade, flower) - Flowers spawn at ~8% density, slightly raised on stems
Merge dev branch changes (WASM entry point, GrassPlugin, GamePluginGroup, cfg-gated platform code) with shared-window Bevy+Tauri architecture. Resolution strategy: - Cargo.toml: keep dev's full feature set (bevy_winit/picking for WASM), desktop skips WinitPlugin at app registration level - scene_objects.rs: keep pointer event observers (WASM) alongside cfg-gated Rapier raycast hover detection (desktop) - tauri_plugin.rs: wrap shared-window code in mod desktop with cfg guard - main.rs: use isometric_game:: lib crate paths
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
cargo checkcompiles cleancargo tauri devlaunches single window with game rendering🤖 Generated with Claude Code