Skip to content

Add option to show/hide the AltTester popup in instrumented builds #1851

@RobertPoienar

Description

@RobertPoienar

Description & User Story:
As a developer/QA tester, I want to control the visibility of the AltTester popup in my instrumented build. This will allow me to use a single build for both automated testing and for general purposes (like demos or internal reviews) without having to create a separate "clean" build.

Implementation Tasks:

UI (AltTester Editor):

  • Add a new checkbox setting in the "AltTester Editor" window labeled "Hide Green Popup"".
  • Set the default value to false to maintain existing behavior for current users.

Core Logic (Instrumentation):

  • Modify build instrumentation logic to read the new setting.
  • Conditionally render the popup at launch based on the saved setting.

Runtime Feature (In-Game):

  • Implement a universal shortcut to toggle the popup's visibility at runtime.
  • Desktop (PC/Mac): Use key combination Ctrl+Alt+T.
  • Mobile (Android/iOS): Hold three finger for 1 second.

Documentation:

  • Update the user documentation to explain the new editor setting and the runtime shortcut.

Acceptance Criteria:

  • The new checkbox is visible and functional in the "AltTester Editor" window.
  • If the box is unchecked, the game starts with the popup hidden.
  • The runtime shortcut successfully shows and hides the popup on all supported platforms.
  • AltTester Desktop can connect and run tests whether the popup is visible or hidden.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions