Skip to content

Fix levelGridVania size#92

Merged
jobe-m merged 2 commits intomainfrom
feature/Fix-wrong-levelGridVania-size-on-init
Mar 27, 2026
Merged

Fix levelGridVania size#92
jobe-m merged 2 commits intomainfrom
feature/Fix-wrong-levelGridVania-size-on-init

Conversation

@jobe-m
Copy link
Copy Markdown
Member

@jobe-m jobe-m commented Mar 27, 2026

Size of levelGridVania was wrongly calculated.

Size of levelGridVania was wrongly calculated.
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Mar 27, 2026

🤖 Augment PR Summary

Summary: Fixes incorrect levelGridVania sizing by distinguishing GridVania chunk dimensions from per-chunk tile dimensions.

Changes:

  • Extend WorldMapData.init to accept and store gridVaniaWidth/Height
  • Allocate levelGridVania using GridVania chunk counts instead of chunk tile sizes
  • Update CommonChunkInfo docs and pass the new dimensions from AssetLoader

Technical Notes: World pixel size remains computed as chunks * tilesPerChunk * tileSize.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@jobe-m jobe-m merged commit de5b17e into main Mar 27, 2026
1 check passed
@jobe-m jobe-m deleted the feature/Fix-wrong-levelGridVania-size-on-init branch March 27, 2026 22:38
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