-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature/arcade input ui #42
Conversation
@@ -2,6 +2,7 @@ | |||
|
|||
// Game enums | |||
public enum Scenes { MainMenu = 0, Game, Ranking, Credits}; | |||
public enum ArcadeButtonGates { None, iz, zi, ih, hi, ix, xi, cz }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this time the game buttons are only for H & X gates, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes that is true but the buttons will be the same as Hello Quantum so i wanted to include them in the game in case we have a use for them
@boland25 I tested the game briefly and keyboard buttons are not responding. Is it possible to have both arcade button input and keyboard input at the same time? It would be useful for testing as we develop the game. |
yes it is possible. What buttons are you using that didn't work? I was able to use the keyboard buttons and they worked |
@boland25 I deleted this branch. Is that ok? Do you need this branch? |
no its ok to delete |
Added Arcade Input so and made the Start button work. Still need to hook up the X and H, but wanted to get the artwork in...
New Empty Gate graphic to match what the IBMQ Experience has. Also added in the text to identify each qubit that the player is changing with a gate.
I think this could use some help. I'm not so sure I'm happy with the layout.
Also, I am wondering if we should use something that looks more like the circuit composer?
thoughts? @HuangJunye @filemaster