Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow quickjump to buildings #23

Open
2 tasks
crykn opened this issue Apr 29, 2018 · 0 comments
Open
2 tasks

Allow quickjump to buildings #23

crykn opened this issue Apr 29, 2018 · 0 comments
Labels

Comments

@crykn
Copy link
Member

crykn commented Apr 29, 2018

Allow quickjumping/teleporting to important buildings.

Deatils

Add an InputListener to GameMapScreen that includes the following keybindings:

1 Teleport to the market
2 Teleport to the townhall

Tasks

  • Create key bindings and an InputListener; take a look at GameSpeedInputProcessor for orientation
  • Each keypress should teleport the player to the buildings, i.e. set their camera position. So there needs to be a way to calculate the cameras position from the building one's (BuildingSlot#getPosX(), BuildingSlot#getPosY()).
@crykn crykn changed the title Gebäude-Quickjump erlauben Allow quickjump to buildings Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant