-
Notifications
You must be signed in to change notification settings - Fork 5
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
Draft updates to use py5 in first python path #122
base: main
Are you sure you want to change the base?
Draft updates to use py5 in first python path #122
Conversation
6d11c68
to
5cb8ca7
Compare
shoot_arrow() | ||
|
||
# Keep this to run your code | ||
run(frame_rate=2) |
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.
Need to add py5.frame_rate(2)
at the start of setup
to make up for this
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.
Yup, good spot, just done
py5.fill('sienna') # Set the arrow fill colour to brown | ||
py5.circle(arrow_x, arrow_y, 15) # Draw a small circle at random coordinates | ||
|
||
def settings(): |
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.
I think this can go back in setup
now?
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.
Good point, just done
3402c22
to
55098b4
Compare
4bb4ea5
to
65c1b13
Compare
closes #118