feat(mobile): 虚拟摇杆 + 触摸技能按钮#1
Merged
Merged
Conversation
Adds MobileControlsSystem with virtual joystick (left side), 6 skill buttons (right side, 2x3 grid), auto-combat toggle, and panel shortcut buttons (inventory, character, skills, map, homestead, quest). Controls are semi-transparent overlays, only shown on mobile/tablet devices, and integrate with existing keyboard controls via EventBus events. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feuvan
added a commit
that referenced
this pull request
Mar 24, 2026
…ion, tint management, teleport fallback, typing - Fix #1: Dual Wield Mastery buff spam — use tag-based guard instead of wrong stat name - Fix #2: Monster respawn stat inflation — use originalDefinition to prevent compounding - Fix #3: preFX.clear() on effect expiry — re-apply remaining active tints after clear - Fix #4: Teleport no fallback — abort teleport and refund mana when no walkable tile found - Fix #5: applyStatusTint() every frame — add statusTintApplied tracking map - Fix #6: Curse aura 'as any' — add optional tag field to ActiveBuff interface - Fix #7: Frenzy description mismatch — remove attack speed claim, match damageBonus mechanic 30 new validation tests covering all fixes. 1473 total tests pass. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
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.
移动端操控支持
新增
MobileControlsSystem,仅在移动端/平板设备上显示:功能
技术细节
改动
src/systems/MobileControlsSystem.ts— 新增(299行)src/scenes/ZoneScene.ts— 集成移动端控制系统