Ah yes, my favorite Mario minigame gimmick... *s e g r e g a t i o n*
@plaguedoctor32 жыл бұрын
I laughed harder at this than I needed too.
@trickygamer5552 жыл бұрын
That's actually my favourite mario minigame tho lol
@thatsufferingguy10582 жыл бұрын
I'm not so sure bowser's a good ruler anymore.
@trashlambo2 жыл бұрын
That's my boy! 🧓
@Chadmiral2 жыл бұрын
Lmao
@pumpkinzz57282 жыл бұрын
For the trigonometry on the cannonball mini game, atan is an expensive algorithm. Your code would run faster if you simply multiplied your calculated vector by -1.
@novarender_2 жыл бұрын
The time difference is negligible. But yes, negating the original vector is a good idea.
@chwong92562 жыл бұрын
Hey I have a project that needs to calculate the angle from a point to another point and I also used atan. Do you mind explaining a bit about how this simplified version works? Thanks!
@pumpkinzz57282 жыл бұрын
@@chwong9256 it only works if the angle is exactly 180 degrees (although 90 degrees is also straightforward). If you are trying to find an unknown angle between two vectors, I would recommend atan as in this video, or doing a bit of research into cosine similarity.
@pumpkinzz57282 жыл бұрын
@@novarender_ fair enough, I guess it’s not being computed every frame or smtg like that.
@chwong92562 жыл бұрын
@@pumpkinzz5728 oh ok thank you!
@aurafox12 жыл бұрын
The funny thing is, the strat with dragging the bomb instantly to the base is possibly actually legitimately doable if you just play the game with two styluses.
@iamboredfor2months Жыл бұрын
That's what I was thinking!
@ghastdude58911 ай бұрын
I don't remember how DS touchscreens work; Does it update the "tapped" position instantly to the new location or is the distance between the two halved if two presses are done at once?
@aurafox111 ай бұрын
@@ghastdude589 It averages the position. But you can press one, then the other, then lift the first for faster movement.
@tonyhakston5369 ай бұрын
@@ghastdude589it’s a 4-wire analog resistive touchscreen, so it only physically supports single-point touch. When multi-point touch is attempted, this results in the accepted input being the average of the attempted input. With a light enough grip on stylus A and a forceful enough tap with stylus B, you could theoretically bounce stylus A off the touchscreen. If you were to attempt this for real, though, I wouldn’t recommend using a stylus for the concussive touchpoint. You’d want to use your finger to spread out the force and prevent damage to the screen.
@BigOlSmellyFlashlight9 ай бұрын
or two finger
@TyroRNG2 жыл бұрын
The big problem with the bomb sling is that you don't account for the screen gap of the ds. On the physical hardware there is a bit of space between the top and bottom screen which is accounted for in the minigame itself. Aiming at a straight angle with both screens put together actually aims too low for the top screen.
@pokepress2 жыл бұрын
Also, the bomb will fall slightly between the time the ball is released and when it reaches the position the bomb is at.
@MrCheeze2 жыл бұрын
Yeah, you also WANT to be aiming slightly below the bomb, so in this case the two errors roughly cancelled out. But there's room for improvement.
@Pixelhurricane2 жыл бұрын
also looks like there's no priority for bombs found near the bottom of the screen so it gets overwhelmed easily when a lot of parabob-ombs spawn at once
@squidiskool2 жыл бұрын
Terry theres as Like!
@devforfun56182 жыл бұрын
@@Pixelhurricane he definitelly programed priority for the lower bombs
@FfrankF2 жыл бұрын
I really like how you changed the background of the little CodeNoodles guy to a darker shade so all of us gremlins watching at 3 am don't get flashbanged
@kaylasheblosky8454 Жыл бұрын
It’s a real help
@Supersonic642726 күн бұрын
Currently watching at 5am
@joekewl753910 ай бұрын
Meanwhile, I'm amazed Luigi never blinked that *entire* time.
@landon2plants2 жыл бұрын
that’s awesome how fast the bomb sorting minigame was so quickly solvable for the script
@BLANKdev2 жыл бұрын
I have no idea how you can do these amazing projects so quickly, but you have quickly become one of my most anticipated new devs to wait for videos from. This mini series is awesome!!
@danielyuan98622 жыл бұрын
Well, he only makes the algorithm work. He doesn't try to optimize it.
@matthias9162 жыл бұрын
for the slingshot thing, you can just take the bomb position minus the slingshot position and multiply that by -1 instead of calculating the angle
@jlco2 жыл бұрын
You would still need to normalize it to keep the position on the screen. I assume that's still way faster, though.
@johanngambolputty53512 жыл бұрын
or just do p2-p1 instead of p1-p2 in the first place... and then normalise as required
@Howzieky2 жыл бұрын
@@jlco yeah normalizing is just dividing each component by the overall distance. Way faster. Also, you don't have to normalize it. You could just check if either component is a certain length. If it is, multiply it by a decimal that'll set it to the max value. Then multiply the other component by that same number. Basically, if the max component size is 2, and your vector is (2,4), the y component is too big. So you multiply it by a decimal that will set it to 2. That's .5. Then multiply the other component by that same decimal. Your new vector is (1,2). Same angle, smaller magnitude. Sure, this give vectors at a 45 degree angle a larger magnitude than those at 0 or 90 or 180 etc. but is that even really a problem?
@jlco2 жыл бұрын
@@Howzieky That might be a better solution, assuming the projectiles don't move too slowly.
@khatharrmalkavian3306 Жыл бұрын
You don't even have to multiply, just invert the subtraction.
@FuzzyJeffTheory2 жыл бұрын
I’d like to see the ‘Puzzle Panic’ mini game (the one where you select a tile and its neighbors are flipped)
@josephcole73992 жыл бұрын
That game can actually be proccessed to show the exact tiles to solve it, using bit operations on a array of the lights state. Once they know the start and end points, it is a completely solved game.
@PixieOfTheSewers2 жыл бұрын
The desert one? Is that the right one?
@barttennekes5442 жыл бұрын
@@PixieOfTheSewers Yes
@user-pr6ed3ri2k2 жыл бұрын
ddbtpdktktk
@user-pr6ed3ri2k2 жыл бұрын
t
@blitz-o-byte2 жыл бұрын
literally just watched the "wanted" minigame video, and i love that theres another one of these! coding is super cool to watch be done
@sluggknight71302 жыл бұрын
12:05 toad needs a raise
@memoman_yt10 ай бұрын
He giving bear to the entre muchroom kindoom exept 2 guys
@i_forgor28132 жыл бұрын
That bomb sorting game was always my worst enemy as a kid, because I lost the stylus and had to use my finger. The screen was incredibly finicky.
@thewiseoldfox Жыл бұрын
Same. And as a child I had to go through multiple DS because the touch screen ages like milk (mainly dust particles in the edges I assume?) to the point that reconfiguring the touch screen wasn't even possible
@TearfulZorua9 ай бұрын
my ds's touchscreen worked fine. I always lost the stylus, but it still worked fine with finger. Though, the top screen broke twice and I had to replace the ds (the part where it clicks into place broke off, and the screen was no longer attached to the controller base except for with wires). I also had only one 3ds and it too worked perfectly fine up until a few years ago when the SD card slot started to malfunction. Both I used constantly for years.
@petoro92038 ай бұрын
Actually the ds and dsi screens work with other stuff besides finger/stylus so when i inevitably lost my stylus, i used a dull toothpick. It was great!!
@zdelrod8292 жыл бұрын
I would love to see these scripts be optimized to the point of being near endless.
@threemays2 жыл бұрын
I don't think I've EVER seen that animation where the bomb squares are emptied. Really cool and satisfying to see these programs at work.
@ResonanceHub2 жыл бұрын
I'd love a follow up of this video were you perfect the errors the AI's did so that they're absolutely perfect! And I want to see a livestream of that AI endlessly perfectly solving the minigames till infinity
@Ohrami2 жыл бұрын
It's not an AI. It's just a script.
@ResonanceHub2 жыл бұрын
@@Ohrami I know, but saying AI sounds cool 😂
@TheBaxes2 жыл бұрын
@@ResonanceHub marketing department in a nutshell
@insertgamertag53692 жыл бұрын
@@TheBaxes 9 year old after learning how to make a script in counter strike
@happily_blue2 жыл бұрын
I think you hit the nail on the head with the first video. "Wanted" is probably the most interesting one of all the minigames. Next would probably be the Wario coins one, as that'd involve a lot more tracking than you currently do.
@tt_thoma2 жыл бұрын
That character somehow still terrifies me but it codes awesome things I wouldn't think of in the first place
@pokepress2 жыл бұрын
Seeing which cards were revealed at the start of the matching game where it got stuck might help determine what happened. From the video, it looks like the code thinks there is still a card there that needs to be clicked. Were either the Goombas or Boos in the cards revealed to the player? I looked at your code and it seems like if it reaches a case where it picks two unknown cards in a row that happen to match, the cards may disappear without the code realizing what the value of the second card was (due to 0.5 seconds of sleep), so it thinks it is unknown, and keeps clicking that space because there are no other matches for it to use (alternatively, it could have registered the value of the second card, but not realized it had been removed as a match and thinks those two cards still exist). You might not need every part of that to happen to get stuck, but I think the second unknown card being a match is the key.
@greebo44462 жыл бұрын
The push and pull of encountering a problem, and then devising a solution is what makes these coding videos so fun and interesting to watch. That being said, I feel like each minigame falls one problem/solution cycle short, and it's a bit unsatisfying. IMHO, once you feel like it's "good enough", I think you should dig in and push for one more complex improvement to really bring it home. Regardless, this video was awesome and thanks for the memories of these gems, I can't wait to see you crush some more :)
@Yakoiisyaboi Жыл бұрын
new super mario ds was my childhood, man. My sister and I LOVED(and still do love) that game. Glad to see it getting love :)
@jamesdoesthings10962 жыл бұрын
I am an enjoyer of these automated script videos destroying my scores in these games. I’d love to see more!
@PhantomAarantula2 жыл бұрын
Came for Sort or Splode, but stayed to have my mind blown at how the script could so well match all of those cards.
@NewfieCatgirl2 жыл бұрын
Hello
@breadeater19722 жыл бұрын
10/10 video man! the part with the tan, sin, and cos with the paragliding goomba is the first time I've seen someone use it in "real life" XD
@breadeater19722 жыл бұрын
XD
@renakunisaki2 жыл бұрын
If only they'd told me in high school that trigonometry is important for games.
@breadeater19722 жыл бұрын
@@renakunisaki XD so true though
@maneruloquendero Жыл бұрын
I admire whoever capable of programming such things. Because for the life of me, I will never be capable. Love this vid ♡ Also, that Toad from the 3rd minigame was hella busy
@TheAdvertisement2 жыл бұрын
The Nintendo DS games are definitely way too underrated. I had so much fun with them as a kid! Also Luigi should still be teaching kids how to gamble.
@batofdestiny Жыл бұрын
This is really cool, even if I don’t understand computer/scripting stuff. Please, keep doing more of these types of things.
@ComplexOri2 жыл бұрын
This was very fun to watch! Thank you for spending time on these minigames!
@memetech-2 жыл бұрын
The memory master one is clicking too early, note the goomba one where a match was found, but was ignored because the game hadn’t started yet
@TyGuy24622 жыл бұрын
That’s not the script doing that, that’s the game showing the player a few cards before the game starts
@renakunisaki2 жыл бұрын
That might be why it got stuck though. It clicked before an animation had finished, and the game missed it. That, or it failed to recognize a card being removed. Perhaps it needs to recognize the "empty space" graphic too.
@memetech-2 жыл бұрын
@@TyGuy2462 oh yeah, maybe if it waits a sec first that will fix it
@PanKoperek2 жыл бұрын
bro making cheats for every super mario minigame, i love it
@SHADECIRCLE2 жыл бұрын
This is incredible, I'm really excited to see if you'll do the rest of them. Or even minigames from other games like Kirby.
@jamesonshekmeister2 жыл бұрын
Watching the Memory Master game at 100x Speed and seeing Luigi bounce up and down at rapid speed was hilarious. It's like he was hacked up on caffeine, like he took a few Red Bulls and espresso shots before coming into the casino.
@SirRebrl2 жыл бұрын
On Bob-omb Squad, if you take deltaX and deltaY from the bomb-omb to the sling, you can just add that to the sling position. No trig needed at all. Trig is good for modifying a vector by other angles than 180, but with a 180 you just have to pick the right direction and then translate it instead of rotating.
@AbelShields2 жыл бұрын
Poor luigi going bankrupt at the end
@Myrderbeans2 жыл бұрын
Got an ad with the exact same music you were using in your airship bob omb part and it lined up perfectly what the fucj
@SuperStarStudiosPlush Жыл бұрын
I would love to see part 3! You’re actually really good at this, and I love your video style! :)
@Arial555552 жыл бұрын
39100 for Bob-omb squad isn't too bad, but it could be WAY Better. I at least expected the program to get higher than my high score of 87000, but it barely made it halfway! I recommend having the program prioritize hitting areas with larger clusters of bob-ombs to get more score per shot via combo-hits (and to more efficiently kill bob-ombs in general), and to prioritize shooting the Lakitu down at all costs later in the game, since even a computer would be incapable of keeping up with the number of bob-ombs on-screen due to how slow it takes the slingshot to reload. On a completely different note, you (as expected) easily beat my score of 330 on Sort or 'Splode- and could probably compete with the TAS, given some minor tweaks to the code. Nice work.
@danielyuan98622 жыл бұрын
I think the least thing an AI could do is to improve its accuracy.
@Mariomaster_rl2 жыл бұрын
I’ve been waiting for this episode not even knowing it was coming out😅
@buhlsofst33l672 жыл бұрын
I love the bye bye at the end nodding to the bye bye Mario makes when you close the ds on either of those games
@kooldogkid1492 жыл бұрын
My guy takes TAS to a whole different league. Nice work dude.
@spadox31992 жыл бұрын
Plot twist: The sort or 'splode game was played by a human and is absolutely insane.
@tajini8172 жыл бұрын
Ummm. Acshuarry, it is being played by an algoritm and not a human! 🤓😂
@boiifinnaroast51092 жыл бұрын
@@tajini817"plot twist"
@tajini8172 жыл бұрын
@@boiifinnaroast5109 r/whoosh
@Pamda97 Жыл бұрын
@@tajini817 r/itswooooshwith4os
@Pamda97 Жыл бұрын
@@tajini817 r/itswooooshwithouttheH
@丷TM9 ай бұрын
“Making it impossible without outside interference” *Me as a 8 year old doing so many games of Memory Master and getting the all right with nothing*
@saraysilveyra28412 жыл бұрын
I don’t know a single thing this man is talking abt but I’m here for it
@Nyroque2 жыл бұрын
Interesting Video! One suggestion I have for the slingshot minigame would be to prioritize hitting the lowest bombs on the screen
@Xander_X2 жыл бұрын
I love these sort of videos and want to practice programming soon
@rouge47362 жыл бұрын
THIS IS AMAZING I CAN SORT OR SPLODE GET EVERY ONE IN AS I TRYED ALL THE TIME TO NEVER MISS ONE OR PUT ONE IN THE WRONG AREA YOU ARE A GOD
@PedroJEgea11 ай бұрын
I didn't expect to hear the Ride of the Valkyries over bob-ombs being automatically sorted but it was absolutely perfect in every way.
@JarethR2 жыл бұрын
This gets me thinking of the wario coin mini game (I forgot the name) but I've always thought it was impossible to get a perfect game but I would love to see that mini game be done by code!
@RNGMecha9 ай бұрын
Damn, this Phyton guy is gonna make Luigi's business go bankrupt
@KanashimiMusic2 жыл бұрын
I love how you keep saying "Bomb-Omb" even though it clearly says Bob-Omb lmao
@TheLastArbiter2 жыл бұрын
Really fun. I loved those mini games! For the second one, maybe it would be good to add programming to prioritize targeting Lakitu if it is on screen, since killing lakitu will remove all bombs on screen. Seems like it was only able to hit Lakitu by chance
@syrup87992 жыл бұрын
I like the new... noodle character thing. It kinda makes me hungry though
@Kirby_Super2 жыл бұрын
I really hope this becomes a series because I would love if you did that one mini game where you have to draw lines to guide him towards the star and away from the piranha plants, Don't know what it's called.
@Le_Dave2 жыл бұрын
The sound effects of the bob-omb mini games awoke memories from my childhood, and those SFX are still as satisfying as they were when I was a child.
@Imaproshaman72 жыл бұрын
Wow, this was really cool. I'd love to see the other games done too, like the Pair-a-Gone and On would be interesting. Anyways, these are really awesome. Nice.
@mackado2 жыл бұрын
I would love a GDQ event (or similar marathon) with competing teams having built scripts independently for different mini games.
@wjamesmci2 жыл бұрын
Memory match and 100x speed: Toad gets a workout
@Cretaigne952 жыл бұрын
Toad having a meltdown at 100x speed while a coked up luigi stares at you in memory master is hilarious
@jimbomillit25442 жыл бұрын
Luigi after the bot wins at a gambling game for the 1,000,000,000th time: "I'm getting real sick of clapping"
@cadmiarjw2 жыл бұрын
finally SOMEONE recognises SM64 DS
@MarioMasta642 жыл бұрын
btw fun fact: for the parachuting bobomb minigame you can actually just touch the cannonball to the bomb directly and let go
@melonypanda35712 жыл бұрын
You just brought back suppressed memories of all these minigames
@Adrianucho_2 жыл бұрын
Just seeing that code being written down at full speed makes me think how many hours did it take to make this video... And why I prefer animating things instead of programming them... Good job, so interesting! Also love the Spaghetti.
@shadowzero36732 жыл бұрын
I played the bomb op sort minigame SO MUCH as a kid, nice to see something so close to perfection Good job!^^
@doggo70782 жыл бұрын
"I was hoping the AI would make it to 9.999, but 3100 is good enough for me" Shadow the hedgehog would have considered you a beta male.
@CodeNoodles2 жыл бұрын
It wasn't over 9000 😞
@zenyythultimate2 жыл бұрын
and they say the house always wins, i know luigi got fired immediately
@slightlyistorical17762 жыл бұрын
For the Bomb-omb Squad minigame, a tactic I discovered while playing way back when was whenever there were too many falling Bomb-ombs on top of the flowers, just aim the slingshot directly parallel to the ground or at a slight upwards angle and just slam-fire it like a M1897 trench shotgun. It actually worked really well so long as you can keep spamming it and your score can get ridiculously high for as long as you can keep up the pace and not let any Bomb-omb slip through.
@shoefight63022 жыл бұрын
new to the channel and just wow! you do some really cool stuff! cant wait for you to go big noodle man
@SinglExplosiv2 жыл бұрын
good video, much more calming version of a code-themed projectile that doesnt give me anxiety watching their process. can't wait for more!
@rinchanlife2 жыл бұрын
you chose all the ones that were my favorite as a kid god the nostalgia
@peodjdn2 жыл бұрын
Props to you man. I remember working with coding in high-school and that stuff really was difficult
@glitchy_weasel2 жыл бұрын
Nicely done! This is a surprisingly fun introduction to AI.
@Hlebuw3k2 жыл бұрын
ah yes, the good old "why play the game, when you can make a robot play it for you"
@CatmunistCom Жыл бұрын
luigis cold dead eyes as his entire gambling empire is brought to its knees by the god king "player" is the funniest shit
@ItsTurboCharged2 жыл бұрын
Oh my goodness seeing all these games gives me so much nostalgia! I remember I would play on my cousins 3DS. I miss those old days 😢
@theGreenPiedPiper2 жыл бұрын
if you programmed the cannonball to shoot the Lakitu every time it shows up on screen you could probably get a lot further on that mingame. Either way, AMAZING WORK!
@fnafmasterof10 ай бұрын
"m-m-m-mario, what are you doing?! mario you're bankrupting the company! mario please!"
@yaayeet87392 жыл бұрын
This man robbed tf out my green boi right there in the end 😂
@Jorasaurus2 жыл бұрын
I have played sort the bomb a lot as a kid. I now know how bad I was at it because I have never seen the animation of it sending the 40 bombs up
@Nintendude13572 жыл бұрын
okay every bit of this video is very interesting to watch and all but Toad running around the casino at 100x speed is really hilarious to me
@Md5offical2 жыл бұрын
Coding noodles has really good coding experience that can match google’s image recognition
@byrontheusurper65052 жыл бұрын
MAN I love these minigames! Especially Bob omb squard, classic favourite!
@wingedcatgirl2 жыл бұрын
Potential alternate solution to grabbing the wrong bomb in sort or splode: Drag it to the center in one frame, recheck image recognition specifically on the center, drag it to the right spot in the next frame? This only works as long as the bot sorts fast enough that bombs never manage to walk into the center on their own...
@DarkLink1996.2 жыл бұрын
Held bombs are always drawn on top of walking bombs, aren't they? It shouldn't matter if another bomb is in the center.
@wingedcatgirl2 жыл бұрын
@@DarkLink1996. Possibly! It's been a long time since I actually played this game.
@CHILLIN25402 жыл бұрын
I think the Bob-omb Squad script should prioritise hitting Lakitu
@cancledacc2 жыл бұрын
These are really cool! All of the coins from these runs are good
@Johnny10-man10 ай бұрын
12:03 Look at Toad go, serving drinks at lightspeed.
@antonioreyes4212 жыл бұрын
Reminds me when i Used to code. Wasn’t a pro like you. I started out in GML (GameMaker Studio). Didn’t move up from there because of life jejejej. Seeing these videos make my inner child leap of joy.
@SuperShadow2 жыл бұрын
ayy fellow GML starter
@antonioreyes4212 жыл бұрын
@@SuperShadow Hello!
@luma46822 жыл бұрын
This is so cool, inspiring, thanks dude, you did great job with my childhood ❤️ I love it ^^
@TitanMC_2 жыл бұрын
12:45 Toad zipping around is so entertaining
@idiothoved6 ай бұрын
Got to level 2k+ in the wanted minigame when i was younger. Still one of my biggest flexes
@CodeNoodles6 ай бұрын
That's pretty impressive!
@gigiusack8521 Жыл бұрын
11:54 I love Luigi’s bobbling nose. Jiggle physics FTW
@catthem2 жыл бұрын
Luigi sitting there and sweating when a robot comes in to take all of the casino's coin
@bowserjr476 Жыл бұрын
toads a busy little bee in that casino💀
@maryfreegirl20292 жыл бұрын
So satisfying to see that sorting black/pink minigame solved so quickly i was so bad at it ahah
@pecemakor9172 жыл бұрын
I would love it if you did the rest of the minigames
@shadowfantasiesf85562 жыл бұрын
You cracked the code of the algorythm.
@AnimaAim2 жыл бұрын
PLEASE do more I love this
@BusterBrown12172 жыл бұрын
Thanks for not calling it an ai this time! Instantly makes it better
@CartiersRavioli2 жыл бұрын
This scratches an itch in my brain I didn't know I had.