feat: 添加出牌动画和牌型排序显示
- 修复 AI decide 方法参数类型为 Array[Card] - 添加 cards_played 和 player_passed 信号 - 出牌时在桌面中央显示排序后的卡牌 - 过牌时清除桌面牌 - 添加延迟动画效果(0.8秒显示,0.5秒清除) - 添加 TableLabel 作为出牌显示区域 - 出牌按 rank 排序显示 🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
2
utility/assets/cards_svg/9S.svg
Normal file
2
utility/assets/cards_svg/9S.svg
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<svg baseProfile="tiny" height="88.9mm" version="1.2" viewBox="0,0,63.5,88.9" width="63.5mm" xmlns="http://www.w3.org/2000/svg" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xlink="http://www.w3.org/1999/xlink"><defs /><rect fill="none" height="88.9" rx="8" ry="8" stroke="#333333" stroke-width="0.5" width="63.5" x="0" y="0" /><g transform="translate(3,3) rotate(0)"><text fill="#000000" font-family="Arial, sans-serif" font-size="12.0pt" font-weight="bold" x="0" y="12.0">9</text><text fill="#000000" font-size="10.0pt" x="0" y="22.0">S</text></g><g transform="translate(60.5,85.9) rotate(180)"><text fill="#000000" font-family="Arial, sans-serif" font-size="12.0pt" font-weight="bold" x="0" y="12.0">9</text><text fill="#000000" font-size="10.0pt" x="0" y="22.0">S</text></g><g transform="translate(15.875, 10.668000000000001)"><path d="M 0 -3.5 C -3.5 0, -3.5 2.1, 0 1.05 C 3.5 2.1, 3.5 0, 0 -3.5" fill="#000000" /><rect fill="#000000" height="2.45" width="0.7" x="-0.35" y="1.05" /></g><g transform="translate(31.75, 10.668000000000001)"><path d="M 0 -3.5 C -3.5 0, -3.5 2.1, 0 1.05 C 3.5 2.1, 3.5 0, 0 -3.5" fill="#000000" /><rect fill="#000000" height="2.45" width="0.7" x="-0.35" y="1.05" /></g><g transform="translate(47.625, 10.668000000000001)"><path d="M 0 -3.5 C -3.5 0, -3.5 2.1, 0 1.05 C 3.5 2.1, 3.5 0, 0 -3.5" fill="#000000" /><rect fill="#000000" height="2.45" width="0.7" x="-0.35" y="1.05" /></g><g transform="translate(15.875, 31.115)"><path d="M 0 -3.5 C -3.5 0, -3.5 2.1, 0 1.05 C 3.5 2.1, 3.5 0, 0 -3.5" fill="#000000" /><rect fill="#000000" height="2.45" width="0.7" x="-0.35" y="1.05" /></g><g transform="translate(31.75, 31.115)"><path d="M 0 -3.5 C -3.5 0, -3.5 2.1, 0 1.05 C 3.5 2.1, 3.5 0, 0 -3.5" fill="#000000" /><rect fill="#000000" height="2.45" width="0.7" x="-0.35" y="1.05" /></g><g transform="translate(47.625, 31.115)"><path d="M 0 -3.5 C -3.5 0, -3.5 2.1, 0 1.05 C 3.5 2.1, 3.5 0, 0 -3.5" fill="#000000" /><rect fill="#000000" height="2.45" width="0.7" x="-0.35" y="1.05" /></g><g transform="translate(15.875, 57.785000000000004)"><path d="M 0 -3.5 C -3.5 0, -3.5 2.1, 0 1.05 C 3.5 2.1, 3.5 0, 0 -3.5" fill="#000000" /><rect fill="#000000" height="2.45" width="0.7" x="-0.35" y="1.05" /></g><g transform="translate(31.75, 57.785000000000004)"><path d="M 0 -3.5 C -3.5 0, -3.5 2.1, 0 1.05 C 3.5 2.1, 3.5 0, 0 -3.5" fill="#000000" /><rect fill="#000000" height="2.45" width="0.7" x="-0.35" y="1.05" /></g><g transform="translate(47.625, 57.785000000000004)"><path d="M 0 -3.5 C -3.5 0, -3.5 2.1, 0 1.05 C 3.5 2.1, 3.5 0, 0 -3.5" fill="#000000" /><rect fill="#000000" height="2.45" width="0.7" x="-0.35" y="1.05" /></g></svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
Reference in New Issue
Block a user