Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
设置精灵的尺寸事件:无条件,设置精灵的宽度=实例精灵的宽度*血量(血量是你设置的全局变量)/100
@落水桃子 谢谢
@tfgy 锚点位置要设置到最左边,如果锚点在中心宽度会向中心缩减
@落水桃子 血条不动
@tfgy 截屏给我看看你的事件表
@落水桃子 刚刚那个问题解决了,但是怎么让血条为0的时候不让他在继续扣
@tfgy 这里要用到三元运算符血量-伤害<0?0:血量-伤害意思是:将血量的值设置为:血量-伤害是否小于0,如果小于就返回一个0,如果不小于0就从血量-伤害注意动作要用设置变量值
@落水桃子 怎么有一部分是红色
@落水桃子 fff
@tfgy 符号要用英文的