Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region Set blink delay.
- var blink = 0;
- blink += 0.1
- if blink <= 1 draw_set_alpha(1)
- if blink > 1 and blink <= 2 draw_set_alpha(0)
- if blink > 2 {
- draw_set_alpha(1)
- blink = 0
- }
- #endregion
- // Draw sprite.
- draw_sprite(x, y, sprCursor)
- // Reset values.
- draw_set_alpha(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement