提交新手引导

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-13 02:37:29 +08:00
parent ada44b2fd1
commit c519fae9a4
71 changed files with 4009 additions and 375 deletions

View File

@@ -39,7 +39,7 @@ export default class GAttackParabolicRemote implements GAttackBase{
return;
}
console.log(`播放动画[GAttackParabolicRemote]`,role.nId,enemy.nId)
// console.log(`播放动画[GAttackParabolicRemote]`,role.nId,enemy.nId)
console.log(role.spine,bone);
let bullet = GAttackBullet.create(GButtleDefault,{

View File

@@ -151,7 +151,7 @@ export abstract class GFSMAnimBase extends GFSMBase{
//播放动画
if(!info.track){
console.log(`${frame.index} 播放动画-${this.spine.getComponent(GObject).nId}-`,info);
// console.log(`${frame.index} 播放动画-${this.spine.getComponent(GObject).nId}-`,info);
info.track = this.spine.setAnimation(this.trackIndex,info.animName,!!info.isLoop);
this.onStartListener(info.track);
}

View File

@@ -120,7 +120,7 @@ export default class GRoleDefault extends GRoleBase<{}>{
//攻击
onAttack(){
if(!this.fsm.enemy) return;
console.log(`播放动画[${this.nId}] onAttack`,this.fsm.enemy.nId)
// console.log(`播放动画[${this.nId}] onAttack`,this.fsm.enemy.nId)
//敌人扣血
let info = TD.TbGRoleAttack.get(this.role.id);
(new GAttack[info.attackWay]()).attack(this,info);