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

New Features per User Feedback #485

Merged
merged 18 commits into from
Jan 24, 2024
Merged

Conversation

eonarheim
Copy link
Member

@eonarheim eonarheim commented Jan 12, 2024

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

  • The ability to run entity factories after load
  • Getting all Excalibur Tile instances that match a gid
  • Getting all Excalibur Tile instances that match a class name
  • Getting all Excalibur Tile instances that match a property

@eonarheim eonarheim merged commit 2bd697f into main Jan 24, 2024
2 checks passed
@eonarheim eonarheim deleted the feat/new-features-per-feedback branch January 24, 2024 02:43
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