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

Checklist of all the things #1

Open
5 of 14 tasks
mvasilkov opened this issue Aug 13, 2022 · 0 comments
Open
5 of 14 tasks

Checklist of all the things #1

mvasilkov opened this issue Aug 13, 2022 · 0 comments

Comments

@mvasilkov
Copy link
Owner

mvasilkov commented Aug 13, 2022

  • Check if we can do just one save-restore in _paintCurtain()
  • Change State.buttonsPressed to bit mask
  • Satisfying connection should change the color of the connected paint
  • Make CanvasHandle(document.createElement('canvas'), ...) the default behavior if no canvas is provided
  • Change functions that are passed as arguments to fat arrow syntax
  • Add header comments to files
  • Don't allocate new TileIntersection in ddaWalk
  • Clean up console.log()
  • Fold Hotspot._paintInternal() back into Hotspot.paintInternal() if not used
  • Drop boundary checks in Level._fungusCol()
  • Mangle properties using Terser
  • Merge the 'Paint a tile' functions in Level.paintInternalTiles(), Level.paintInternalTiles2()
  • Can use literal 10 and 20 instead of indices in LevelSelect._connect() to reduce size
  • Can remove the baked crown from the princess' sprite to save bytes
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

No branches or pull requests

1 participant