Skip to content

Allow keyboard upgrade handle player rotation #112

@zyxkad

Description

@zyxkad

Describe your idea (If you have more than one idea, please open the rest in other issues)

We should add a method setHandlePlayerRotation(boolean) to keyboard upgrade.

When player rotate their character, the rotation will be canceled, instead, an event "player_rotate", xRotOffset, yRotOffset will fire.

This allows player to control their spaceships naturally (like what they can do in other games).

Describe alternatives you've considered if any

No response

Additional context

No response

Linked Issues

No response

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions