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

Implement vertical chasing camera and controler #3

Closed
methusalah opened this issue Aug 18, 2015 · 2 comments
Closed

Implement vertical chasing camera and controler #3

methusalah opened this issue Aug 18, 2015 · 2 comments

Comments

@methusalah
Copy link
Owner

the camera will look at (0, 0, -1) and wil be chasing the player ship (with latency? sloping?)

The first control will be :

  • directional key for displacement (zqsd/wasd, arrows and controller's stick)
  • mouse for aiming (and controller's stick)
@meltzow
Copy link
Contributor

meltzow commented Aug 18, 2015

for mapping the keys please use something like a abstraction for the keys. In SC2 its possible to define a new "keyboard layout" and there you can redefine your keys. No more for moving, now its with the arrows.
For example like this: Define a new class named "SimpleKeyboardMapper" which must implement a methode named "void inject(ImputManager inputManager). if I understand correct: http://wiki.jmonkeyengine.org/doku.php/jme3:advanced:input_handling ,so other users can override the SimpleKeyboardMapper" (using the DI).

@methusalah
Copy link
Owner Author

Camera is op. its is not controlled by player in gamemode (only in editor mode), but only folowing the ship, which is controlled by player.

methusalah added a commit that referenced this issue Nov 30, 2016
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

No branches or pull requests

2 participants