examples

follow-line.js

1
2
3
4
5
6
7
8
player = display.line(
  display.center.x, 630,
  display.center.x, 530
)

update(() => {
  player.pointTo(input)
})