KOBUGE-Games / project-kumquat

Repo for Kobuge's 1st hackathon game (a tower defense) - name subject to imminent change
GNU General Public License v3.0
48 stars 9 forks source link

Towers are placed with an offset #18

Closed fry- closed 8 years ago

fry- commented 8 years ago

screenshot Left shows the way it should be, and right shows how it is currently.

The towers are placed 8 px too much to the south. I think this results from the tower sprites being centered, and since they are 32x48 px in size, there is an 16/2 = 8 px unwanted misplacement in y-direction. It should be fixed by manually choosing the correct anchor point of the sprite (define offset).

fry- commented 8 years ago

Fixed by https://github.com/KOBUGE-Games/project-kumquat/commit/1ebaadf433cb9bb663f7b849494db8de12e76548