How to Use the Algicosathlon Leaderboard 2

Sdílet
Vložit
  • čas přidán 23. 04. 2017
  • today u will know how to add more athletes and how to change font
    discord: / discord
    30 athlete pastebin incase you really really really really really really really really really really need it: pastebin.com/h7dfLiYH
  • Zábava

Komentáře • 243

  • @bubbletrouble3186
    @bubbletrouble3186 Před 7 lety +7

    How do I change the background color?

    • @MapJumpKill
      @MapJumpKill  Před 7 lety

      later I'll mess with the code and get something out of it

    • @bubbletrouble3186
      @bubbletrouble3186 Před 7 lety +1

      Never mind, I found it. Type 'background(some number);' at the beginning of the code for a gray scale background. 0 is black and 255 white. 87 would be RGB {87,87,87}. It also should work with other colors. 'background(255,255,0);' would give a yellow background.

    • @MapJumpKill
      @MapJumpKill  Před 7 lety

      alright, good job!

    • @bubbletrouble3186
      @bubbletrouble3186 Před 7 lety

      Wait a minute, it has to go on line 54, not line 1.

    • @bubbletrouble3186
      @bubbletrouble3186 Před 7 lety

      Some other time I might fiddle with the code and try to figure out how to change text color, and how to make the eliminate sign appear after the scores have been revealed.

  • @MapJumpKill
    @MapJumpKill  Před 7 lety +1

    oh and if ur all wondering why im delaying im making marble races prior to my uploads.
    i already said this on my discord but ehh???

    • @Sapphire04
      @Sapphire04 Před 6 lety

      MapJumpKill where did you run the leaderboard?

  • @soupand2sticks921
    @soupand2sticks921 Před 6 lety +1

    A problem with mine after adding the athletes is that 2 colors won't move.

  • @purpleanimations1657
    @purpleanimations1657 Před 3 lety

    When I did this it worked but then the one in first place which is Maroon when all the way to last and got stuck with the last player I don't know what happened

  • @WasimTawhid
    @WasimTawhid Před 5 dny

    thanks man it actually worked

  • @savagekitty6969
    @savagekitty6969 Před 2 lety

    I have a quick question about the leaderboard, when my athletes reach a score of around 2.2 million score (not exact), it looks like they go through some integer overflow that hides their name and point totals and reverses the color bar. Do you know why this is or if there's a fix for this?
    (If you can reply after posting this video four years prior, you're a legend)

    • @Algodoodle
      @Algodoodle Před 2 lety

      That's a known problem. I think it's something to do with pastebin (or something like that), but I don't remember how to solve it...

  • @atypicaltuber9452
    @atypicaltuber9452 Před 3 lety

    I have a problem with the athletes, i’ve done all the contestants added them all 24 and still re-checked all stuff you did and when i play the simulation the screen is just black!!!

  • @realwastaken.
    @realwastaken. Před 2 lety

    how do i fix the error
    because index 17 is out of bounds in 16
    in line 24

  • @AdamJAMES-im2ey
    @AdamJAMES-im2ey Před 28 dny

    when i add the athletes it says "ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16" anyone know how to fix this?

  • @bigseggel
    @bigseggel Před 3 lety

    The two with the lowest points don't move (down) in the leaderboard why?

  • @user-rq2gm5mc8x
    @user-rq2gm5mc8x Před rokem +1

    Hello, I really need the 30 Athlete PasteBin, It’s Kind Of Urgent. It is for MacOS not the Computers, If You Could Make It I Would Really Apprieciate It.

  • @crocodillian8383
    @crocodillian8383 Před 4 lety +1

    I know its a little late but i have a problem. when i play everything works fine until a contestent gets pass the number 2 million and all of a sudden the line retracts back to the position numbers

    • @bonusyt6413
      @bonusyt6413 Před 2 lety

      yea cause the limit is 3M. (Also the limit on contestants you can have in a leaderboard is 62, i learned that the hard way)

  • @analtaccount5265
    @analtaccount5265 Před 4 lety

    How do I get a don't on the mobile version??? This is the only error I get, and it's so annoying!

  • @atypicaltuber9452
    @atypicaltuber9452 Před 4 lety +3

    How do you stop Athletes getting over Each other? like Pink Over Brown's score?

    • @realwastaken1759
      @realwastaken1759 Před rokem

      Change the Total Athletes you have in Line 36
      this would fix the problem

  • @budimulyono5076
    @budimulyono5076 Před 4 lety

    can you give a link to the first video? (just lazy..)

  • @paraflax2847
    @paraflax2847 Před 2 lety

    Thanks!

  • @loganrua3583
    @loganrua3583 Před 5 lety +1

    I made an algicosathlon with 24 athletes, but every time I press play it just shows a blank screen, and then an error message pops up! Can you explain briefly what the second way to fit many contestants in the leaderboard in a future video?

  • @Twister21084
    @Twister21084 Před rokem

    Whats the best way to record this?

  • @notfishy042
    @notfishy042 Před rokem

    How to I make it so I can see all of the athletes all at once

  • @jjgaming347
    @jjgaming347 Před 4 lety

    i did 66 people!!!!
    One year later edit: I keep on trying to do 28 people, but every time I do what you say, it says "expecting EOF, found 'for'". What do I do?

  • @chicken_rice0123
    @chicken_rice0123 Před rokem +3

    If you want the eliminated sign to appear after the scores, go to the elimination part and change the first line to
    if (waiae[j] >= (#athletes -1) && timer > 480 * 1.75)

  • @050_WeiXian
    @050_WeiXian Před 2 lety

    how do i change the size of the text?

  • @TanClubstep
    @TanClubstep Před 4 lety +2

    So I was testing the score limit(this is for 30 athletes, idk if its larger or smaller for other athlete counts) and I found it to be exactly 2105376. I cant do 2105377, or it will mirror itself. Is there a way to make the limit larger?

    • @gougou737
      @gougou737 Před 3 lety

      oh yeah I have 24 athletes and I gave black 2105376 points and he was normal then I gave Blue 2105377 points and the line was weird. I remember I saw a comment about this and how to fix it but I cant find it again :(

    • @gougou737
      @gougou737 Před 3 lety

      I played with it for about an hour, all you have to do is change: x = int(1020*(start[j]+float(toadd[j])*perc)/maxScore) TO x = int((start[j]+float(toadd[j])*perc)/(maxScore/1020)); at line 73 and 76 (might be different lines but it's around them)

    • @gougou737
      @gougou737 Před 3 lety

      I think it does this bug because 2105376 is 2^31/1020 and 2^31 is like a limit in video games / coding and since it said 1020*start+toadd and the total was higher than 2^31 it did this bug

  • @user-dd4ik6ky7p
    @user-dd4ik6ky7p Před 2 lety

    When I went to processing, I needed to pay money how"s that happening

  • @bfe1025
    @bfe1025 Před 2 lety

    Can you make a video how to add fonts

  • @theepicgamer5094
    @theepicgamer5094 Před 4 lety +1

    I had a problem in my iPad. When I paste it and play. It didn’t show full screen.

  • @ElementalDomino2007
    @ElementalDomino2007 Před 4 lety

    Can you make a preset for algotriacontathlon?

  • @Nyazhi
    @Nyazhi Před rokem

    how do you shrink the screen?

  • @alexanderm2123
    @alexanderm2123 Před 5 lety

    i was trying to make white but it does not work

  • @bfe1025
    @bfe1025 Před 2 lety

    Someone know how to change the ELIMINATION font?

  • @C.Ezra.M
    @C.Ezra.M Před 4 lety +2

    The number "16" in the line 35 must also be changed!

    • @suliawu
      @suliawu Před 3 lety

      Line 35 only has }

  • @Ren-fm2sl
    @Ren-fm2sl Před 7 lety +2

    xD actually i have a request How to eliminated an athlethe after they get the lowest score? ( i mean after adding points the one in last place will get an eliminated sign)

    • @dnjefprod
      @dnjefprod Před 7 lety +1

      Well in the video it shows how many athletes are alive

    • @MapJumpKill
      @MapJumpKill  Před 7 lety +3

      that's a manual thing you have to do in a video editor, if there's something in the code i'll probably say so

    • @coolness5796
      @coolness5796 Před 3 lety +1

      @@MapJumpKill Yeah, you screen record a leaderboard without the athlete eliminated, and then screen record a leaderboard with the athlete eliminated, but keep it very short like 3secs.

    • @Official_OCM
      @Official_OCM Před 3 lety +1

      czcams.com/video/TB4-SQem9vE/video.html

    • @coolness5796
      @coolness5796 Před 3 lety

      @@Official_OCM Yep :)

  • @Mikantsumikifan101
    @Mikantsumikifan101 Před 2 lety

    does anyone here know how to shrink the size without it looking like there is only two athletes?

  • @endereye6895
    @endereye6895 Před 2 lety

    I do not intend to be rude, but this is very hard. You could have slowed it down and I think everyone is having the same problem about overlapping. Please help us!

  • @bigseggel
    @bigseggel Před 3 lety

    Line 71 is marked it says "ArrayIndexOutOfBoundsExceptions:20"
    (I did 21 athletes not 18)

    • @gougou737
      @gougou737 Před 3 lety

      you probably put a 20 or 21 in a spot you had to put the other
      Also if you just test without any scores, it will crash too so maybe that

  • @bananabutter8162
    @bananabutter8162 Před 7 lety

    How do I add colors likes, White, Dark Green, Maroon, Gold, Silver, Light Gray, and Black or Dark Gray

    • @bananabutter8162
      @bananabutter8162 Před 7 lety

      Wait! I forget about Fuchsia, Teal and more color, Here are all of the colors:www.rapidtables.com/web/color/RGB_Color.htm

    • @bubbletrouble3186
      @bubbletrouble3186 Před 7 lety

      If you want to add pure black you have to change the background color. Type 'background(some number);' at line 58 for a gray
      scale background. 0 is black and 255 white. 87 would be RGB {87,87,87}.
      It also should work with other colors. 'background(255,255,0);' would
      give a yellow background.

  • @GM-yc9yq
    @GM-yc9yq Před 5 lety

    Everything works, except one thing. The 6 colours I added are all black, even though I edited all the RGB stuff and also I did the things in the video, all of them. Why are the added athletes black when I open up the leaderboard ? Any help PLEASE ??

  • @bananabutter8162
    @bananabutter8162 Před 6 lety +1

    Here Chance of Elimination
    /*The only things that need to be changed are the lines followed by comments*/
    int simulations = 10000000;
    int numberOfAthletes = 16; //Number of athletes left
    int[] originalScores = {100, 75, 60, 50, 40, 30, 25, 20, 15, 12, 10, 8, 6, 5, 4, 3, 2, 1}; //Initial scores
    float increaser = 1.5;
    int eventNumber = 2; //Number of the current event (excluding team events)
    int powerEventNumber = eventNumber - 1;
    float multiplyFactor = pow(increaser, powerEventNumber);
    float[] loseCount = new float[numberOfAthletes];
    void setup() {
    for (int i = 0; i < numberOfAthletes; i++) {
    loseCount[i] = 0;
    }
    for (int i = 0; i < simulations; i++) {
    int[] swap = new int[numberOfAthletes];
    boolean[] taken = new boolean[numberOfAthletes];
    int[] currentScores = {158, 119, 112, 110, 95, 90, 78, 77, 55, 53, 50, 45, 43, 35, 24, 12}; //Athlete's current scores
    for (int j = 0; j < numberOfAthletes; j++) {
    swap[j] = -1;
    taken[j] = false;
    }
    for (int j = 0; j < numberOfAthletes; j++) {
    while (swap[j] == -1 || taken[swap[j]]) {
    swap[j] = int(random(0, numberOfAthletes));
    }
    taken[swap[j]] = true;
    currentScores[j] += round(originalScores[swap[j]] * multiplyFactor);
    }
    int lowestScore = 10000000;
    int eliminatedAthlete = 0;
    for (int j = 0; j < numberOfAthletes; j++) {
    if (currentScores[j] < lowestScore) {
    lowestScore = currentScores[j];
    eliminatedAthlete = j;
    }
    }
    loseCount[eliminatedAthlete]++;
    }
    for (int i = 0; i < numberOfAthletes; i++) {
    loseCount[i] = loseCount[i] / (float(simulations) / 100.0);
    println("Athlete " + (i + 1) + "'s percentage: " + loseCount[i] + "%");
    }
    }

  • @mentalbulb4217
    @mentalbulb4217 Před 5 lety

    How do I make the athletes visible the second way? My computer screen can only fit seven-teen athletes but I want to have 20.

    • @fuquasports
      @fuquasports Před 4 lety

      your computer display screen may not be big enough

    • @mentalbulb4217
      @mentalbulb4217 Před 4 lety

      Well it's been a year since then and I got a new computer but thank you anyways!!

    • @fuquasports
      @fuquasports Před 4 lety

      @@mentalbulb4217 Yea sorta figured that lol
      just trying to help

  • @C.Ezra.M
    @C.Ezra.M Před 5 lety

    I prepared the scoreboard with 12 athletes. I changed all the values that you showed in this video. But I've got a problem:
    Line 70: Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt and Help ? Troubleshooting.

  • @DLAppleGamez
    @DLAppleGamez Před 6 lety

    Can U help me? I have 26 athlete leaderboard but I noticed that black goes to the bottom with the 14th most points. How can you fix this?

    • @MapJumpKill
      @MapJumpKill  Před 6 lety

      did you turn any taken things to true?

    • @DLAppleGamez
      @DLAppleGamez Před 6 lety

      Actually, I made a new 26 athlete leaderboard, but the scores don't add. I don't get it.

  • @user-kp6uv8gv2t
    @user-kp6uv8gv2t Před 3 lety

    I did everything to add the 2 atheletes. They wont show up. I changed all the numbers and double-checked them. I also changed the size and it said it was wrong. It also tells me to erase line 25.

    • @purpleh_123
      @purpleh_123 Před 2 lety

      i'm like one year late but can you copy and paste your code here so i can see what's going on

    • @Johnny_Adams
      @Johnny_Adams Před 5 měsíci

      @@purpleh_123 i think its this:
      if(start[j] >= record && !taken[j]){
      (i'm also a year late)

  • @therealflamzy92
    @therealflamzy92 Před měsícem

    How do we doit on mobile?

  • @Crimsonnfortnite
    @Crimsonnfortnite Před 8 měsíci

    I wish someone made a 60 athlete leaaderboard.

  • @ollie277
    @ollie277 Před 6 lety

    I have a problem. Everything is working fine but the colors on the leaderboard are all white? I don't know how to fix this plz help?

  • @sxeeth
    @sxeeth Před 4 lety

    When I do it, the highest score goes of screen a little, please. Help

  • @discisonthetitanic8557
    @discisonthetitanic8557 Před 3 lety +1

    For Some Reason 3 Of My Athletes Won't Show Up Only 17 Of Them I Did 20 Athletes

    • @bonusyt6413
      @bonusyt6413 Před 2 lety

      you gotta add 135 to the 765 on the line that says "size"

  • @balticthegrapher
    @balticthegrapher Před 6 lety

    How to make eliminated sign only when scores are given? (I mean last one with lowest points will be eliminated.)
    Please make 3 part of this video.

    • @MapJumpKill
      @MapJumpKill  Před 6 lety

      you'd have to do that manually with your video editor

    • @balticthegrapher
      @balticthegrapher Před 6 lety

      But wait,how to do with video editor?

    • @balticthegrapher
      @balticthegrapher Před 6 lety

      Which is the best?Please say me...

    • @Official_OCM
      @Official_OCM Před 3 lety

      this is what he means: czcams.com/video/TB4-SQem9vE/video.html

    • @balticthegrapher
      @balticthegrapher Před 3 lety

      @@Official_OCM I actually figured that out, I was very dumb back then haha

  • @heexists2
    @heexists2 Před 4 lety +1

    I'm having difficulities -_-. how to change color to white, maroon and black?!?!?! i really need that for mah algicosathlon

    • @gougou737
      @gougou737 Před 3 lety

      At line 10 there are the athlete colors, you can change them (0,0,0 is black 255,255,255 is white 255,0,0 is red 0,255,0 is lime 0,0,255 is blue, for maroon you can do 120,0,0 basically dark red)

    • @heexists2
      @heexists2 Před 3 lety

      @@gougou737 yea i already did that

  • @SmileyRamonHappytime
    @SmileyRamonHappytime Před 7 lety

    How do you Make the Eliminated sign after the score calculate?

  • @that1gamerlad98
    @that1gamerlad98 Před 4 lety

    What i want to know is how to make it so the Eliminated Sigh appears AFTER the athlete's scores change

    • @joogiewatkins1519
      @joogiewatkins1519 Před 4 lety

      You have to go out of the scene, change the number to 15 or 17 or whatever and play it again. It's quite complex and I can't be bothered to write it all out as it's gone midnight and I'm tired

    • @fuquasports
      @fuquasports Před 4 lety

      Add this to the end of line 89:
      if(timer>954)

    • @that1gamerlad98
      @that1gamerlad98 Před 4 lety

      thx so much!

    • @bonusyt6413
      @bonusyt6413 Před 2 lety

      @@that1gamerlad98 or you could: czcams.com/video/TB4-SQem9vE/video.html

    • @CoolyanEmoji
      @CoolyanEmoji Před rokem

      @@fuquasports but how do i make this with like the second athlete that was eliminated and for the first to stay?

  • @IloveRumania
    @IloveRumania Před 4 lety +1

    4:23 What do I change 45 to?

    • @vinny5266
      @vinny5266 Před 3 lety +1

      I tried with 20 athletes and change it to 30

  • @heexists2
    @heexists2 Před 4 lety

    ty for helping me but the video on mine isnt working though

  • @teamont5
    @teamont5 Před 5 lety

    Renen Isip :( |
    MapJumpKill hold on |
    Renen Isip my board is working but its only 16 cont|
    Renen Isip because theres 18 contestants in my alg|
    Renen Isip making an video about it? already? |
    nice one, i found the easter egg

  • @LibbyTheVioletStickman

    I use Excel 2013 instead

  • @xuchahsu4347
    @xuchahsu4347 Před 5 lety +3

    How to let the lowest scorer be eliminated after the score is finished?

    • @MapJumpKill
      @MapJumpKill  Před 5 lety +1

      it's a manual thing you'll have to add in your video editor

    • @Official_OCM
      @Official_OCM Před 3 lety

      i made a tutorial on how to do that. czcams.com/video/TB4-SQem9vE/video.html

  • @thelorenzo2805
    @thelorenzo2805 Před 2 lety

    NO!
    I need a 22 athlete pastebin

  • @idoexisting2098
    @idoexisting2098 Před 3 lety

    damn i cant get in pastebin so i cant use it

  • @rodneybutler4957
    @rodneybutler4957 Před 4 lety +1

    How do you remove atheletes?

    • @bonusyt6413
      @bonusyt6413 Před 2 lety

      Same thing as adding athletes except instead of adding, your subtracting

  • @suliawu
    @suliawu Před 3 lety

    My leaderboard isn't responding lol

  • @algorace9968
    @algorace9968 Před 4 lety

    Why does the eliminated sign appear before the scores appear?

    • @fuquasports
      @fuquasports Před 4 lety

      Add this to the end of line 89:
      if(timer>954)

    • @Official_OCM
      @Official_OCM Před 3 lety

      I made a tutorial on how to do that: czcams.com/video/TB4-SQem9vE/video.html

  • @mrmystic9834
    @mrmystic9834 Před 4 lety

    how do I save it and where do I see it?

    • @bonusyt6413
      @bonusyt6413 Před 2 lety

      you just press the red circle on the top left of your sketch and it will give you an option to save

  • @vaqu3996
    @vaqu3996 Před 4 lety +1

    i just removed my font, didn't work, arial is fine
    fyi im trying to continue the algoheptacontapentathlon series by tsutaja so i need like 64 athletes

    • @limegreenmintmoss2810
      @limegreenmintmoss2810 Před 3 lety

      int[] start = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,};
      int[] toadd = {1,15,20,132,67,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,};
      String[] names ={"Magenta","Purple","Tan","Orange","Lime","Red","Blue","Lavender","Yellow","Brown","Gray","Navy","Olive","Pink","Cyan","Green","Magenta","Purple","Tan","Orange","Lime","Red","Blue","Lavender","Yellow","Brown","Gray","Navy","Olive","Pink","Cyan","Green","Magenta","Purple","Tan","Orange","Lime","Red","Blue","Lavender","Yellow","Brown","Gray","Navy","Olive","Pink","Cyan","Green","Magenta","Purple","Tan","Orange","Lime","Red","Blue","Lavender","Yellow","Brown","Gray","Navy","Olive","Pink","Cyan","Green","Magenta","Purple","Tan","Orange","Lime","Red","Blue","Lavender","Yellow","Brown","Gray","Navy","Olive","Pink","Cyan","Green","Magenta","Purple","Tan","Orange","Lime","Red","Blue","Lavender","Yellow","Brown","Gray","Navy","Olive","Pink","Cyan","Green","Magenta","Purple","Tan","Orange","Lime","Red","Blue","Lavender","Yellow","Brown","Gray","Navy","Olive","Pink","Cyan","Green","Magenta","Purple","Tan","Orange","Lime","Red","Blue","Lavender","Yellow","Brown","Gray","Navy","Olive","Pink","Cyan","Green","Magenta","Purple","Tan","Orange","Lime","Red","Blue","Lavender","Yellow","Brown","Gray","Navy","Olive","Pink","Cyan","Green"};
      int[] waias = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64};
      int[] waiae = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64};
      boolean[] taken = {false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,
      false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,};
      int timer, maxScore, x, y;
      int[][] colors = {{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{255,100,255},{0,255,255},{0,145,0},{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{255,100,255},{0,255,255},{0,145,0},{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{255,100,255},{0,255,255},{0,145,0},{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{255,100,255},{0,255,255},{0,145,0},{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{255,100,255},{0,255,255},{0,145,0},{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{255,100,255},{0,255,255},{0,145,0},{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{255,100,255},{0,255,255},{0,145,0},{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{255,100,255},{0,255,255},{0,145,0},{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{255,100,255},{0,255,255},{0,145,0}};
      String[] after = {"st","nd","rd","th","th","th",
      "th","th","th","th","th","th","th","th","th","th","th","th","th","th","st","nd",
      "rd","th","th","th","th","th","th","th","st","nd","rd","th","th","th","th","th",
      "th","th","st","nd","rd","th","th","th","th","th","th","th","st","nd","rd","th",
      "th","th","th","th","th","th","st","nd","rd","th","st","nd","rd","th","th","th",
      "th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th",
      "th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th",
      "th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th",
      "th","th","th","th","th","th","8","th","th","th","st","nd","rd","th","stth","nd",
      "th","th","th","th","th","th","st","rd","st","nd"};
      PFont font;
      PFont font2;
      int margin = 100;
      float perc = 0;
      void setup(){
      font = loadFont("PressStart2P-8.vlw");
      font2 = loadFont("Impact-48.vlw");
      size(1280,720);
      for(int i = 0; i < 64; i++){
      int record = 0;
      int recordHolder = 0;

      for(int j = 63; j >= 0; j--){
      if(start[j] >= record && !taken[j]){
      record = start[j];
      recordHolder = j;
      }
      }
      taken[recordHolder] = true;
      waias[recordHolder] = i;
      }
      for(int i = 0; i < 64; i++){
      taken[i] = false;
      }
      for(int i = 0; i < 64; i++){
      int record = 0;
      int recordHolder = 0;
      for(int j = 63; j >= 0; j--){
      if(start[j]+toadd[j] >= record && !taken[j]){
      record = start[j]+toadd[j];
      recordHolder = j;
      }
      }
      taken[recordHolder] = true;
      waiae[recordHolder] = i;
      if(i == 0) maxScore = record; //1020;
      }
      textFont(font,9);
      noStroke();
      frameRate(60);
      }
      void draw(){
      background(0);
      if(timer < 1200){
      fill(80);
      rect(0,0,margin,height);
      timer++;
      textAlign(LEFT);
      fill(255);
      for(int i = 0; i < 64; i++){
      fill(i*4,255-i*4,255-i*8);
      text((i+1)+after[i],margin-93,19+10*i);
      }
      if(timer < 480){
      perc = max((float(timer)-180)/300,0);
      }else{
      perc = min(max((float(timer)-480)/300,0),1);
      perc = -cos(perc*PI)/2+0.5;
      }
      for(int j = 0; j < 64; j++){
      fill(colors[j][0],colors[j][1],colors[j][2]);
      if(timer < 480){
      x = int(1020*(start[j]+float(toadd[j])*perc)/maxScore);
      y = 10*waias[j];
      }else{
      x = int(1020*(start[j]+toadd[j])/maxScore);
      y = int((waias[j]+(float(waiae[j])-float(waias[j]))*perc)*10);
      }
      rect(margin,19+y,x,-8);
      textAlign(LEFT);
      text(names[j],margin+x+5,19+y);
      fill(0);
      textAlign(RIGHT);
      if(timer < 480){
      text(addCommas(round((start[j]+toadd[j]*perc))),margin+x,19+y);
      }else{
      text(addCommas(start[j]+toadd[j]),margin+x,19+y);
      }
      if(waiae[j] >= 64){
      fill(255,25,0);
      textFont(font2,12);
      textAlign(LEFT);
      text("ELIMINATED",names[j].length()*10+100+x,19+y);
      textFont(font,9);
      }
      }
      //saveFrame("images\\####.png");
      }
      }
      String addCommas(int n){
      String s = n+"";
      String output = "";
      for(int i = 0; i < s.length(); i++){
      if(i >= 1 && (s.length()-i)%3 == 0){
      output = output+",";
      }
      output = output+s.charAt(i);
      }
      return output;
      }

  • @ellis-dz4zm
    @ellis-dz4zm Před 7 lety

    on the colour finding line it says expecting dot found colours what do i do?

    • @MapJumpKill
      @MapJumpKill  Před 7 lety

      what does the line say/
      feel free to copy and paste it

    • @ellis-dz4zm
      @ellis-dz4zm Před 7 lety

      int[][] colors = {{255,0,255},{120,0,255},{210,180,140},{255,120,0},{0,255,0},{255,0,0},{0,120,255},{202,145,222},{255,255,0},{130,65,0},{120,120,120},{0,30,145},{120,120,0},{244,177,200},{0,255,255},{0,145,0},{41,37,37};

    • @MapJumpKill
      @MapJumpKill  Před 7 lety

      i think it's because you forgot the 2nd end bracket

    • @ellis-dz4zm
      @ellis-dz4zm Před 7 lety

      ok

    • @ellis-dz4zm
      @ellis-dz4zm Před 7 lety

      it worked but i have another problem

  • @parmesan4291
    @parmesan4291 Před 5 lety

    how o you eliminate after?

    • @gougou737
      @gougou737 Před 3 lety

      add this if(timer > 900) after the if(waiae[j] >=x){

  • @JJTE134
    @JJTE134 Před 4 lety

    Can You Change The Font Of The Text

    • @AdamJAMES-im2ey
      @AdamJAMES-im2ey Před 2 měsíci

      yes. you just have to change the Verdana-48.vlw and Verdana-BoldItalic-48.vlw with your selected fontand add -48.vlw to the end

  • @C.Ezra.M
    @C.Ezra.M Před 7 lety

    how do I calculate COBEN?????????????????????????????????????????????????

    • @MapJumpKill
      @MapJumpKill  Před 7 lety

      i honestly don't know. when i do find out i'll make a part 3

    • @C.Ezra.M
      @C.Ezra.M Před 7 lety

      +MapJumpKill Ok

    • @Sapphire04
      @Sapphire04 Před 6 lety

      MapJumpKill heres the link: pastebin.com/QsF4ight

    • @bananabutter8162
      @bananabutter8162 Před 6 lety

      But got link is Ptyhon

  • @MooshDaMoosh
    @MooshDaMoosh Před 5 lety +1

    How do you record this?

    • @MapJumpKill
      @MapJumpKill  Před 5 lety

      use a screen recorder, like bandicam or obs

    • @MooshDaMoosh
      @MooshDaMoosh Před 5 lety

      @@MapJumpKill OBS doesn't work

    • @Algotube
      @Algotube Před 4 lety

      on a mac, you can do command shift 5

  • @lancethealgodooist4538

    Hey my processing app can't open...HELP MEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!

    • @vishmitasuvarna6185
      @vishmitasuvarna6185 Před 6 lety

      *Reason 1:*
      Is there a folder in the .zip file?
      Well, release that and put it on a folder/desktop.
      Then, open the folder and lastly, you click on 'Processing.exe.
      If it doesn't work, I will think for another reason.

  • @keremburada
    @keremburada Před 7 lety

    How can I add this in my video?
    BTW, I made it. Thanks :)

    • @MapJumpKill
      @MapJumpKill  Před 7 lety +1

      record it using a screen recorder

    • @keremburada
      @keremburada Před 7 lety

      You are too late saying that actually cuz I already found it lol :)

  • @bananabutter8162
    @bananabutter8162 Před 6 lety

    How do I change the font?

  • @masonsurgener
    @masonsurgener Před 6 lety

    I'm just lost. Two of the lines didn't work and one still doesn't. I tried redoing the link copying but it still doesn't work ): pls halp

    • @MapJumpKill
      @MapJumpKill  Před 6 lety

      how many lines are there

    • @masonsurgener
      @masonsurgener Před 6 lety

      109

    • @MapJumpKill
      @MapJumpKill  Před 6 lety

      even after you did what's in this video? (both of the things)

    • @masonsurgener
      @masonsurgener Před 6 lety

      And line 48 is the one giving me trouble it says this: textFont(font,40); idk if it helps but Verdana is my font.

    • @masonsurgener
      @masonsurgener Před 6 lety

      Well not really, im not changing the contestants, just the text to make it work.

  • @user-sq7qb8ji4p
    @user-sq7qb8ji4p Před 6 lety

    MapJumpKill I have trouble on line 74 (I have 113 lines) When I press play button it says "ArrayIndexOutOfBoundsException: 31. What I need to do?

    • @itsnotatumajr1383
      @itsnotatumajr1383 Před 6 lety

      on line 38 change the number... I had the message and I looked through and found that!

    • @doritosbag1054
      @doritosbag1054 Před 6 lety

      ItsnotatumaJR What number? I changed it and nothing happened

    • @itsnotatumajr1383
      @itsnotatumajr1383 Před 6 lety

      im not sure... I posted that a while ago

    • @eml7588
      @eml7588 Před 3 lety

      Wait you get that line? For me it doesn't appear at all.

  • @thereisnochannel4629
    @thereisnochannel4629 Před 3 lety

    I tried 20 athletes but it said:

    • @thereisnochannel4629
      @thereisnochannel4629 Před 3 lety

      jQuery.Deferred exception: Unexpected token ']'
      SyntaxError: Unexpected token ']'
      at new Function ()
      at Processing.Sketch.attach (preview.openprocessing.org/assets/js/vendor/processingjsReleases/processing-1.6.6.js?version=7.42:885:22)
      at executeSketch (preview.openprocessing.org/assets/js/vendor/processingjsReleases/processing-1.6.6.js?version=7.42:21586:21)
      at new Processing.Processing (preview.openprocessing.org/assets/js/vendor/processingjsReleases/processing-1.6.6.js?version=7.42:21623:7)
      at HTMLDocument. (preview.openprocessing.org/sketch/preview/?random=0.6958595537397723:50:6)
      at l (cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29375)
      at c (cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29677)
      undefined
      Uncaught SyntaxError: Unexpected token ']'
      preview.openprocessing.org/assets/js/vendor/processingjsReleases/processing-1.6.6.js?version=7.42, line 885
      preview.openprocessing.org/assets/js/vendor/processingjsReleases/processing-1.6.6.js?version=7.42, line 21586
      preview.openprocessing.org/assets/js/vendor/processingjsReleases/processing-1.6.6.js?version=7.42, line 21623
      preview.openprocessing.org/sketch/preview/?random=0.6958595537397723, line 50
      cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js, line 2
      cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js, line 2

    • @thereisnochannel4629
      @thereisnochannel4629 Před 3 lety

      I do not remember having lines 885, 21586, or 21623.

  • @Ren-fm2sl
    @Ren-fm2sl Před 7 lety +1

    pause it on 0:55 and you'll see something xD

  • @dnjefprod
    @dnjefprod Před 7 lety

    i wanna make 30 athletes but only 23 fit on my screen how do i fix this?

    • @MapJumpKill
      @MapJumpKill  Před 7 lety

      4:13 should help you

    • @dnjefprod
      @dnjefprod Před 7 lety

      i cant put the font higher or lower

    • @MapJumpKill
      @MapJumpKill  Před 7 lety

      edit line 81
      edit the number before +y

    • @dnjefprod
      @dnjefprod Před 7 lety

      k

    • @some1506
      @some1506 Před 7 lety

      Hey crazy dude, i mean **Can i get 1000 subs with no vids?** There is a processing link, go there www.openprocessing.org/

  • @SmileyRamonHappytime
    @SmileyRamonHappytime Před 7 lety

    First

  • @ijeoma72
    @ijeoma72 Před 7 lety

    9:31

  • @xuchahsu4347
    @xuchahsu4347 Před 5 lety

    How to let the lowest scorer be eliminated after the score is finished?

    • @Official_OCM
      @Official_OCM Před 3 lety

      i did an upload on my channel showing how to do that: czcams.com/video/TB4-SQem9vE/video.html
      subscribe to me if this was helpful