dd 怪物开始重做

This commit is contained in:
2025-07-13 17:31:11 +08:00
parent ffc51c10a3
commit c6b017d5fe
65 changed files with 9326 additions and 5131 deletions

View File

@@ -132,8 +132,7 @@ export class HeroViewComp extends CCComp {
this.node.setScale(this.scale,1);
this.node.getChildByName("top").setScale(this.scale,1);
if(this.is_boss){
this.node.setScale(this.node.scale.x*1.5,this.node.scale.y*1.5);
this.node.getChildByName("top").getChildByName("sboss").active = true;
this.node.getChildByName("top").position=v3(this.node.position.x,this.node.position.y+100,0)
}
/* 显示角色血量 */
this.node.getChildByName("top").getChildByName("hp").active = true;