fix waypoints going out of bounds

This commit is contained in:
2025-01-10 23:47:58 +09:00
parent fe4dc8b8bc
commit f1c191f61f
3 changed files with 30 additions and 33 deletions
+2 -2
View File
@@ -115,9 +115,9 @@ app.listen(port, () => {
pole.id = 'pole'
game.add_terrain(pole)
entity1.moveAction(1000, 500)
// entity1.moveAction(1000, 500)
setTimeout(() => entity1.moveAction(100, 400), 10)
// setTimeout(() => entity1.moveAction(100, 400), 10)
game.start()
})