fix waypoints going out of bounds
This commit is contained in:
+2
-2
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user