LiamMcKenzie / ScaredKrow

ScaredKrow is a game made for the third year "ID737001 Game Development" paper at Otago Polytechnic
MIT License
1 stars 2 forks source link

Crow spawning adjusted to game boundary #30

Closed DevonHenderson closed 4 months ago

DevonHenderson commented 4 months ago

Description

Very simple PR to fix an issue that was found during the Games Showcase. This modifies the code calculation for Crow Z position to more closely match the maximum playable range of the player. New min/max positions will at least have the crow over the boundary fence, meaning that the crow shadow now covers all playable tile space.

Branch: Devon/Crow-Boundary-Fix

Resolves Issue:

Crow at right boundary: crow1

Crow at left boundary: crow 2