Skip to content

Conversation

@VirtuGuy
Copy link
Contributor

Description

On the web version of the game, Philly (Train)'s lights, or windows, do not show up. This is because alphaShit is used in both the building shader class and the shader itself. What this PR does is it renames the class's alphaShit variable so that there's no variable redefinition error on web.

Screenshots/Videos

The error message you get when playing the game on Itch.io.

image

A screenshot of the lights working on web after I saved FNF and made it truly playable:

Screenshot 2026-01-10 092250

@github-actions github-actions bot added status: pending triage Awaiting review. size: small A small pull request with 10 or fewer changes. pr: hscript PR modifies game scripts. labels Jan 10, 2026
@trayfellow
Copy link
Contributor

Classic shader moment

@TechnikTil
Copy link
Contributor

how was this only made now😭 looks like this has been happening since weekend 1

@Hundrec Hundrec added the type: minor bug Involves a minor bug or issue. label Jan 10, 2026
@Hundrec
Copy link
Member

Hundrec commented Jan 10, 2026

Wow

@Hundrec Hundrec added the platform: html5 Specific to HTML5 Desktop web browser platforms. label Jan 12, 2026
@VirtuGuy VirtuGuy force-pushed the fix-philly-train-lights-not-working-on-web branch from 54f93cc to e9f616d Compare January 14, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: html5 Specific to HTML5 Desktop web browser platforms. pr: hscript PR modifies game scripts. size: small A small pull request with 10 or fewer changes. status: pending triage Awaiting review. type: minor bug Involves a minor bug or issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants