Marbles vs Music - Visualizer Bars Battle Royale

2023 ж. 28 Ақп.
2 999 708 Рет қаралды

Chaos League is my marble race series that spawns YOU in. Create your character with custom images, colors, victory messages and more. Climb the leaderboards and see how you rank among the competition. How do I join for free? It’s simple, just become a valid patron at / doodlechaos and you will be spawned in to the next Chaos League video automatically! You can join for FREE with Patreon’s new “Free Trial” feature! I’ve maxed out the duration. The higher tier you pick, the easier it will be to spot your character in the crowd. (PSA: If you cancel before the video comes out, I won't be able to draw your information from the API and you won't spawn in. Custom pledges below "Doodler" tier will not spawn in.)
Welcome to episode 3 of Chaos League. I built my own physics based music visualizer just to make this video. It's mostly procedural along a line renderer, which is how I was able to curve the visualizer bars into different paths. Super fun to build, but boy did it turn out to be way more challenging than I was expecting. I've been learning a lot while working on this.
Season 1 Uploads
Chaos League Ep 1 - • Marble race, but each ...
Chaos League Ep 2 - • Can you escape me?
How do I customize my marble?
Your marble will be spawned in with your current Patreon profile picture image. Display names are taken from your Patreon name as well. You can update these at any time on Patreon. Other customization options (such as victory message and name color) must be modified by logging in with your Patreon account at doodlechaos.com. Don’t forget to add a victory message to display on the top ten leaderboard!
Have other questions? Ask in the Chaos League Discord Text Channel.
/ discord
Twitter:
/ doodlechaos
Music:
[Electro] Nitro Fun - Cheat Codes [Monstercat Release]
• [Electro] Nitro Fun - ...
Lego Click SFX by CGEffex:
freesound.org/people/CGEffex/...
My main takeaways from this project (Mostly me rambling just to clear my head)
1. Unity Package Manager is amazing! Learn to make your own packages and you will become 10x more organized. It is so cool that I can make a change to my visualizer spectrum package, and then update it into all other unity projects with ease. No more duplicate instances of code across projects.
2. Animation does not play well with kinematic rigidbodies. Challenge: Make super fast moving bars animated to music interact naturally with rigidbody physics, and exert the proper force on the balls based on their change in growth velocity on the bar from the music. Making the bars grow while also maintaining the correct velocity was a tough challenge. My solution was to create "caps" for each of the bars that are a constant scale, then scale a secondary base mesh underneath it. Now how should I move these caps? First failure, PID controlled caps, it looked correct, but the balls kept glitching through the bar colliders. Second failure, making custom config joint sliders for each of the caps so that they are locked into a certain range of motion. This also had crazy bugs in the physics. Sometimes the balls would stick to the top even as the bars were moving down against gravity. My theory for why this method was failing the penetration resolution tried to push the bar away to resolve the collision, rather than the ball, but the rigidbody world somehow wasn't aware that I had a constraint due to the config joint? IDK. Constraints + Rigidbodies in unity have been buggy in my experience, but I'm probably doing something wrong. Finally, the working solution turned out to be the simplest. All I had to do was make the rigidbodies kinematic and animate them with Rigidbody.MovePosition(). This updates the velocity correctly and viola, no more glitches!
Fun facts:
- I pulled an all nighter just to get the physics correct when the marbles impact the music visualizer bars.
- I added support for emojis in the victory message on the leaderboard!

Пікірлер
  • 3:02 I tasted victory for a few sweet seconds.

    @Jadondigital@Jadondigital Жыл бұрын
    • Nice

      @justingood1443@justingood1443 Жыл бұрын
    • Lucky, I died around middle is, top 36% at least

      @joshbuilds@joshbuilds Жыл бұрын
    • lol

      @NguyenTrungHieu536@NguyenTrungHieu53610 ай бұрын
    • ​@@justingood1443😅😅p😅p9

      @CorTipod@CorTipod10 ай бұрын
    • @@CorTipod shut up

      @justingood1443@justingood144310 ай бұрын
  • IDK why but seeing the ball get thrown around when the bass drops is hilarious to me

    @rbunpat@rbunpat Жыл бұрын
  • My random picks were: Richtofen (224th) Brendon (138th) Klaod (100th) not real great here, but I got right on 100! so that's cool

    @rwqfsfasxc@rwqfsfasxc Жыл бұрын
    • crazy, i also picked richofen

      @thedarklord5005@thedarklord5005 Жыл бұрын
  • 2:36 Rest in peace, Backwards "F" Guy. You were the only ball I could keep track of.

    @Klabbity_Kloots@Klabbity_Kloots10 ай бұрын
  • 2:54 the two guys just chilling outside the arena 👁👄👁

    @Tapitus-totalus@Tapitus-totalus Жыл бұрын
  • i think you could create the next great rhythm game

    @TheWhanos@TheWhanos Жыл бұрын
  • It’s a shame none of the balls used cheat codes to survive the level. Btw great level! And yes, I AM saying that before I even watched it.

    @jamezycatboy9926@jamezycatboy9926 Жыл бұрын
    • i mean there were several marbles that got stuck in the walls so

      @C0wy_@C0wy_ Жыл бұрын
    • Underrated comment lmao, the song is called cheat codes

      @thegamewarloxxketoxo4914@thegamewarloxxketoxo4914 Жыл бұрын
    • I see what you did there

      @flamefriends3842@flamefriends3842 Жыл бұрын
  • You nailed this with the built in visualizer!

    @dzmo-official@dzmo-official Жыл бұрын
  • With some of these songs choices this is starting to feel more and more like Just Shapes and Beats Marble Edition and I love it.

    @TheAdvertisement@TheAdvertisement Жыл бұрын
  • That was amazing, and even better with the JSAB soundtrack

    @foxxyytofficial@foxxyytofficial8 ай бұрын
  • This feels very inspired by just shapes and beats

    @CurlyBolt@CurlyBolt6 ай бұрын
  • 4:07 how my great grandfather laughs

    @dzmo-official@dzmo-official Жыл бұрын
    • HE HE HE HE HEEE

      @superprofi4307@superprofi4307 Жыл бұрын
    • naww that's my grandfather burping *_hh hh hh hh_*

      @CombustibleLemon77@CombustibleLemon77 Жыл бұрын
  • 3:22 Goddamn I feel bad for the guy that was knocked off last second.

    @TheAdvertisement@TheAdvertisement Жыл бұрын
    • YES YES YES YES NO NO NO FCK NO

      @jare114@jare11411 ай бұрын
  • Insanely clever concept, great execution! One of the most innovative channels I know of, especially with regards to audience participation. Amazing work!

    @Gizmote@Gizmote Жыл бұрын
    • Thanks Gizmote! This is only the beginning!

      @DoodleChaos@DoodleChaos Жыл бұрын
  • I saw that trap in the middle with the Just Shapes & Beats colours of cyan and pink, very good.

    @RatchetSly@RatchetSly Жыл бұрын
  • Let's be honest JSAB music is the best (just shape and beats)

    @WitherdGames477@WitherdGames477 Жыл бұрын
  • This is one of the coolest ideas I've ever seen!

    @fredcole6844@fredcole68448 ай бұрын
  • NEW ONE lets go!

    @candyman4769@candyman4769 Жыл бұрын
  • As both an Animusic admirer and a past Jack Spero fan, words can't do justice to emphasizing how much I love this series. Definitely hoping this becomes a regular thing, this is currently one of my favorite things to watch. Great work as always.

    @sirgabealot01@sirgabealot01 Жыл бұрын
  • Yeah Cheat Codes! My favourite jsab level music! The visualisers look so cool and music sync is very well done,

    @lunarr8499@lunarr8499 Жыл бұрын
  • 0:50 OH COME ON IT JUST STARTED I HAD SUCH A GOOD STREAK IN THE TOP 70

    @tiddlez3948@tiddlez3948 Жыл бұрын
  • Another great round Definitely not salty about dying early, no sir

    @UchayKaykay@UchayKaykay Жыл бұрын
  • Made it to 1:06 before I got lasered! #277

    @LadyBakeneko@LadyBakeneko Жыл бұрын
  • Imagining the marbles fighting each other for the platform in the final round looked cool

    @CrystalClear51@CrystalClear51 Жыл бұрын
  • I love how he does these

    @milesbyrd2668@milesbyrd2668 Жыл бұрын
  • 1:53 216th, it's getting harder now with more players!

    @TheAwes0meo@TheAwes0meo Жыл бұрын
  • I couldn't imagine seeing myself in a video like this. Very... unpredictable. Like a victory you earned yet at the same time haven't earned.

    @toch19@toch198 ай бұрын
  • Great job again! Got one more to go!

    @dzmo-official@dzmo-official Жыл бұрын
  • Yea I can see myself somewhere in those million marbles

    @the-protogen-of-the-sky@the-protogen-of-the-sky Жыл бұрын
  • Dude's pc is otherworldly.

    @user-pr8ei6wl4o@user-pr8ei6wl4o8 ай бұрын
  • 18th place Quazillionaire I was rooting for you pal.

    @castdragon8849@castdragon8849 Жыл бұрын
  • good highlight of me at 1:11 lol

    @PrisonerFlake@PrisonerFlake Жыл бұрын
  • Yessss CCOST got 4 place 🎉🎉🎉

    @nadimmohammad5911@nadimmohammad59117 ай бұрын
  • Video: Welcome to the Chaos League. Last survivor wins. Captions: Welcome to the *KFC's massive survivor wings.*

    @pikansanok@pikansanok11 ай бұрын
  • Hunger games.. marble style!

    @luckyenigmas@luckyenigmas Жыл бұрын
  • I love these user balls! I am pretty sure like marble user just chaos battle and how is cool.

    @BabyDollFanChannelYT@BabyDollFanChannelYT4 ай бұрын
  • That song is a throwback to a time I didn't care that much about everything

    @ShinigamiRC38@ShinigamiRC38 Жыл бұрын
  • bro's playing Just Shapes and Beats lol

    @drmini7522@drmini75227 ай бұрын
  • When you pick someone at the start only for them to be the second player gone: …

    @Kai_Ri_@Kai_Ri_3 ай бұрын
  • wow! never thought be able to find me at all (which I'm yet to do...LOL) - let alone finish in top 10 - #5 - happy with that, more than, ecstatic!!! *THANK YOU* for the opportunity to play, really appreciate it - been a fan for ages, this is sooooo cool. thank you 💖❤💖

    @juliaconnell@juliaconnell Жыл бұрын
  • I have lore for some of the members. In the most recent video, I was rooting for someone named Derek with a default cat pfp. In this one, and one other, I rooted for Richard Thomas saying it was “Derek’s brother.” Then, I realized that Miles Cruse-Barnett’s message is “Hey it’s me, Richard.” Then it all clicked. Their default pfp is a cat, and cats have 9 lives. This means that Darek, Richard, and Miles are all the same cat, but on different lives, and the whole time I thought they were brothers. True commitment. shoutout to Darek, Richard Thomas, and Miles Cruse-Barnett.

    @cammiesthetic@cammiesthetic11 ай бұрын
  • I didn't expect myself to revisit cheat codes again. The ending was pretty good tho.

    @FederalPursuitVehicle@FederalPursuitVehicle Жыл бұрын
  • Hey, that’s the funny song from the funny block game!

    @IrreleventCotheBestCompany@IrreleventCotheBestCompany Жыл бұрын
  • We had a good run, Elatedfieldmedix.

    @redrumtheartist6275@redrumtheartist627510 ай бұрын
  • already said in the discord but this was definitely the best one so far (even if i ranked the worst in this one lol) so much cool stuff😄

    @PrisonerFlake@PrisonerFlake Жыл бұрын
    • ❤😂🎉😢😮😅😊

      @janisani112@janisani112 Жыл бұрын
    • Auf deine Antwort antworten

      @janisani112@janisani112 Жыл бұрын
    • Antwort hinzufügefügt

      @janisani112@janisani112 Жыл бұрын
  • you need too do more of these

    @DJ_Sparks@DJ_SparksАй бұрын
  • Omg I love this ! using music from the Monstercat family well I have to sub now!

    @Lovehandels@Lovehandels4 ай бұрын
  • Bro I am loving these I really wanna be part of it

    @combatbrony6705@combatbrony6705 Жыл бұрын
  • Sweet! 99th ain’t bad

    @batmank31@batmank31 Жыл бұрын
  • Man the ending was very anti-climatic for this one.

    @lordshennington2756@lordshennington2756 Жыл бұрын
  • IS THIS THE MUSIC FROM THE GAME JUST SHAPES & BEATS I THINK IT IS :D

    @Serial.Desig.N@Serial.Desig.N9 ай бұрын
  • They really went crazy either the lasers though

    @Chizinky@Chizinky Жыл бұрын
  • My teacher: What’s so cool? Me: Nothing. My brain:

    @ThatWookieeGamer@ThatWookieeGamer Жыл бұрын
  • 1:52 whoa that’s a lot

    @mr.z_yt@mr.z_yt10 ай бұрын
  • its funny how the beats just act like a cannon

    @pigeon_lord834@pigeon_lord834 Жыл бұрын
  • Made it much further this time! So close!

    @PremiumCheeses@PremiumCheeses Жыл бұрын
  • You killed them

    @raulq6396@raulq63969 ай бұрын
  • This is cool af

    @droid7778@droid7778 Жыл бұрын
  • Rip sir moo who was first to sit on the winner shelf

    @Adddmeeeeh@Adddmeeeeh Жыл бұрын
  • I picked number 18 im proud

    @ggman.@ggman. Жыл бұрын
  • damn sillyboyjoshua2 do as good this time as the last one it is a shame 😔

    @BlameDavid@BlameDavid Жыл бұрын
  • I like your music man.. how can I work with you on a music project?

    @JF-lw9qi@JF-lw9qi9 ай бұрын
  • "Chaos League" I recognise that font.

    @maxanimator9547@maxanimator9547 Жыл бұрын
    • Lemon milk!

      @DoodleChaos@DoodleChaos Жыл бұрын
  • Mesmerizing

    @kriscerosaurus@kriscerosaurus Жыл бұрын
  • I'll just keep rooting for AboriginalFrog for no reason. LMAO

    @zzz181085@zzz181085 Жыл бұрын
  • Very original

    @Stagnated541@Stagnated541 Жыл бұрын
  • ayyy i love this song

    @BenTheMiner@BenTheMiner Жыл бұрын
  • pirates of the caribbean on the water piano pls

    @killergamer9187@killergamer9187 Жыл бұрын
  • 1:24 Mario jump sound effect

    @mr.z_yt@mr.z_yt10 ай бұрын
  • Lets goooo my favorite song

    @user-qu6wm6fv4t@user-qu6wm6fv4t Жыл бұрын
  • Me knowing this song from jsab

    @showd6229@showd6229 Жыл бұрын
  • Awesome!

    @Razelicious1@Razelicious1 Жыл бұрын
  • If it weren't for thr fact that I dont have a credit card I would be participating in the season finale. Ima pretend like In in there and cry about it later

    @aithrasherboi@aithrasherboi Жыл бұрын
  • 328th?! Come on! GO KIRBY!!!

    @Daragonal@Daragonal7 ай бұрын
  • more like doodlechaos bossfight

    @Dragon_Destroyer@Dragon_Destroyer6 ай бұрын
  • Me a FH4 player: Hey, I've seen this one

    @ryleyoconnor8010@ryleyoconnor801010 ай бұрын
    • Ayy I play FH5 bro! But I made OUTSTANDING progress in FH4

      @gr4h4mYT@gr4h4mYT8 ай бұрын
  • Some Just Shapes and Beats vibe here

    @zanderdoessomething@zanderdoessomething Жыл бұрын
  • imagine getting stuck outside

    @fourtwo4242@fourtwo424211 ай бұрын
  • 1:24 1:53 Mario boing sound

    @BEST_ALEX@BEST_ALEX11 ай бұрын
  • Song name-Cheat codes in jsab

    @SituatedPine@SituatedPine Жыл бұрын
  • My despair when my guy Kirby got knocked out right at the beginning............. T_T

    @solitarelee6200@solitarelee6200 Жыл бұрын
  • Imagine if there was no winner 💀💀💀💀💀💀 Lmao the hehehehe att he end

    @minimapperogf@minimapperogf Жыл бұрын
  • Almost shapes and beats

    @jard858@jard858 Жыл бұрын
  • Remember to keep comments respectful and to follow our commuity guidelines

    @shaninemariesentillas6091@shaninemariesentillas609110 ай бұрын
  • I did this with my speaker before

    @BEST_ALEX@BEST_ALEX11 ай бұрын
  • I was watching stargust for a lot of the video and he got 42nd

    @TheMapGod275@TheMapGod275 Жыл бұрын
  • My boi Rahvanox got scamed by a glitch at 2:11 in the right bottom

    @Sponers1@Sponers12 ай бұрын
  • bruh I got smacked into the spinning thing

    @vicesimum_phi8123@vicesimum_phi8123 Жыл бұрын
  • Imagine Being The First To Get Out.🥶 It Must Feel Sad.

    @mashtheglorious@mashtheglorious Жыл бұрын
  • ooommmgggg you crazy

    @salhdz2875@salhdz2875 Жыл бұрын
  • I got eliminated at 1:05 by a laser. XD

    @SupersuMC@SupersuMC Жыл бұрын
  • Nice

    @theresabishop3521@theresabishop3521 Жыл бұрын
  • the secret to winning this is to hate music

    @biobagholder8081@biobagholder8081 Жыл бұрын
  • Gotta love nitrofun

    @saggyshaggy5681@saggyshaggy5681 Жыл бұрын
  • nice :D

    @ludwigvannormayenn8657@ludwigvannormayenn8657 Жыл бұрын
  • THIS CHANNEL IS SO FUCKING COOL OH MY GOD

    @superking208@superking208 Жыл бұрын
  • First guy I picked died, second guy won lol

    @Jayden89117@Jayden8911711 ай бұрын
  • nice

    @99batran@99batran Жыл бұрын
  • You should have used TTS to announce the winner lol

    @jm56z43@jm56z4311 ай бұрын
  • Yo i remember this song it from just shapes and beats (jsab of short) and its in a lvl called cheat codes

    @abuazamazim@abuazamazim10 ай бұрын
KZhead