Skip to content

Instantly share code, notes, and snippets.

@Glench Glench/sad.py
Last active Apr 11, 2019

Embed
What would you like to do?
import play
@play.when_any_key_pressed
def do(key):
text = play.new_text(':(', y=play.screen.bottom)
text.start_physics(x_speed=play.random_number(-20,20), y_speed=100, bounciness=.3)
play.start_program()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.