-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Tiled Plugin Features per User Feedback (#485)
New tile methods for convenience, all of these methods are also available at the layer level * `TiledResource.getTilesByPoint` - Returns any excalibur Tile instances and any metadata for a tile below the world space point provided * `TiledResource.getTileMetadataByClassName` - renamed from `getTilesByClassname`. This returns the Tiled metadata for a tile by classname. * `TiledResource.getTileMetadataByProperty` - renamed from `getTilesByProperty`. This returns returns the Tiled metadata for a tile by property. * `TiledResource.getTilesByGid` - get the Excalibur Tile instances and any Tiled metadata for a matching tile by global id * `TiledResource.getTilesByClassName` - get the Excalibur Tile instances and any Tiled metadata for a mathcing tile by classname * `TiledResource.getTilesByProperty` - get the Excalibur Tile instances and and any Tile metadata for a matching property. * Entity factories can now be defined after load, but before adding to the scene! This PR adds * [x] The ability to run entity factories after load * [x] Getting all Excalibur Tile instances that match a gid * [x] Getting all Excalibur Tile instances that match a class name * [x] Getting all Excalibur Tile instances that match a property
- Loading branch information
Showing
23 changed files
with
359 additions
and
85 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Release to NPM | ||
on: | ||
release: | ||
types: [published] | ||
|
||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/build.yml | ||
deploy_release: | ||
name: Publish npm package | ||
needs: [build] | ||
runs-on: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 100 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
registry-url: 'https://registry.npmjs.org' | ||
cache: npm | ||
- run: npm ci | ||
- run: npm run build | ||
- run: npm publish --access public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.