Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. message = ""
  2.  
  3. def setup():
  4. size(400,500)
  5. textSize(40)
  6.  
  7. def draw():
  8. background(85, 5, 125)
  9. fill(250, 250, 200)
  10. rect(40, 150, 320, 20)
  11. rect(100, 110, 75, 40)
  12. rect(225, 110, 75, 40)
  13. rect(50, 100, 50, 50)
  14. rect(175, 100, 50, 50)
  15. rect(300, 100, 50, 50)
  16. rect(50, 170, 300, 280)
  17. fill(10, 220, 190)
  18. rect(75, 190, 40, 80)
  19. rect(145, 190, 40, 80)
  20. rect(215, 190, 40, 80)
  21. rect(285, 190, 40, 80)
  22. rect(75, 320, 40, 80)
  23. rect(285, 320, 40, 80)
  24. fill(110, 70, 70)
  25. rect(160, 300, 80, 150)
  26. fill(250, 250, 200)
  27. rect(150, 430, 100, 10)
  28. rect(140, 440, 120, 10)
  29. fill(255, 255, 255)
  30. text("message", 60, 70)
  31.  
  32. def mouseClicked():
  33. global message
  34. message = ("Congratulations!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement