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

[Feature] Moving starting point (e.g. using arrow keys) #11

Open
artginzburg opened this issue Jan 11, 2022 · 1 comment
Open

[Feature] Moving starting point (e.g. using arrow keys) #11

artginzburg opened this issue Jan 11, 2022 · 1 comment

Comments

@artginzburg
Copy link

I was just a bit confused when I found out that pressing any key casts a new confetti, but pressing arrow keys doesn't do anything different from any other key.

I'd intuitively expect arrow keys to move the confettis in any direction. Or at least left/right, which would be even more expectable from fireworks since they're launched from bottom to top. By the way, moving fireworks horizontally "mid-air" just sounds dynamic and cool.

I have not tried to implement this myself (yet?), but since fireworks are launched from a random point that is (!) available on the screen, and the confettis are centered relative to the screen, I take it as not too hard of a task.

P.S. The confettis remind me of cmatrix

@artginzburg artginzburg changed the title [Feature] Dynamic starting point (e.g. using arrow keys) [Feature] Moving starting point (e.g. using arrow keys) Jan 11, 2022
@maaslalani
Copy link
Owner

This is a great idea to make confetty more interactive!

Perhaps we can add a space-invader type shooter mode where you control the fireworks being launched through a launcher that you can move launch and then choose to explode on the screen 😄

Thank you for the idea!

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