Skip to content

Fix: Tweaked road, water and air depots#255

Merged
zephyris merged 1 commit into
mainfrom
fix-229-depot-alignment
Jun 24, 2026
Merged

Fix: Tweaked road, water and air depots#255
zephyris merged 1 commit into
mainfrom
fix-229-depot-alignment

Conversation

@zephyris

Copy link
Copy Markdown
Contributor

Road and water depots, and airport hangars, had a slightly low offset. This made the water depot not fit well on canal tiles, road depots misaligned from road tiles, etc.

Tweak by lowering offset by one.

image

Fixes #229

@zephyris

Copy link
Copy Markdown
Contributor Author

I've just remembered an extra check I'd like to do - ideally I want to make the position of the source graphics relative to a reference tile in a graphics layer exactly the same as the position relative to the tile. So, might get a minor update!

@zephyris zephyris force-pushed the fix-229-depot-alignment branch from 6ad645f to d3d5b89 Compare June 24, 2026 08:56
@zephyris

Copy link
Copy Markdown
Contributor Author

Should be pixel-perfect now. Ship depots and airport hangars fill the whole tile, road depots aligned so that their position on the tile exactly matches the position of an imaginary reference tile in the sprite sheet.

@zephyris zephyris merged commit d4e8c40 into main Jun 24, 2026
1 check passed
@zephyris zephyris deleted the fix-229-depot-alignment branch June 24, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ship depots exceed canals

2 participants