UoB-COMSM0110 / 2024-group-3

0 stars 1 forks source link

Fix bug: consumables go out of bounds of map #55

Closed chriskerrc closed 3 months ago

chriskerrc commented 3 months ago

Image

chriskerrc commented 3 months ago

The melon and the plus powerup shape sometimes appear half off the side of the screen.

chriskerrc commented 3 months ago

This seems to still be broken. I saw the powerup overlap with the scoreboard and see this screenshot (goes off side of screen).

Image

chriskerrc commented 3 months ago

Overlap of powerup with the scoreboard. Maybe this bug only affects powerups, not food?

Image

chriskerrc commented 3 months ago

I've increased the offset, and started many game sessions, and this seems to be fixed. However, I found another bug, where the top cell of the powerup occasionally overlaps with a wall.

Image Image

chriskerrc commented 3 months ago

The overlap of consumables with walls should be fixed by this commit: https://github.com/UoB-COMSM0110/2024-group-3/pull/50/commits/15ffb7b7b4deea0205fac937e5fac1cbb49472aa