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

Game seizes keyboard control #1

Closed
christhekeele opened this issue Mar 18, 2014 · 8 comments
Closed

Game seizes keyboard control #1

christhekeele opened this issue Mar 18, 2014 · 8 comments

Comments

@christhekeele
Copy link

Once I'm in the game, it captures all keyboard input. I can pull up the command palette, but I can't type into it (namely, to toggle the game off). That means no boss-is-coming mode!

@void-main
Copy link
Owner

Currently, you can use the toggle command (ctrl-alt-a) to close the game, and all buttons will be back, but, yes, the process will lose. You've made the point here, there should be a boss-coming mode!

@christhekeele
Copy link
Author

Phew, just in time! ;)

Agree it'd be nice if the command palette worked normally, the shortcut to toggle were displayed in-game, or there was a special boss mode. Any would be nice, and persisting the game in between would be sweet!

@void-main
Copy link
Owner

LOL, ok, I'll work on these issues, don't forget to watch the repo to get notified! ;P

@void-main
Copy link
Owner

Hey @christhekeele , checkout the new version, and try out the boss-is-coming mode! While playing, simple hit b to hide the view, and use ctrl-alt-b to bring up the view again!

@christhekeele
Copy link
Author

Oddly enough, the initially the update seems to exacerbate the issue: launching 2048 from the command palette shows the game, but 1) the game doesn't seem to 'launch' correctly—no initial squares are visible on the game board, and 2) any 'special' interaction from the keyboard—mod keys, arrow keys, etc—delegate to the editor, so I can move my cursor through the underlying file, open the command palette, and so forth—but all my normal alphanumeric keys affect neither the underlying file, the palette, nor the game board.

However for any future issuer submitters, restarting Atom shows that the dismissal keys (ctrl-alt-a), the ingame 'boss mode' key (b), and the 'boss mode retrieval' shortcut (ctrl-alt-b) work gloriously.

Goodbye, work week!

@void-main
Copy link
Owner

That's odd, I haven't experienced the first situation, let me take a look... Thanks for the issue! :shipit:

@christhekeele
Copy link
Author

Pretty sure it only occurs if updating without restarting Atom... A lot of in-development plugins I've been using for Atom exhibit odd behaviour if the entire app isn't restarted after an update.

I wouldn't worry about it. The plugin ecosystem is still fresh, I'm confident that if plugin updates don't properly reload themselves, the fault isn't necessarily with the developer. Whether or not restarting the editor is necessary during updates is very much out of your control.

Thanks for the support! If your life isn't already beleaguered by 2048, I highly recommend the 3D and 4D versions.

(And by highly recommend I mean do you really hate yourself that much?)

@void-main
Copy link
Owner

LOL, well, life is short, I'd rather not ruin my brain by playing the 3d or 4d version! Thanks chris!

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