parsehex / incremental-forest

Chop down trees, sell logs and hire workers to chop more trees.
https://parsehex.github.io/incremental-forest/
MIT License
0 stars 0 forks source link

Player sprite overflowing tiles #10

Open parsehex opened 7 years ago

parsehex commented 7 years ago

Moving the player up against a solid tile (or world bounds) will make the player overlap the tile slightly.

parsehex commented 7 years ago

Could probably be fixed by take (bottom, right, top, left) coordinates into account for collision checking. Might make movement a little weird though.

parsehex commented 7 years ago

It's more noticeable now that trees have progress bars. If you're facing a tree above you, the progress bar is hidden by the player sprite.