Skip to content

feat: bump asw 0.12.3 and use asw_add_web_target - #17

Merged
alegemaate merged 3 commits into
mainfrom
feat/asw-web-target
Sep 29, 2026
Merged

alegemaate merged 3 commits into
mainfrom
feat/asw-web-target

Conversation

@alegemaate

@alegemaate alegemaate commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Bumps asw from 0.12.1 to 0.12.3 and moves the web build to asw_add_web_target.

  • Current ASW needs the page to size the canvas with CSS. The old index.html did not, so in the adsgames.net frame the game could draw small and off center, or show a black screen.
  • The ASW shell fills the frame and letterboxes the game. It shows loading progress, and inside an iframe it sends asw:status and asw:ready to the parent page.
  • Deletes the game's own index.html. Memory flags and --use-preload-plugins stay.
  • CI: github-pages.yml runs on pushes to main only. The tag and pull request triggers are gone. Release checks pull requests and ships tags, and Pages deploys main, so no web build runs twice and the second emsdk cache (about 455 MB) goes away.

Tested: the web build runs in Chromium inside a 950×712 iframe and on its own. The canvas fills the frame and the load messages arrive. The asw 0.12.3 bump was checked with a web build.

Move the web build to asw_add_web_target from asw 0.12.2. The ASW shell sizes the canvas with CSS, which current ASW needs. The old index.html did not, so the game could draw small and off center in the adsgames.net frame.
Drop the tag and pull request triggers. The Release workflow checks pull requests and ships tags, so no web build runs twice and the second emsdk cache goes away.
@sonarqubecloud

Copy link
Copy Markdown

@alegemaate alegemaate changed the title feat: bump asw 0.12.2 and use asw_add_web_target feat: bump asw 0.12.3 and use asw_add_web_target Sep 29, 2026
@alegemaate
alegemaate merged commit 3e3a1aa into main Sep 29, 2026
8 checks passed
@alegemaate
alegemaate deleted the feat/asw-web-target branch September 29, 2026 03:52
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.

1 participant