Skip to content

Conversation

@wyqydsyq
Copy link

@wyqydsyq wyqydsyq commented Jan 5, 2020

Enables updating the camera externally (e.g. in response to your own keybindings, gyro input etc) like:

   camera.update({
      theta: state.player.position.r / 100,
      center: [state.player.position.x, 600, state.player.position.y],
    })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant