mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
feat(角色): 添加角色生成时的行走动画
在Chick角色和EntityBase基类中添加spawn方法,用于在角色生成时播放行走动画
This commit is contained in:
@@ -11,6 +11,8 @@ func register():
|
||||
attackCooldownMap[0] = 2000
|
||||
attackCooldownMap[1] = 6000
|
||||
attackCooldownMap[2] = 100
|
||||
func spawn():
|
||||
texture.play("walk")
|
||||
|
||||
func ai():
|
||||
move(currentFocusedBoss.position - position)
|
||||
|
||||
Reference in New Issue
Block a user