Favorite Tilesets

Create your freeciv related polls here. Select polls might get copied to other forums, such as freeciv twitter account.
Post Reply

What is your favorite tileset for freeciv?

Trident
1
14%
Amplio
4
57%
Cimpletoon
1
14%
3D (Freeciv web only)
1
14%
Other (custom)
0
No votes
 
Total votes: 7

Elefant
Hardened
Posts: 212
Joined: Sat May 28, 2022 3:55 am

Favorite Tilesets

Post by Elefant »

I was wondering what tilesets are preferred among the freeciv community. Please mark your favorites above. If other, please name your favorite below.
Civ 3 tileset: viewtopic.php?t=92953
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
cazfi
Elite
Posts: 3069
Joined: Tue Jan 29, 2013 6:54 pm

Re: Favorite Tilesets

Post by cazfi »

Was this intentionally for square based topologies only? Not that there's great many hex based tilesets beyond hexemplio (the default), toonhex, and alio (for alien ruleset), but hex is still the default topology in freeciv-3.0 and later.
Elefant
Hardened
Posts: 212
Joined: Sat May 28, 2022 3:55 am

Re: Favorite Tilesets

Post by Elefant »

It wasn't intentional, but as I only ever play with square tilesets, it was perhaps inevitable that I would overlook hex tilesets.
Civ 3 tileset: viewtopic.php?t=92953
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
cazfi
Elite
Posts: 3069
Joined: Tue Jan 29, 2013 6:54 pm

Re: Favorite Tilesets

Post by cazfi »

Elefant wrote: Sat Oct 08, 2022 1:26 pmI only ever play with square tilesets
Good to know. It's not long since I wondered if it was worth the time to implement a feature that makes difference only in square topologies (ability to check if a direction is cardinal or not in lua - all directions are cardinal in hex topologies)
nef
Elite
Posts: 324
Joined: Mon Jun 25, 2018 5:01 pm

Re: Favorite Tilesets

Post by nef »

cazfi wrote: Sat Oct 08, 2022 2:08 pm
Good to know. It's not long since I wondered if it was worth the time to implement a feature that makes difference only in square topologies (ability to check if a direction is cardinal or not in lua - all directions are cardinal in hex topologies)
Can already be done in Lua. No need for more hardcoded tolua.

Code: Select all

function cardinal(t1,t2)
  local dx, dy = math.abs(t1.x - t2.x), math.abs(t1.y - t2.y)
  return dx == 0 and dy == 1 or dy == 0 and dx == 1
end

cazfi
Elite
Posts: 3069
Joined: Tue Jan 29, 2013 6:54 pm

Re: Favorite Tilesets

Post by cazfi »

Can already be done in Lua. No need for more hardcoded tolua.

Code: Select all

function cardinal(t1,t2)
  local dx, dy = math.abs(t1.x - t2.x), math.abs(t1.y - t2.y)
  return dx == 0 and dy == 1 or dy == 0 and dx == 1
end
That checks if two tiles are cardinally adjacent, not if a direction is cardinal. While you can usually make such tiles out from a direction, that might get a bit hard in some cases (edge of the map). Not that discussing the need for the feature is that relevant any more; it was implemented a month ago (over five years after requested, so there was some time to discuss it) : https://forum.freeciv.org/f/viewtopic.p ... 4&start=29
Post Reply