Skip to content

Prevent horizontal collision with other tiles #3

@krowter

Description

@krowter

Description

Just like when a tile stop moving vertically as it collides with another tile below it, a tile shouldn't be able to move through other tile in the horizontal direction.

Existing

Say there a wall of tiles in the middle of canvas. If user keeps pressing left, the currently active tile can go through the wall of tiles.

Expected

The currently active tile should stop moving to the left as soon as it collides other tile in the horizontal direction.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions