add 3D casting indicator
This commit is contained in:
@@ -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, () => {
|
||||
|
||||
Reference in New Issue
Block a user