Skip to content

feat(tilemap): batch compatible layers with DrawAtlas - #2465

Open
houko wants to merge 2 commits into
mainfrom
fix/tilemap-atlas-1621
Open

houko wants to merge 2 commits into
mainfrom
fix/tilemap-atlas-1621

Conversation

@houko

@houko houko commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add opt-in Tilemap.SetAtlasBatching for compatible plain tiles
  • batch orthogonal, projected and chunked layers into DrawAtlas runs while preserving legacy ordering by default
  • keep tinted, flipped and animated tiles on compatible existing paths
  • add coverage for batching, flushing, opacity, animation, projection, chunking and rendered equivalence

Replaces the superseded #2198 implementation for #1621.

Verification

  • go tool nsgo test ./pkg/tilemap
  • go tool nsgo check -target linux_x64 ./pkg/tilemap
  • go run ./tools/changelog check
  • bun run verify-notes
  • git diff --check

@github-actions github-actions Bot added size/M enhancement New feature or request documentation Improvements or additions to documentation pkg/tilemap area/agents and removed enhancement New feature or request labels Nov 29, 2026
@houko
houko force-pushed the fix/tilemap-atlas-1621 branch 2 times, most recently from 0a77ad3 to 1e78b0f Compare November 29, 2026 13:51
@houko
houko force-pushed the fix/tilemap-atlas-1621 branch from 1e78b0f to ba9ea60 Compare November 29, 2026 16:16

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/agents area/tools documentation Improvements or additions to documentation enhancement New feature or request pkg/tilemap size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant