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/2H.svg
Normal file
2
utility/assets/cards_svg/2H.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="#C00000" font-family="Arial, sans-serif" font-size="12.0pt" font-weight="bold" x="0" y="12.0">2</text><text fill="#C00000" font-size="10.0pt" x="0" y="22.0">H</text></g><g transform="translate(60.5,85.9) rotate(180)"><text fill="#C00000" font-family="Arial, sans-serif" font-size="12.0pt" font-weight="bold" x="0" y="12.0">2</text><text fill="#C00000" font-size="10.0pt" x="0" y="22.0">H</text></g><g transform="translate(31.75, 22.225)"><path d="M 0 1.05 C -3.5 -1.05, -3.5 -3.5, 0 -1.75 C 3.5 -3.5, 3.5 -1.05, 0 1.05" fill="#C00000" /></g><g transform="translate(31.75, 66.67500000000001)"><path d="M 0 1.05 C -3.5 -1.05, -3.5 -3.5, 0 -1.75 C 3.5 -3.5, 3.5 -1.05, 0 1.05" fill="#C00000" /></g></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user