add 3D casting indicator

This commit is contained in:
2025-01-18 21:02:04 +09:00
parent 7824ba976b
commit 0b949683a6
3 changed files with 35 additions and 22 deletions
-12
View File
@@ -123,18 +123,6 @@ function laneScenario() {
}
}
game.logic = gameLogic
// player2.teleport(new Vector2(100, 100))
// player2.logic = function patrolLogic() {
// const entity = this
// if (entity.position.x < 100) { entity.memory.patrolReverse = false }
// if (entity.position.x > 1900) { entity.memory.patrolReverse = true }
// const goal = entity.memory.patrolReverse ? new Vector2(50, 100) : new Vector2(1950, 100)
// entity.moveAction(goal)
// }
// player1.abilities[0] = 'melee_attack'
}
app.listen(port, () => {