Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Support for non-square tiles #13039

Open
2 tasks done
Katnjia opened this issue Mar 6, 2025 · 0 comments
Open
2 tasks done

Feature request: Support for non-square tiles #13039

Katnjia opened this issue Mar 6, 2025 · 0 comments
Labels

Comments

@Katnjia
Copy link

Katnjia commented Mar 6, 2025

Before creating

  • This is NOT a gameplay feature from Civ VI, BNW, or outside - see Roadmap
  • This is NOT a gameplay feature from Vanilla Civ V or from G&K - If so, it should be a comment in Missing features from Civ V - G&K #4697

Problem Description

Per hackedpassword's comment, making this a feature request

Support for non-square tiles

Currently Unciv doesn't support non-square tiles. This is an issue if you wish to create tilesets that use other projections such as isometric, where x,y ratio isn't perfectly square.

Image

Image
(With Grassland tiles filled in. The textures are centered to fit a square tile, and doesn't tile as expected)

Image
(96x48 tile example)

Related Issue Links

No response

Desired Solution

Implement something like tileSizetX and tileSizeY in TileSetConfig to allow modders to define a tile's x,y dimensions.

Alternative Approaches

In FreeCiv, tiles uses image masks to define a tiles dimension, as well as what edges correspond to which dimension.

Image
(FreeCiv "hex" tileset. FreeCiv also has a dither mask that's outside of the scope of this feature request)

Image
(FreeCiv standard isometric tileset)

Image
(Mockup for hex tile)

Implementing something similar would take that feature further, and could allow modders to get really funky with tilesets.

Additional Context

No response

@Katnjia Katnjia added the feature label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant