Skip to content

platform: Warn if TileSet doesn't have expected tiles#85

Open
wjt wants to merge 1 commit intomainfrom
wjt/platform-warn-if-tileset-doesnt-have-expected-tiles
Open

platform: Warn if TileSet doesn't have expected tiles#85
wjt wants to merge 1 commit intomainfrom
wjt/platform-warn-if-tileset-doesnt-have-expected-tiles

Conversation

@wjt
Copy link
Member

@wjt wjt commented Mar 12, 2026

No description provided.

@wjt wjt requested a review from a team as a code owner March 12, 2026 10:29
@github-actions
Copy link

Play this branch at https://endlessm.github.io/moddable-platformer/branches/endlessm/wjt/platform-warn-if-tileset-doesnt-have-expected-tiles.

(This launches the game from the start, not directly at the change(s) in this pull request.)

Comment on lines +7 to +11
const FRAME_COORDS_ONE_WAY_LEFT := Vector2i(5, 0)
const FRAME_COORDS_ONE_WAY_MIDDLE := Vector2i(6, 0)
const FRAME_COORDS_ONE_WAY_RIGHT := Vector2i(7, 0)
const FRAME_COORDS_ONE_WAY_SINGLE := Vector2i(8, 0)
const FRAME_COORDS_SOLID := Vector2i(10, 1)
Copy link
Member Author

Choose a reason for hiding this comment

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

Probably overengineering but my other idea here was to turn these into properties that can be adjusted, and add a read-only, not-stored property for each texture that shows a preview.

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