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

fix: Update level spatial map when tiles are moved #539

Merged
merged 1 commit into from
Nov 28, 2024

Commits on Nov 25, 2024

  1. fix: Update level spatial map when tiles are moved

    - Expose removeFromSpatialMap and insertIntoSpatialMap from
      level so they can be called from the tile component.
    - When calling a move function from tile, remove the current
      component from the spatial map and add them back with the
      new position.
    - Contribute a Sokoban example that showcases using tile
      movement to create a tile-based puzzle game.
    mgmarlow committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    71da333 View commit details
    Browse the repository at this point in the history