Advertisement
xFazz

challenge1 Vers2

Oct 18th, 2020
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. What are the stages to reach minimum status for all 3 levels?
  2. Draw line sets (1 vertical, 2 horizontal)
  3. Draw shapes at each level (top, middle, bottom)
  4. Draw border along screen
  5. Make functions for each
  6. Add image
  7.  
  8. Increasing functionality
  9. Add ETC measures
  10. Create variable for offset function
  11. In all line and shape arguments, allow for modularity by using width and height variables
  12.  
  13. Test various sizes
  14.  
  15. PLANNING
  16.  
  17. 1. Draw lines
  18.  
  19. 3 sets of 3 lines each, for 9 lines
  20. Each set has an upper, lower, and central line
  21.  
  22. Horizontal set:
  23. central: start 0, 250, end 500, 250
  24. upper: start 0, 275, end 500, 275
  25. lower: start 0, 225, end 500, 225
  26.  
  27. First vertical (left side)
  28. central: start 125, 0, end 125, 500
  29. upper: start 150, 0, end 150, 500
  30. lower: start 100, 0, end 100, 500
  31.  
  32. Second vertical (right side)
  33. central: start 375, 0, end 375, 500
  34. upper: start 400, 0, end 400, 500
  35. lower: start 350, 0, end 350, 500
  36.  
  37.  
  38. 2. Draw shapes
  39. rectMode(CORNER)
  40. Top
  41. First rectangle (left)
  42. (0, 0, 100, 25)
  43. (0, 0, ((width/4) - offsetValue), offsetValue)
  44. Second rectangle (right)
  45. (400, 0, 100, 25)
  46. rectMode(CORNERS)
  47. Middle
  48. First rectangle (left)
  49. (75, 225, 200, 275)
  50. Second rectangle (right)
  51. (400, 225, 425, 275)
  52. Bottom
  53. First rectangle left
  54. (100, 500, 150, 475)
  55. Second rectangle right
  56. (350, 500, 400, 475)
  57. Center
  58. First rectangle lefthand
  59. (225, 225, 275, 275)
  60. Second rectangle righthand
  61. (275, 275, 250, 225)
  62.  
  63. 3. Draw border
  64.  
  65. 4. Increase Modularity
  66.  
  67. int offset = 25;
  68.  
  69. ADD ETC for rectangles, then lines
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement