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

Add in-game controls help #2

Open
1shevelov opened this issue Jan 15, 2021 · 5 comments
Open

Add in-game controls help #2

1shevelov opened this issue Jan 15, 2021 · 5 comments

Comments

@1shevelov
Copy link

at the start of a match.
W,A,S,D and UP, LEFT, DOWN, RIGHT to move,
C to pick up weapon for left player...
Which button is to use a weapon? What else can player do?

@erlend-sh
Copy link
Contributor

V to shoot. That's all the player can do.

@mofirouz mofirouz mentioned this issue Jan 15, 2021
@1shevelov
Copy link
Author

@erlend-sh and for the second player? I think it's still worth mentioning so that users new that there is nothing else

@dsnopek
Copy link
Contributor

dsnopek commented Jan 15, 2021

For the second player in "Local" mode, you can use a gamepad, of course, but on the keyboard it's:

  • Arrow keys for movement
  • L to pickup/throw
  • ; to use weapon

When playing online, every player has the first player controls mentioned above (or gamepad).

@dsnopek
Copy link
Contributor

dsnopek commented Jan 17, 2021

The controls have been added to the README.md per #1.

For a live game, having the controls in-game is a must, but I'm not sure we need to do that for a demo/tutorial. I'll leave this open for now, in any case.

@mojoyup1528
Copy link

Im curious how we would actually implement mouse movement for separate cameras or something. The input_buffer is strictly for input actions where mouse events for motion are not available to add as they are not buttons. So when we update the input buffer on the player, could we pass mouse movement separately in the rpc and how would that allow players to not move others with mouse movements?

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

4 participants