dd 怪物开始重做
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user