Slay the Spire

Slay the Spire

56 ratings
STS Signature Lib
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
279.453 KB
Feb 23 @ 6:46pm
May 19 @ 2:36am
19 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
22 Comments
Chiyuki May 21 @ 11:23am 
啊,原来克图格亚不需要这个mod前置,sorry
Chiyuki May 21 @ 9:59am 
更新之后,克图格亚mod用异画会闪退
antileaf  [author] May 13 @ 3:27am 
@我梦之智 可以看 github 的 readme,不过目前文档写的有点烂…我近期写一下文档
我梦之智 May 12 @ 8:34pm 
小白很喜欢这种卡图,但java苦手,主要编写哪些文件呢,目前看了example的,只知道cards文件夹和resources文件夹要修改,呜有更详细的说明介绍咩QAQ
antileaf  [author] May 12 @ 2:13pm 
@诗音 感谢反馈,之前没测试过触屏模式,后续会兼容一下
诗音 May 12 @ 12:59am 
能不能兼容下触屏模式,加了这个mod以后即使点击的位置是卡牌也会直接关闭卡牌详情界面
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: