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

Is there support for two player ? #31

Open
abcdsxg opened this issue Nov 20, 2017 · 1 comment
Open

Is there support for two player ? #31

abcdsxg opened this issue Nov 20, 2017 · 1 comment

Comments

@abcdsxg
Copy link

abcdsxg commented Nov 20, 2017

the controls only controll one player,how to set two kinds keys

@fogleman
Copy link
Owner

It works with joysticks.

If you want both players using the keyboard, you can try tweaking the code here:

https://github.com/fogleman/nes/blob/master/ui/util.go#L53-L64

https://github.com/fogleman/nes/blob/master/ui/gameview.go#L133-L140

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