This commit is contained in:
2024-09-02 14:43:03 +08:00
parent ede4d06d0d
commit 83bd06334f
7 changed files with 826 additions and 820 deletions

View File

@@ -81,11 +81,11 @@ export class MapMonsterComp extends CCComp {
switch (x) {
case 1:
monster_layer = scene.entityLayer1!.node!;
pos.y=pos.y+200;
pos.y=pos.y+100;
break;
case 2:
monster_layer= scene.entityLayer2!.node!;
pos.y=pos.y+100;
pos.y=pos.y-100;
default:
break;
}