Slay the Spire

Slay the Spire

42 ratings
STS Signature Lib
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
254.442 KB
Feb 23 @ 6:46pm
May 2 @ 3:26am
15 Change Notes ( view )

Subscribe to download
STS Signature Lib

Description
A simple library, allowing you to add cool Signature cards for your mode or the original game.
You can switch from Signature or original appearance in single card view tab.
("Signature" comes from Hearthstone.)

Shortly speaking, Signature cards are cards with no background, but a full-width card image.
For the sake of aesthetics, descriptions of Signature cards are usually hidden. They are shown only when hovered or selecting cards, or other operations.

Detailed usage can be seen in Github Repo: https://github.com/antileaf/SignatureLib

There is also an example mod: https://steamcommunity.com/sharedfiles/filedetails/?id=3433328295

By the way, if you don't want to add this mod to dependencies, you can just pack all code into your mode.
It is not advised to pack directly to the root directory though, as overriding packages with same names will likely to cause problems.
Popular Discussions View All (1)
2
Feb 24 @ 11:32am
Reports
antileaf
16 Comments
antileaf  [author] Mar 25 @ 10:40pm 
@血月の流洪 呃,示例 mod 只是展示渲染效果用的,想打牌试试可以看看克图格亚,里面内置了异画库
血月の流洪 Mar 21 @ 10:26am 
请问一下作者大佬能不能做些能用的卡 现在做的这些卡也没啥用啊QWQ
antileaf  [author] Mar 9 @ 6:54am 
@Et Omnia Vanitas 按理说没有严格的尺寸要求,如果你想和其他牌保持一致的话可以用和普通卡底一样形状的蒙版
Et Omnia Vanitas Mar 9 @ 3:06am 
感谢作者大大!个人非常想加一些自己喜欢的异画进来,想请问一下,作者是如何处理卡图的呢?对于512*512和1024*1024的异画卡图,除透明背景外,居中的主图部分有相应的尺寸要求吗?因为要加的卡图太多...想要先问清楚:yurie:
antileaf  [author] Mar 1 @ 2:41am 
@jzzzzz 有道理,后续我会更新一下,允许显示边框
antileaf  [author] Mar 1 @ 2:40am 
@benthebanjo It's possible to register custom signatures for original cards. If not registered, original cards will keep unchanged.
jzzzzz Feb 28 @ 12:14pm 
有没有有边框的版本供对比?或许可以对质感和美观度进行一下取舍:steamthumbsup:
benthebanjo Feb 27 @ 9:39am 
Does this give signature art for the base characters?
hyo Feb 27 @ 3:02am 
很棒
antileaf  [author] Feb 25 @ 1:40am 
@Chaofan 嗷,学到了