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

More new features and overloads to tilemaps #3189

Merged
merged 4 commits into from
Jun 15, 2024

Conversation

Geokureli
Copy link
Member

@Geokureli Geokureli commented Jun 15, 2024

  • New helpers getColumnPos, getRowPos, getColumnPosAt, getRowPosAt, getTilePos, getTilePosAt, getAllTilePos, forEachMapIndex, getMapIndexAt, tileExistsAt, columnExistsAt, rowExistsAt, getTileIndexAt, getTileDataAt and setTileIndexAt
  • New overloads with worldPos arg in getMapIndex, tileExists, getTileIndex, getTileData and setTileIndex
  • deprecate getTileCoordsByIndex, getTileIndexByCoords and getTileCoords
  • Fixes to getColumnAt and getRowAt to account for map position
  • unit tests for all mentioned above

@Geokureli Geokureli changed the title More new features and overloads More new features and overloads to tilemaps Jun 15, 2024
@Geokureli Geokureli merged commit 56aa451 into HaxeFlixel:dev Jun 15, 2024
11 checks passed
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