Advertisement
IBeetle

skilltester NEWEST

Jan 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. View.Set ("graphics: 1700,1200")
  2. colorback (7)
  3. cls
  4. var font1, font2, font3, font4, font5, font6, font7, font8 : int
  5. var x, y, bnum, updown, spritea, pica : int
  6. font1 := Font.New ("Magneto:50:bold")
  7. font2 := Font.New ("Magneto:50:bold")
  8. font3 := Font.New ("Showcard gothic:20:bold")
  9. font4 := Font.New ("Showcard gothic:20:bold")
  10. font5 := Font.New ("Showcard gothic:20:bold")
  11. font6 := Font.New ("Showcard gothic:20:bold")
  12. font7 := Font.New ("Showcard gothic:20:bold")
  13. font8 := Font.New ("Showcard gothic:30:bold")
  14. assert font1 > 0
  15. Font.Draw ("WELCOME TO THE SKILL TESTER", 100, 1000, font1, green)
  16. Font.Free (font1)
  17. drawfilloval (800, 700, 150, 150, 12)
  18. drawfilloval (800, 700, 115, 115, 31)
  19. drawfilloval (800, 700, 90, 90, 12)
  20. drawfilloval (800, 700, 65, 65, 31)
  21. drawfilloval (800, 700, 25, 25, 12)
  22. drawfillbox (755, 700, 600, 695, 7)
  23. drawfillbox (797, 750, 801, 900, 7)
  24. drawfillbox (1000, 700, 845, 695, 7)
  25. drawfillbox (797, 650, 801, 500, 7)
  26. delay (3000)
  27. %loop
  28. Font.Draw ("CLICK TO START", 450, 400, font2, yellow)
  29. %Font.Draw ("CLICK TO START", 450, 400, font2, red)
  30. %end loop
  31. %blink
  32. %loop
  33. %drawfillbox (470, 390, 1220, 500, black)
  34. %end loop
  35. buttonwait ("down", x, y, bnum, updown)
  36. cls
  37. drawfillbox (50, 700, 340, 600, 187)
  38. drawfillbox (400, 700, 730, 600, 14)
  39. drawfillbox (790, 700, 1180, 600, 48)
  40. drawfillbox (1220, 700, 1600, 600, 5)
  41. drawfillbox (600, 1050, 900, 980, 50)
  42. Font.Draw ("How to play", 650, 1000, font7, purple)
  43. Font.Draw ("Slightly Difficult", 50, 650, font3, brown)
  44. Font.Draw ("Moderatly Difficult", 400, 650, font4, red)
  45. Font.Draw ("Considerably Difficult", 800, 650, font5, purple)
  46. Font.Draw ("Tremendously Difficult", 1220, 650, font6, green)
  47. buttonwait ("down", x, y, bnum, updown)
  48. %slightly
  49. if ((x >= 50 and y <= 700) and (x < 340 and y > 600)) then
  50. cls
  51. %drawfilloval (800, 700, 150, 150, 3)
  52. %Font.Draw ("SPACE", 745, 690, font8, white)
  53. %drawbox (710, 750, 900, 670, 31)
  54. %drawbox (800, 700, 805, 880, 31)
  55. drawbox (600, 750, 1000, 670, 31)
  56. pica := Pic.New (800, 600, 805, 750)
  57. spritea := Sprite.New (pica)
  58. drawfillbox (800, 600, 805, 750, 31)
  59. Sprite.Show (spritea)
  60. for x2 : 2 .. maxx by 3
  61. Sprite.SetPosition (spritea, x, 300, false)
  62. delay (15)
  63. end for
  64. %moderatly
  65. elsif ((x >= 400 and y <= 700) and (x < 730 and y > 600)) then
  66. cls
  67. %considerably
  68. elsif ((x >= 790 and y <= 700) and (x < 1180 and y > 600)) then
  69. cls
  70. %tremendously
  71. elsif ((x >= 1220 and y <= 700) and (x < 1600 and y > 600)) then
  72. cls
  73. %help/how to play
  74. elsif ((x >= 600 and y <= 1050) and (x < 900 and y > 980)) then
  75. cls
  76. end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement