Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var loadLeng = 0;
- var loadingText = "Loading";
- draw = function() {
- background(255, 255, 255);
- fill(187, 187, 187);
- noStroke();
- rect(125, 175, 175, 25);
- fill(255, 255, 255);
- rect(127, 177, 171, 21);
- fill(9, 0, 255);
- rect(loadLeng, 178, 100, 19);
- fill(255, 255, 255);
- rect(0, 0, 125, 300);
- rect(300, 0, 125, 300);
- loadLeng += 3;
- if (loadLeng >= 320) {
- loadLeng = 0;
- }
- fill(0, 0, 0);
- textSize(20);
- text(loadingText, 180, 230);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement