Advertisement
Guest User

Vermillion Draw Event

a guest
Jul 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. draw_self();
  2. #region //numbers
  3. with (oLSBox) {
  4. if (boxID == oLSLines.boxselected) && (x == 1023) && ((oLSLines.scrolltimer == 0) || ((oLSLines.boxselected == 1) || (oLSLines.boxselected == 18))) {
  5. draw_sprite_ext(sLSBoxHighlight, 0, x, y, 1, 1, 0, image_blend, 1);
  6. draw_sprite_ext(sLSNumber, boxID, x, y, image_xscale, image_yscale, 0, image_blend, 1);
  7. }
  8. else {
  9. if (x < 1273) && (x > -50) && (id != other.id) {
  10. draw_sprite_ext(sLSNumber, boxID, x, y, image_xscale, image_yscale, 0, image_blend, image_alpha - 0.6);
  11. }
  12. }
  13. }
  14. #endregion
  15. #region //text
  16. var text = levelnames[worldselected, boxselected];
  17. var textspace = 0;
  18. draw_set_color($4FB524);
  19. if string_length(text) <= 14 draw_set_font(fSymtext28);
  20. else {
  21. draw_set_font(fSymtext);
  22. textspace = 10;
  23. }
  24. draw_set_alpha(1);
  25. draw_text_transformed(1059, 785+textspace, text, 1, 1, 2.3);
  26.  
  27. draw_set_font(fSymtext16);
  28. draw_text_transformed(1144, 830, "Best Time: 1:23.45", 1, 1, 0.5);
  29. #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement