Skip to content

Fix tactical UI integration: heat application, weapon tracking, toggle consistency, coordinate system#20

Open
Copilot wants to merge 112 commits intomainfrom
copilot/refonte-systme-armement-bonus
Open

Fix tactical UI integration: heat application, weapon tracking, toggle consistency, coordinate system#20
Copilot wants to merge 112 commits intomainfrom
copilot/refonte-systme-armement-bonus

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

Problem

Four integration issues prevented tactical UI from functioning correctly:

  1. Weapons not applying heat generation on fire
  2. Current weapon not tracked for UI/resistance calculations
  3. 'U' toggle only hiding DOM elements, not canvas-rendered enemy indicators
  4. Floating damage text using world coordinates instead of screen coordinates

Changes

CombatSystem - Heat Application and Weapon Tracking

  • updateWeapon() now calls fireWeaponWithHeat() instead of fireWeapon()
  • Sets playerComp.currentWeapon = weapon.data when firing to track active weapon

UISystem - Toggle State and Positioning

  • Toggle state stored in world.gameState.tacticalUIEnabled for cross-system visibility
  • Floating damage elements use position: fixed for canvas screen coordinate alignment

RenderSystem - Enemy Indicator Visibility

  • drawEnemyResistanceIndicator() checks gameState.tacticalUIEnabled before rendering
  • Enemy resistance symbols (▼/■/▲) now respect tactical UI toggle

GameState - Shared State

  • Added tacticalUIEnabled: true field for consistent toggle state across systems

Result

All tactical UI components (defense bars, heat gauge, weapon display, damage text, enemy indicators) now function as a cohesive unit with proper physics integration and coordinate handling.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 6 commits February 12, 2026 21:28
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
…stem

Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
…bility

Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
… multiplicative stacking

Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor complete armament and bonus system Implement 3-layer defense, heat management, and damage type systems Feb 12, 2026
Copilot AI requested a review from Linkatplug February 12, 2026 21:39
Copilot AI and others added 2 commits February 12, 2026 21:46
…docs, and validation tests

Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
…t results

Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Copilot AI changed the title Implement 3-layer defense, heat management, and damage type systems Enforce balance caps and close exploit vectors in combat system Feb 12, 2026
Copilot AI and others added 2 commits February 12, 2026 22:47
…esistance/heat

Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Copilot AI changed the title Enforce balance caps and close exploit vectors in combat system Fix critical module application bugs and enforce safe resistance/heat modification Feb 12, 2026
Copilot AI and others added 2 commits February 12, 2026 22:59
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Copilot AI changed the title Fix critical module application bugs and enforce safe resistance/heat modification Implement EVE Online-inspired 3-layer defense and 4-damage-type combat system Feb 12, 2026
@Linkatplug Linkatplug marked this pull request as ready for review February 12, 2026 23:05
Copilot AI and others added 29 commits February 13, 2026 21:24
… 200ms

Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
Co-authored-by: Linkatplug <36280686+Linkatplug@users.noreply.github.com>
…oueur

Remove legacy 6-class system, migrate to ShipUpgradeData 4-ship system
…ignment

Stabilize core gameplay: Fix DefenseSystem crash, XP progression, enemy behavior, overheat, and collision damage
Repository owner deleted a comment from chatgpt-codex-connector bot Feb 14, 2026
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.

2 participants