use obstacle-in-path pathfinding

This commit is contained in:
2025-01-17 13:01:47 +09:00
parent 597aa204de
commit 20f8a2f1fe
7 changed files with 138 additions and 70 deletions
+10
View File
@@ -118,6 +118,16 @@ function laneScenario() {
}
}
game.logic = gameLogic
// const uBottomPoints = [
// midSouthWallPoints.at(0).clone().sub(midWallThickness),
// midSouthWallPoints.at(1).clone().sub(midWallThickness),
// midNorthWallPoints.at(-2).clone().add(midWallThickness),
// midNorthWallPoints.at(-1).clone().add(midWallThickness),
// ]
// const uBottom = new Terrain(uBottomPoints)
// uBottom.id = 'uBottom'
// game.addTerrain(uBottom)
}
app.listen(port, () => {