Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web builds #91

Merged
merged 7 commits into from
Nov 28, 2023
Merged

Web builds #91

merged 7 commits into from
Nov 28, 2023

Conversation

mnmaita
Copy link
Owner

@mnmaita mnmaita commented Nov 27, 2023

Issue:

Closes #3
Closes #27

What was done:

  • Added configuration to be able to run the project on a browser locally by using wasm-server-runner.
  • Added configuration to be able to build itch.io-compatible builds with Trunk.
  • Embeds assets into the executable to avoid distributing a separate assets folder.
  • Refactored all asset loading modules to work for both wasm and non-wasm builds.
  • Added title and fit to canvas properties to the Window.
  • Set tile size to 16x16 (and doubled the grid size to keep the same level dimensions).

@mnmaita mnmaita merged commit e21591b into main Nov 28, 2023
3 checks passed
@mnmaita mnmaita deleted the web-builds branch November 28, 2023 12:42
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.

Define Tile Size Prepare WASM build
1 participant