Skip to content

Comments

feat: disable START button until route is connected#98

Open
nitininhouse wants to merge 1 commit intoknative-extensions:mainfrom
nitininhouse:feature/conditional-start-button
Open

feat: disable START button until route is connected#98
nitininhouse wants to merge 1 commit intoknative-extensions:mainfrom
nitininhouse:feature/conditional-start-button

Conversation

@nitininhouse
Copy link

Summary

Disables the START button until the player connects a box to a sink.

Changes

  • event_button.gd: Button starts disabled and grayed out, added enable_start() function
  • SinkClick.gd: Calls enable_start() when a route is connected

Behavior

  1. Game starts → START button is disabled (grayed out)
  2. Player clicks box → clicks sink → route connected
  3. START button becomes enabled (normal color)
  4. Player can now click START

Closes #97

@knative-prow
Copy link

knative-prow bot commented Feb 5, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: nitininhouse
Once this PR has been reviewed and has the lgtm label, please assign zainabhusain227 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot requested review from Cali0707 and Leo6Leo February 5, 2026 07:32
@knative-prow knative-prow bot added the size/S label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable START button until a route is connected

1 participant