SlayTheSpire2ModdingTutorials/docs/04-add-new-character/ #8
Replies: 15 comments 33 replies
-
|
想问下创建人物那里,namespace还是用自己那个吗?我用自己的会显示58-60行那几个xxxmodel没找到命名空间,要加什么额外的引用吗? |
Beta Was this translation helpful? Give feedback.
-
|
Godot教程教了单独AnimatedSprite2D或者Sprite2D+AnimationPlayer的用法 但是两种办法全都会角色卡在第一帧 |
Beta Was this translation helpful? Give feedback.
-
|
有个事情补充一下可能有帮助:这个游戏默认的UI的窗口大小是19201080,这个设置对做角色背景以及地图背景等很有用,用于确认屏幕中心。如果自己要设置的话就是在“项目设置 -> 显示 -> 窗口”里面。然后新建用户页面节点的时候就能看到提示框了。 |
Beta Was this translation helpful? Give feedback.
-
|
REME佬😘我有一个问题,我前两天做了个人物mod,用BaseLib0.1.3和0.1.6两个版本都很正常,但是换到0.1.7以后的版本,我的mod人物就不显示了😫😫😫 |
Beta Was this translation helpful? Give feedback.
-
|
现在人物的能量表盘不用自己继承类了,最近的提交中可以直接生效了 |
Beta Was this translation helpful? Give feedback.
-
|
reme佬,我照着抄了一遍结果始终加载不了文本,也进不了战斗(进入战斗场景人和怪物都是空的)报错日志喂给ai和我说是baselib不读取自定义的,而是读的默认路径=( |
Beta Was this translation helpful? Give feedback.
-
|
大佬,问下创建人物那里的代码是要重新开个cs文件写吗 |
Beta Was this translation helpful? Give feedback.
-
|
大佬,想问下创建人物之后,导出的东西也没报错,但是在游戏里面只是多出来一个铁甲战士的选择,选不了自创人物,但是原创的遗物和卡牌都在,而且本地化不知道为什么消失不显示了,之前导入进去的卡图也没了,是baselib更新的原因吗TT |
Beta Was this translation helpful? Give feedback.
-
|
佬,问下为什么进入战斗获得初始能量后就卡住了,连牌都没抽,什么都干不了 |
Beta Was this translation helpful? Give feedback.
-
|
大佬,想问下左上角的角色头像图怎么替换(默认是铁甲战士的),还有那个角色卡牌左上角能量只有数字没有背景,这个该怎么加上 |
Beta Was this translation helpful? Give feedback.
-
|
这个自定义商店模型如果用的是静态图,脚本该怎么写呀,每次进商店就黑屏,但是移动鼠标还有交互声音 |
Beta Was this translation helpful? Give feedback.
-
|
大佬,我基本都按照你的攻略来,但是选择我的角色开始游戏后,模型和卡牌都是战士哥。是因为我只写了一张卡、没有写遗物导致的吗 |
Beta Was this translation helpful? Give feedback.
-
|
reme佬,想问一下在不加其他内容的情况下池子类的前置是不是只要这两条就好 |
Beta Was this translation helpful? Give feedback.
-
|
佬,自定义能量表盘挂上去之后,选新人物进战斗会卡在抽牌阶段是什么原因啊 |
Beta Was this translation helpful? Give feedback.
-
|
佬,请问我给角色用AnimatedSprite2D添加单张的动画后,确保在spriteframs中每个动画的名称都和上面一致,并且动画循环已关闭,但是游戏播放完攻击动画(包括其他的)不会自动切换到待机动画,并且死亡动画也不会触发,同时在先古之民对话的时候和地图界面放弃也不会正常出现战败,这是咋回事 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
SlayTheSpire2ModdingTutorials/docs/04-add-new-character/
https://glitchedreme.github.io/SlayTheSpire2ModdingTutorials/docs/04-add-new-character/
Beta Was this translation helpful? Give feedback.
All reactions