Navigation Menu

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 some randomness to the ball's vector #8

Closed
splieth opened this issue Oct 13, 2019 · 1 comment · Fixed by #19
Closed

Add some randomness to the ball's vector #8

splieth opened this issue Oct 13, 2019 · 1 comment · Fixed by #19

Comments

@splieth
Copy link
Owner

splieth commented Oct 13, 2019

When the ball hits a paddle, it's vector should be randomized in a reasonable way in order to create a more fancy flow in ze game

@splieth
Copy link
Owner Author

splieth commented Oct 14, 2019

The ball's direction is now influenced by the lastest movement of the paddle. Apparently the direction is persisted in the paddle. Maybe it should be cleared after a certain amount of time?

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

Successfully merging a pull request may close this issue.

1 participant