drwhut / tabletop-club

An open-source platform for playing tabletop games in a physics-based 3D environment for Windows, macOS, and Linux! Made with the Godot Engine.
https://tabletopclub.net
MIT License
1.26k stars 51 forks source link

Add “Tiles” similar to “Cards” #172

Closed GrimPixel closed 1 year ago

GrimPixel commented 1 year ago

In games like mahjong, tiles need to be stacked and aligned. It's not for mahjong solitaire, but mahjong proper.

youkaicountry commented 1 year ago

Cube tokens can be used for this purpose. The scale parameter can be used to set any 3d rectangular shape, each side can be textured, and they stack like cards.

GrimPixel commented 1 year ago

It feels strange to find them in “Tokens”, especially when tokens in Japanese mahjong are also there. Mahjong tiles need to be stacked both horizontally and vertically, and be able to shuffle across multiple stacks.

drwhut commented 1 year ago

As mentioned above, cube tokens are a better fit for mahjong tiles than cards are.

Placing the tiles next to each other on the table is a good workaround for not being able to stack them horizontally.