I Made Sonic the Hedgehog but it's 3D

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments

https://youtu.be/gj0K72pZdko <- link to video.

👍︎︎ 1 👤︎︎ u/jonavanmemes 📅︎︎ Jan 17 2021 🗫︎ replies

I saw the picture and thought you made a paper sonic game. Similar to paper mario. Can you make that next?

👍︎︎ 1 👤︎︎ u/andku85 📅︎︎ Jan 20 2021 🗫︎ replies

what website that 3d model think

👍︎︎ 1 👤︎︎ u/CandleWhich7666 📅︎︎ Mar 24 2021 🗫︎ replies

cool game is it playabl

👍︎︎ 1 👤︎︎ u/PIGEONGANG21 📅︎︎ Dec 29 2021 🗫︎ replies

if u can play it wat place do i go to

👍︎︎ 1 👤︎︎ u/PIGEONGANG21 📅︎︎ Dec 29 2021 🗫︎ replies
Captions
so a lot of people have been wanting me to do a video trying to remake sonic but there are a lot of games that i've played and even more that i haven't so it was hard to choose just one i could try to remake sonic 06 and try to fix the uh features that the game had or i could try to do something wacky like giving sonic a sword wait no that already exists and 10 year old me enjoyed that more than i probably should have but actually i think i'm going to remake the original song the hedgehog because of how much time i spent playing the original games as a kid i only owned a couple of games for the sega genesis i had sonic 1 2 and 3 sonic 3d blast sonic spinball and richard scary's busy tone hi i would like to have some lemonade needless to say i played a lot of sonic growing up and i just think that green hill zone act 1 was such an iconic level in the game that even sega decided to remake it to some degree in sonic generations however something was still lacking about the remade version in generations and that's the third dimension while sonic generations merely updated the level to use modern graphics and assets i plan on reimagining the level as if it were designed as a 3d game so in order to try and remake it as accurately as possible i needed an accurate picture of the level to use as a reference and by reference i mean completely tracing the outline of the level after i finished the outline of the level i was left with a boring looking gray shape so the next thing i did was make materials for the grass the dirt and applied them to the outline but at this point i still just have a 2d shape so to fix this i just dragged it out and now it's 3d i intentionally held off on some parts for now like this loop and you'll see why later but for now we have to fix this problem of staring off into the infinite void first i made a simple plane and stretch it out to represent the water so that you can see the background of the level then i reused the same water shader that i used in my portal video to make the goo and now we have a pretty convincing body of water surrounding us finally i needed to make a new skybox to fully immerse ourselves into this world now there are some things that i know how to do in gamedev but making a proper skybox isn't one of those things so i simply made a square with a repeating texture and made a dome out of it and the results are actually really good except when you look at it from this side at this point the bulk of the level design was now finished and now i just had to go around placing tiny props like trees and flowers i found a bunch of models on sketch fab for all of these and got to work on adding them into the game first i had the palm trees then the yellow and purple flowers as well as these tiny little bushes then i found a model for an old crt monitor because for some reason the developers decided to use them as item boxes in this game and it may look fine if we look at it from here but when you turn this into a 3d game it kind of doesn't make sense anymore then i added the bridges some rocks and these weird totem things the last 3d model that i could find was for the end of the level signpost that has sonic's face on one side and eggman's face on the other since i couldn't find a model for the springs checkpoint or spikes i decided to make them myself finally i added in some waterfalls using the same water shader from earlier now with the level pretty much complete it was time to add in a playable character and the first step was to look for a decent sonic model there were a lot of tempting options to choose from like steven the hedgehog our bravest warrior and well whatever this is ultimately i decided to go with this classic sonic look the great thing about this model is that was fully animated with pretty much everything i needed so huge props to this guy some of the animations were a little bit weird when i imported them into unity so i had to clean them up a bit then i just slapped on the character controller i've been using my previous videos and adjusted the values for things like speed and jump height with sonic moving around now i started to add in features to make him interact with his environment but this is where things started to fall apart getting sonic to jump off springs works just fine basically you just walk into them and you get a jump out of it but remember that loop in the level i skipped earlier let me show you why i held off on that until now after trying my best to model it it looks fine when you look at it like this but since this is a 3d game we need to look at it in three dimensions and yeah just in case my previous videos didn't make this clear i should reiterate that i'm not a 3d modeler but on the bright side at least it works kinda tunnels to be honest i'm not sure how these would work in a 3d space they make sense looking from a 2d perspective but if i were to try to do this in 3d you would have to do something about the camera a common approach to characters being confined in tight spaces is to pull the camera closer to the player to prevent them from being obscured by another object i feel like this wouldn't really work because the size of the hole is basically the same size as sonic and he also gets in and out of the tunnel in about a second so it'd just be a really jarring experience so instead i just decided to make it a simple teleport for a lack of a better solution and the last interactable environment piece are the platforms some platforms go up and down some go back and forth and some just fall into nothingness after stepping on them this last one was a bit tricky to get working in game dev terms basically i had to make the platform be the parent of sonic when he steps on it which to a regular person probably sounds really weird next i made a model for the rings using pro builder and started placing them all around the level to make it work in a 3d space i basically duplicated some of the sets of rings and spread them out to allow players to pick a path i also spread a bunch of rings at the top up here as a bonus for anyone who reaches the top platform now i needed some way of keeping track of how many rings sonic had so i made some ui elements that resembled the original game i added a counter for how many rings were collected a timer a score which at the moment doesn't do anything yet and a life count for sonic the first time you collect something like 100 rings or 200 rings sonic will gain an extra life i'm pretty sure the level has over 500 rings so you could potentially get an additional 5 1ups here and i'm pretty sure all of these rings are also why this scene takes so much storage space on my pc since sonic can gain rings we need to be able to make them lose them this level contains five different enemies crab meat chopper moto bug boss bomber and neutron i was able to find a 3d model for all of them except for neutron i consider replacing him with jimmy neutron but i didn't want to make the game look like a scuffed modded version so i'll just be leaving that enemy out the first enemy i added was the chopper it's basically just a fish that jumps in and out of the water in the 2d version these things appear to jump through the wooden bridge to take a bite out of sonic but i figured this didn't make sense and instead put them into the water next to the bridges the next enemy i added was the moto bug and crabmeat these two enemies have very similar behaviors as they just walk around on the land i use a navmesh to define the area where they can walk and made them patrol around their areas and finally i added the buzz bombers these are some flying b enemies that will fly around and shoot a projectile at sonic when he goes near them after firing their shot they will fly away in my version i made it so that after flying away they won't reappear but in the original it was possible for them to reappear from the other side of the screen if they weren't defeated after adding all the enemies i made it so that if sonic jumps on top of them he'll destroy them but if he walks right into them he'll get hurt and lose all of his rings and this is where it once again gets tricky i noticed that if i collected a bunch of rings before getting hit it would cause the game to lag for a moment at first i thought this was because i was spawning in over 100 rings at the same time so i tried to fix this by doing something called object pooling basically instead of spawning in objects while the game is running you create a pool before the game starts that'll hold all the objects then when you need them you just move them out of the pool and when you're done you put them right back in this is supposed to help with game performance but even after doing this i saw no noticeable improvement and then i realized that i was spawning in over 100 rings in the same location that all had their own collisions enabled so basically each ring is colliding with the other 100 rings all in the same spot and unity is trying to do some intense physics behind the scenes to try and figure out what to do so even though i know the problem is i genuinely have no idea how to fix this so if you have any idea of what to do leave a comment or something so i don't run into this problem again in the future okay getting back on topic if sonic has no rings when he gets hit then he'll lose a life i tried to replicate the death animation from the sonic games in this animation the camera will stop following him and he falls through the ground i try to do a similar thing if sonic jumps into the water whenever sonic loses his life he'll respawn the start or the last checkpoint he activated however sonic can avoid taking damage from spikes and destroy enemies if he's invincible one of the power-ups from the crts gives sonic defensibility for 20 seconds during this time sonic will avoid all damage and walking into enemies will destroy them similarly sonic can get a shield from the crts this shield will prevent sonic from taking damage one time so instead of losing all of his ranks he'll just lose his shield and finally the last feature left to program in is the score mechanic sonic will gain points for jumping on enemies and destroying them if he jumps on several enemies in a row without touching the ground he will progressively get more points for each enemy destroyed these numbers can range anywhere from 100 points all the way up to 10 000 points also when sonic reaches the end of the level and spins the goal post you'll gain bonus points for finishing the level depending on how fast level is beaten you'll gain anywhere from zero to fifty thousand points so speed runners can get rewarded and for those who like to take their time and collect everything you'll also gain a hundred points for each ring that was collected these points will get tallied up at the end and added to your final score now with everything in the level finished i think it's time to show you guys some gameplay [Music] do [Music] all right see ya
Info
Channel: CodyCantEatThis
Views: 5,470,201
Rating: undefined out of 5
Keywords: sonic the hedgehog, sonic, classic sonic, classic sonic in 3d, sonic 3d, sonic the hedgehog 3d, unity, unity3d, game development, indie game development, game dev, indie game dev, indie game devlog, sega genesis, sega, codycanteatthis, unity game dev, green hill zone, sonic green hill zone, green hill zone 3d, i turned the original sonic the hedgehog into a 3d game, hedgehog, sonic clone, sonic remake, sonic unity, sonic unity engine
Id: gj0K72pZdko
Channel Id: undefined
Length: 9min 8sec (548 seconds)
Published: Sat Jan 16 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.