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

Added gravity to the apples #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rafaelsierra
Copy link

While watching your talk, it really bothered me (in an "uncanny valley" way) that the apples were falling at a constant speed.

Since I was looking for something to start writing Rust, I thought that adding gravity to the apple fall would be a good start point :)

#6 commit is included here

* Updated source to reflect piston changes
* Used rustfmt to format source code
* Apples now falls with acceleration
* Apples are now thrown up and then falls down
* Apples are now drawn in front of the player
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 this pull request may close these issues.

1 participant