Advertisement
IBeetle

new skiltester

Jan 18th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 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. Font.Draw ("CLICK TO START", 450, 400, font2, yellow)
  28. %blink
  29. %loop
  30. %drawfillbox (470, 390, 1220, 500, black)
  31. %end loop
  32. buttonwait ("down", x, y, bnum, updown)
  33. cls
  34. drawfillbox (50, 700, 340, 600, 187)
  35. drawfillbox (400, 700, 730, 600, 14)
  36. drawfillbox (790, 700, 1180, 600, 48)
  37. drawfillbox (1220, 700, 1600, 600, 5)
  38. drawfillbox (600, 1050, 900, 980, 50)
  39. Font.Draw ("How to play", 650, 1000, font7, purple)
  40. Font.Draw ("Slightly Difficult", 50, 650, font3, brown)
  41. Font.Draw ("Moderatly Difficult", 400, 650, font4, red)
  42. Font.Draw ("Considerably Difficult", 800, 650, font5, purple)
  43. Font.Draw ("Tremendously Difficult", 1220, 650, font6, green)
  44. buttonwait ("down", x, y, bnum, updown)
  45. if ((x >= 50 and y <= 700) and (x < 340 and y > 600)) then
  46. cls
  47. drawfilloval (800, 700, 150, 150, 3)
  48. Font.Draw ("SPACE", 745, 690, font8, white)
  49. drawbox (710, 750, 900, 670, 31)
  50. %drawbox (800, 700, 805, 880, 31)
  51. pica := Pic.New (800, 700, 805, 880)
  52. spritea := Sprite.New (pica)
  53. drawfillbox (800, 700, 805, 880, 31)
  54. Sprite.Show (spritea)
  55. for x2 : 2 .. maxx by 3
  56. Sprite.SetPosition (spritea, x, 700, false)
  57. delay (15)
  58. end for
  59.  
  60. elsif ((x >= 400 and y <= 700) and (x < 730 and y > 600)) then
  61. cls
  62. elsif ((x >= 790 and y <= 700) and (x < 1180 and y > 600)) then
  63. cls
  64. elsif ((x >= 1220 and y <= 700) and (x < 1600 and y > 600)) then
  65. cls
  66. elsif ((x >= 600 and y <= 1050) and (x < 900 and y > 980)) then
  67. cls
  68. end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement