I Made Super Mario Bros but it's 3D

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments

Dani is officially now "One of the cool kids" on YouTube

πŸ‘οΈŽ︎ 3 πŸ‘€οΈŽ︎ u/Ovalt πŸ“…οΈŽ︎ Mar 20 2021 πŸ—«︎ replies

0:14 Is it just me, or is that Mario lookin' kinda... T H I C C

πŸ‘οΈŽ︎ 1 πŸ‘€οΈŽ︎ u/Dasioreq πŸ“…οΈŽ︎ Mar 21 2021 πŸ—«︎ replies
Captions
[Music] in one of my last videos i decided to take the original sonic game and turn it into a new 3d version that video performed really well and it was actually my first video to pass 1 million views which is crazy to even think about so i decided to do the same thing again but this time with an even bigger and arguably better video game franchise the original super mario brothers and since the last video broke my record for 1 million views let's try to make this the video that breaks my record for 100 000 subscribers so uh subscribe the first thing i decided to do was figure out how i was going to make the change from 2d to 3d when remaking sonic i just decided to find a model of classic sonic online but this time i want to try something different old games like super mario bros were made using sprites that consisted of two dimensional pixels but there's actually another form of pixel art that uses the third dimension called voxels which is basically the form that minecraft builds take i've seen voxel art of the old 8-bit mario before and decided to make a game entirely in this art style so the first step was to make a 3d version of all the 2d sprites and oh this is gonna take a while isn't it i started with the running animation since the player will probably be seeing this the most i grabbed three colors for the red green and yellow and started placing blocks down to make the 2d sprite but the problem is that it's still basically 2d so i had to figure out how to make it 3d so i started studying existing voxel art of mario to see how people go about making something into 3d i don't have footage of me messing around with this stuff because it took me hours to do i'm starting to run low on storage space so i'll just jump to the finished models the body on all three of these models were completely different so i had to make them from scratch but luckily the head is exactly the same on all of them so i could just copy and paste it over the next step was to make a model for mario while he's idle now this was a bit weird because no one is stanced up sideways like the chad meme at all times so i had to edit it a little bit his left arm was lower than his right arm so i raised it up to make it symmetrical then all i did was take his head and rotate it the right way and finally the last model that i needed before moving on was mario jumping it was pretty much the same process as all the others so there was really nothing new to show there with all these models complete i was able to start making him move around in the game i started with the idol model and slapped on the character controller that i always use it's a bit weird to just have him running and jumping around while he's in the idle animation so i had to add in the other models i made it so that when mario performs a specific action it'll activate the right model and deactivate the other ones so when mario jumps it changes to the jumping model and landing will go back to normal then when mario is walking it'll start a timer to know when to switch between the three run cycle animations i also made it so that mario has the ability to run when holding the shift key he will run faster and the time between running animations is decreased the next thing i wanted to do was create a little play area for mario to run around in i started by making a couple of textures to represent the different blocks i ended up with five different textures for the ground and other types of blocks i could then use those textures to make materials inside of unity and then apply them to some cubes to make the blocks that i needed for the question block i made a second version of the texture without the question mark so that i could put it on the top and bottom of the cube then i made the little test area of the different blocks i made but mario couldn't interact with anything yet naturally i wanted to start making mario interact with the cubes so i went back and looked at what happened when mario punched the blocks in the original game when mario punches a question block it immediately changes the sprite from a yellow block to a brown block to indicate that it's been hit it also plays a little animation that makes the block jump up a little bit knowing this i started working on replicating that i made an animation using unity's built-in animator to change the y position of the block which is basically just the height then i added a trigger below the block and if mario enters that trigger the block will change materials and play the animation the brick blocks also behave in a similar fashion if mario is small hitting a brick block will make it jump up a bit but that's it it doesn't change materials however if mario is big then hitting a brick block will break it into four pieces so now we have to figure out how to make mario big everyone knows that grabbing a mushroom makes mario bigger so i started making a 2d version of the mushroom next i tried to figure out how to turn that into a 3d model and finally i made it so that i could move along inside the unity then i added a trigger to it so that mario could pick it up and get bigger and yeah that's literally all i did i just made it so that mario gets bigger when he grabs the mushroom it took me hours to make the first few models for mario and i didn't really feel like spending another few hours doing it all over again for a slightly taller mario so instead i just decided to compare the size between mario when he's small and when he's big the small mario is 16 pixels tall and 12 pixels wide and the tall mario is 32 pixels tall and 16 pixels wide this means that mario gets 2 times taller and 1.333333 times wider i tried using these numbers to scale up mario when he's bigger but in my opinion it looks slightly off kind of like skinny mario so i reduced it from 2 times taller to 1.6 times taller and now it doesn't actually look that bad since mario can get big now we can continue working on the brick blocks the old me would have just destroyed the block and called it a day but now i finally started to learn how to use unity's particle system and now i can make cool effects like the cool kids on youtube and the original game the block would break into four circular pieces so i made an effect that breaks the block into four spheres since this is now a 3d game and now it looks a lot better than just making the block disappear since i was in the mood for polishing up the game i also made it so that the question blocks will shine by making the middle aspect of the material ping pong back and forth between 1 and 0. and since i realized i didn't actually have a way of spawning mushrooms yet i made it so that hitting the question box will spawn a preset item the next thing i wanted to do was create the pipes as always i started with a 2d shape first but then i realized i don't know how to make a circle using pixel art so i had to look up how to do that to save time i only modeled one half of it and then i rotated it and mirrored it to create the other half but if i were to stay true to the original design then that would mean having this really ugly looking black outline on the side here it looks fine from a 2d perspective but it doesn't look good in 3d so i changed it to be the normal green color and i also had to get creative when designing the top because obviously you can't see what the top looks like from the original game and with that the top part is now done i did the bottom separately because it can be used to copy and paste and make it into a taller pipe and now with the pipe completely finished i had to make mario enter the plate mario can enter the pipe by crouching in the original game so i made mario crutch by shrinking him down now when he crouches on top of a pipe he gets brought to the center faces the camera and then i turn off collision and camera tracking to make it look like he entered the pipe but he's actually just falling through the world forever then when mario comes out of a pipe i have to re-enable collisions so that he doesn't fall back through with the pipes finished i decided to make the bushes next because they had the same color palette as the pipe unlike the pipe black outline actually doesn't look bad on the bushes so i decided to keep it and there are actually three different versions of the bushes but the only difference between them is that they copied and pasted the small bush a few times to make the larger bushes and by this point i started to realize how much copying tasting the original developers did when making the game like watch this did you know that goombas are just the exact same model as the mushroom but just slightly modified to be able to fit their feet needless to say it wasn't hard for me to edit the mushroom model to make the goomba i even used the same script i used to make the mushroom move to make the goomba move the only difference is i had to make goombas hurt mario instead of giving him a power up and i also quote unquote animated the goomba by mirroring it every few frames to make it look like i was walking the only difficulty i had making goomba was trying to get mario to stomp on it i made a hitbox for mario to jump on the goomba when mario touches the hitbox it's supposed to shrink the goomba and make mario jump a little bit half the time he works as intended but the other half of the time he misses the hitbox and hits the hurt box instead making him take damage i'm still not entirely sure how hitboxes are supposed to work but next up was making the other iconic mario enemy the koopa i realized that the koopa was going to be a lot more complicated to make than the goomba this is because the koopa actually has two distinct animation frames while the shell stays constant the head and the feet change i tried my best converting it to a 3d model and it looks really good but just don't look at it straight on when stomping on the goomba it turns into a shell which will start spinning away when it's stepped on other than that i reused the mushroom script once again to make the koopa move with the enemies finished i think it's time to add the rest of the power ups the next power up i worked on was the fire flower when making the fire flower model i thought about making it look like this first but then i realized that the fire flower in later games doesn't actually look like that so i changed it the interesting thing about the fireflower is that it constantly changes color i did this by simply changing the colors magical voxel and then importing the new versions into unity to get the new materials then i could set it on a timer and swap between the materials every few frames then grabbing the fireflower will also give mario the power up which will change his color as well then i modeled the fireball and made it rotate when it's active then i picked a spawn point in front of mario to shoot fireballs from and now clicking will shoot fireballs out these fireballs will bounce using a physics material and will also destroy any enemies that it touches the last power-up to add now is the star like the fire flower the star will alternate colors and like the fireballs it'll bounce on the ground when mario has to start power up he'll gain invincibility and he'll also change between four different colors one of which is what he currently looks like and then i had him make it so that he will constantly destroy any enemy he comes into contact with at this point i was getting ready to start replicating world 1-1 but there were still a few more things that i needed to add in world 1-1 there's a secret underground section where you can collect some coins i modified the textures i made for the ground block and the brick block to create the bluish underground version of the blocks and then i have all the coins and started placing them around in the original game the coins don't actually spin they just shine but all the 3d games and even super nintendo world show that the coins spin so i decided to just make them spin next i needed to show that mario could collect the coins so i started working on the ui i replicated the look of the ui from the original game using a font i got from google fonts but for now the only thing i'm going to change is the coin count i'll save the score and timer until later in the video the reason being is that we still need to make the iconic end of the level the flagpole in the castle mario gains points at the end of the level based on how high on the flagpole he reached and how much time he had left when he finished the level but first i need to model the flag and the castle the flag was pretty straightforward it was just a sphere on top of a very long 2x2 pole next i made the castle by taking a brick block making a base and then making the top then i made all the little pieces on the castle that stick up and added the yellowish outline to both the top and the bottom and finally i made the doorway in the two windows now to make mario grab the pole i actually needed one more animation model so i decided to just take the jumping model and alter it a bit so both arms and legs look like they're reaching out finally i can make it so that when he grabs the pull he'll slide down and walk inside the castle to do this i made sure that when the bowl is grabbed the collision on the castle is disabled so i place the block inside the castle that will stop mario from completely walking through the castle this block will be important later again when calculating the final score but for now we need to work on the timer the timer is weird because when it shows 400 times left that isn't actually 400 seconds it's 160 seconds because why use something that already exists and works when we could just make our own you can figure out how much time is left by taking what the timer shows and dividing by 2.5 i don't know why that's just how it is with that in mind we can figure out how to calculate how much time is left and make an accurate timer then we can start calculating points mario gains points based on each enemy he destroys he gains more and more points for enemy destroyed if he doesn't touch the ground this is also how he can gain infinite one-ups other ways you can collect points are from the flagpole and the time remaining when finishing the level based on how high mario grabs the pull he'll gain more points in the later games he gets a one-up for touching the ball on the top but in the original he would only get 5000 points then when mario goes inside the castle it'll start giving him 50 points per each unit of time left this is why the block inside is important when mario touches that block the points start adding up and now there's only one thing left to do and that's to start making the levels but i'm only going to be doing world 1-1 in this video i found a picture of the outline of the level and then used that as a basis to start creating i placed blocks and the other stuff that i found and first made a 2d outline then i stretched out the blocks to make it wider and more 3d looking then i started moving things around to make it have more depth than a one block wide level i made a blue texture to create a skybox and made it turn black when you enter the underground level and the result is exactly what you're looking at now i also started testing with other camera angles instead of a third-person camera like this i tried doing an orthographic camera like the one from crossy roads but it was kind of hard to play the game this way ultimately i think the best way to play this specific level would probably be the original 2d perspective but i think this little game serves as a cool playable version of a super mario bros diorama as with all the other games that i remake on this channel i won't be releasing this for obvious reasons but i think it would be cool if nintendo themselves made a 3d game in this style in the future and that's pretty much all i have for this video alright see ya
Info
Channel: CodyCantEatThis
Views: 4,103,952
Rating: 4.9428072 out of 5
Keywords: super mario bros, mario, unity, game dev, game development, unity game dev, mario unity, super mario unity, super mario, mario 3d, super mario bros 3d, i made super mario bros but it's 3d, codycanteatthis, voxel, magicavoxel, voxelart, voxels, voxel art, indie game development, mario remake, super mario remake, mario clone, nintendo
Id: a6HKeqWY6T4
Channel Id: undefined
Length: 11min 57sec (717 seconds)
Published: Sat Mar 20 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.