How to Make a Sonic Game in Unity | Part 1: Introduction

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 116

  • @Youtice_451
    @Youtice_451 6 місяців тому +21

    Sike and lubscribe

  • @Davidgotbored
    @Davidgotbored 6 місяців тому +15

    Sonic Adventure 3 Fan Game HERE I COME!!

  • @gingin7960
    @gingin7960 6 місяців тому +30

    i can finally stop complaining about every sonic game ever and just make one myself

    • @thomascircle245
      @thomascircle245 4 місяці тому +1

      Gotta love how the first video showed how to remedy the most infamous part of Sonic Frontiers' physics.

  • @Nitrohedge21
    @Nitrohedge21 6 місяців тому +5

    never thought i'd actually see someone make a tutorial series for this :o

  • @SonicDudeRose
    @SonicDudeRose 6 місяців тому +6

    Thank you Finally A sonic unity tutorial!😭 Im new to unity and ive always wanted to make a sonic game! Keep up the Good Work!!!!!

  • @itsjustcharlie1048
    @itsjustcharlie1048 6 місяців тому +13

    The most important thing that you should make an tutorial video on is how to do grinding rails, because this is the biggest problem people face when making a Sonic game🙂😂

  • @rigbyrules99
    @rigbyrules99 6 місяців тому +5

    Yo, this is cool. Plus these tutorials will help me with something I've been thinking about doing in unity.

  • @DaNovaFRFX
    @DaNovaFRFX 5 місяців тому +3

    It is insane that is has taken this many years for someone to make a good breakdown of how to make a 3D Sonic character controller

  • @Fincredible01
    @Fincredible01 6 місяців тому +3

    I'm so excited to see where this goes, I would love to get this going in my projects to use at level design portfolio work

  • @ZainTheMan
    @ZainTheMan 6 місяців тому +3

    This is really well made! Really liking the style!

  • @jacobsmith1503
    @jacobsmith1503 6 місяців тому +2

    Gonna try this tomorrow, looks great! Thank you for making this!

  • @josephrose4061
    @josephrose4061 6 місяців тому +2

    Finally! A Sonic Unity Tutorial that's this good.

  • @rodlopt
    @rodlopt 6 місяців тому +2

    Can’t wait to see the next episodes ❤

  • @Fincredible01
    @Fincredible01 6 місяців тому +2

    I'm excited to see where it goes!

  • @jonathangarciarodriguez1240
    @jonathangarciarodriguez1240 5 місяців тому +1

    You dont know how happy it makes me that someone finally makes a good sonic tutorial series. There are others that have tried, and while I learned a lot from those, I feel like this specific tutorial series is gonna help me make the sonic movement/controls the best. Thank you so much for this!!!
    PS, on future vids, can you explain why you choose some things that aren't super common to use? I was able to keep up with the video but i can see how if it gets a bit more complicated, some built in functions or terms may be hard to follow

    • @Josh4359
      @Josh4359  5 місяців тому

      links to documentation for all the major functions i use are in the description. i also try to explain it in the video itself as well

    • @jonathangarciarodriguez1240
      @jonathangarciarodriguez1240 5 місяців тому +1

      @Josh4359 ah gotcha, didn't notice. Thnx I'll check that out

  • @staticplays1871
    @staticplays1871 4 місяці тому +1

    what's your approach to learning unity C# and is there any advice you would give to someone trying to learn new things like this, especially movement. One method I have consistently heard is to start with smaller projects and build up more and more. is that a method that you use? like have you made a simpler prototype like this, but you realized there was a more efficient way of doing it? If so, how would one go about learning new things they don't know how to use?

    • @Josh4359
      @Josh4359  4 місяці тому

      as long as you keep trying ull figure things out eventually. game development is hard so the most important thing is that you're having fun with it. things like how you're learning or practicing come second. the only wrong thing u can do is give up

  • @shreyashishmitra6196
    @shreyashishmitra6196 6 місяців тому +2

    Thank you so much for making this tutorial again.This tutorial help me a lot in my project. Again thank you

  • @bradleysleigh7891
    @bradleysleigh7891 6 місяців тому +1

    Relatively new to Unity/coding but there seems to be an issue with my ground detection. Code has been followed identically but when adding the 'if (!ground) return;' line under 'void Jump()' it means the capsule no longer jumps, and removing the line allows jumping again. The slope snap doesn't seem to work either and the capsule still sinks into the ground (which could all stem from the same problem). I'm using 2022.3.22f1 rather than 2022.3.21f1 - could this be the issue? Have stopped around the ten minute mark as don't want to ignore these problems just for them to create larger issues further down the line.

    • @Josh4359
      @Josh4359  6 місяців тому

      sounds like your ground detection isn't working. make sure u wrote down the function properly and that the grounddistance variable is high enough

    • @bradleysleigh7891
      @bradleysleigh7891 6 місяців тому +1

      @@Josh4359 Managed to fix it, thank you! Code was all correct but had to mess with the Y values of the capsule/Rigidbody and ground distance until it behaved. Everything else seems to have worked perfectly so great tutorial!

  • @freakingreninja7790
    @freakingreninja7790 6 місяців тому +2

    Subscribed and I can't wait for more!

  • @CampbellVDL
    @CampbellVDL 3 місяці тому

    What do you start the video off with? Because you already have light and ground and a camera?

  • @HelperUnknownGB
    @HelperUnknownGB 6 місяців тому +3

    Judging by the preview at the beginning, this’ll probably be based on the boost formula, but I wonder if I could adapt this tutorial be adventure-based.

    • @Josh4359
      @Josh4359  6 місяців тому +2

      no, this isn't based on anything. this (including what ill be showing in future videos) is the same approach id take to making a controller inspired by adventure, mario, kirby, or even mario kart. if im able to keep this going long enough it will also include things like spin dash and rail leaning from the adventure series. might even do one on mario galaxy

    • @HelperUnknownGB
      @HelperUnknownGB 6 місяців тому +1

      @@Josh4359 nice! Can’t wait to see the spin dash get implemented!

  • @toasbt
    @toasbt 6 місяців тому +2

    cant wait for more thank for this goat

  • @gamerboymoments1215
    @gamerboymoments1215 11 днів тому

    im gonna have to take notes if i wanna make my perfect junio sonic fan game

  • @ismaelchaves4413
    @ismaelchaves4413 5 місяців тому

    I'm having a problem with the slope rotation, when i walk into it the character starts flickerin between the normal position and the rotated one (which floats way above the other)
    Any ideas on what did i do wrong?

    • @Josh4359
      @Josh4359  5 місяців тому +1

      not sure. make sure u followed the video properly and set everything in the inspector. also make sure u flow it all the way through as i address a few problems throughout the video

  • @DLGanimator
    @DLGanimator 6 місяців тому +3

    Saw the title of this video and immediately smacked the subcribe button lol

    • @itzdcx
      @itzdcx 6 місяців тому +1

      Same

  • @loader-404
    @loader-404 5 місяців тому +1

    thank you so, so much for making this tutorial, it shows the only thing that i cant figure out

  • @flameblastv5151
    @flameblastv5151 3 місяці тому +2

    I like that you are not providing the source code, it incentivises people to watch the whole video and learn coding along the way

  • @itsjustcharlie1048
    @itsjustcharlie1048 6 місяців тому +1

    Woohoooo🎉❤❤❤

  • @blinkachu5275
    @blinkachu5275 4 місяці тому

    For some reason when going down a slope the character slows down tremendously, as if gravity is working against it, is this expected at this point?

  • @laurencehurtado-read1141
    @laurencehurtado-read1141 2 місяці тому +1

    Hi. Thanks for the reply. And yes totally understand you not uploading the code. But I'm not mindlessly following the instructions. I'm new to unity, my son desperately wanted to try this, and I'm an ICT teacher as well. Just couldn't get it to work and wasn't sure if it was something in the code that I was missing. Ended up enabling the gravity checkbox because it was the only way we could get it to work...

    • @Josh4359
      @Josh4359  2 місяці тому

      @laurencehurtado-read1141 yeah this isn't really a beginner tutorial, id recommend watching channels like brackeys or codemonkey if that's what ur looking for. if u need a player controller the character controller component might be a good place to start as it's a little more beginner friendly than the rigidbody, so u can look thru the unity manual and other tutorials on that. however that's not gonna be very helpful if ur specifically looking for sonic-like physics (character controller is best for more fps-like movement) but some people have released full frameworks u can use. im not very familiar with them as ive always just done it myself but gt (or bumper) seems to be the most popular one, tho the codes a mess. ive also heard some good things about ring engine, which seems to be pretty authentic to how the original games work. i also made one a while ago but it's a mess and some people have had problems setting it up. i do have a newer, much better one which i might release eventually but im not actively working on it atm and it's far from ready for release. there are also some good ones for unreal engine like infinity or dash

  • @DerEchteKalldock
    @DerEchteKalldock 4 місяці тому

    Hey. I'm at 9:50 right now. Did everything you did. But as soon as I start Unity the capsule moves quickly to the right. Please help :(

    • @Josh4359
      @Josh4359  4 місяці тому

      not enough information

  • @Boyo263L
    @Boyo263L 6 місяців тому +1

    Great tutorial, would've liked a bit more explanation at 7:09 on what the ? and the : does for the normal variable but overall its very clear!

    • @Josh4359
      @Josh4359  6 місяців тому +1

      ?: is basically just an if-else statement: learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/conditional-operator

  • @THEGhost-ob1qw
    @THEGhost-ob1qw Місяць тому

    Please tell me how to find the jumping and boost and general movement animation for sonic im a beginner who is working his way through game development but i started from blender first to create my own character but i really need a shortcut instead of trying to learn animation too which make me need to go through 3 stages of different paths

    • @Josh4359
      @Josh4359  Місяць тому +1

      yeah making a game on ur own is hard; id definitely recommend finding a team once uve got a decent amount of experience in at least one area.
      the animations are posted on my discord, tho theyre also elsewhere on the internet

    • @THEGhost-ob1qw
      @THEGhost-ob1qw Місяць тому

      @@Josh4359 can u guide me where to download them or is u know sites that have animation movments from previous sonic games etc ...and big thanks for replying

  • @thomascircle245
    @thomascircle245 4 місяці тому

    I'm really liking this so far, but I want to bring up just one more bug not noted in this video (It may very well be noted in the next but I guess I'll see soon):
    If I move the player underneath a ramp, the player can actually phase through the ramp and end up on it. This is presumably an effect of the Snap().

    • @Josh4359
      @Josh4359  4 місяці тому

      that's what the raycast in the snap function is for. make sure uve got the layer mask set up properly in the inspector

    • @thomascircle245
      @thomascircle245 4 місяці тому

      @@Josh4359 It's set to default. Is that correct? Because if so, it seems like something else must be wrong.

  • @octocamandfriends5925
    @octocamandfriends5925 18 днів тому

    hey i went throught your tutorial and i got stuk on the last thing where i cant move the capsule now

    • @Josh4359
      @Josh4359  18 днів тому

      @@octocamandfriends5925 ull need to elaborate

  • @gamerboymoments1215
    @gamerboymoments1215 11 днів тому

    might as well check to see if your demo can run on my windows 8

  • @dinoshi64
    @dinoshi64 6 місяців тому +1

    Time to create adventure 3 y'all /j 🔥🔥

  • @joeb195
    @joeb195 6 місяців тому +2

    yeah!!!!

  • @itsjustcharlie1048
    @itsjustcharlie1048 6 місяців тому +2

    Sooo what about ragdoll engine?
    What version of Unity should I use for ragdoll engine?

    • @Josh4359
      @Josh4359  6 місяців тому +2

      2022.3.21f1

    • @itsjustcharlie1048
      @itsjustcharlie1048 6 місяців тому +2

      @@Josh4359 thx bro🖤

    • @NeweRen
      @NeweRen 6 місяців тому

      i only have 2022.3.23f1. how do i download 2022.3.21f1? @@Josh4359

    • @Josh4359
      @Josh4359  6 місяців тому +2

      later versions should work fine.
      unity hub should automatically detect when a project was made in a different version and let u decide what to do about it, whether to upgrade the project or to download the required version

  • @Trident-f7d
    @Trident-f7d 14 днів тому

    So its been 5 months, i would assume another part 2 would have been made by now

    • @Josh4359
      @Josh4359  13 днів тому

      @@Trident-f7d im working on something else rn

    • @Trident-f7d
      @Trident-f7d 13 днів тому +1

      @@Josh4359 thanks for clarifying, take your time then.

  • @DymaGaming-pp7yg
    @DymaGaming-pp7yg 6 місяців тому +1

    hope u get 1k subs

  • @Youngee3000
    @Youngee3000 6 місяців тому +3

    A template would be nice😂

    • @Josh4359
      @Josh4359  6 місяців тому

      it's just an empty scene with a plane. everything else is shown in the video

  • @mr.shplorb662
    @mr.shplorb662 6 місяців тому +2

    I wish hedgehogs were real

  • @sunsshadow5871
    @sunsshadow5871 6 місяців тому +1

    I think you like rooftop run a little bit.

    • @Josh4359
      @Josh4359  6 місяців тому +2

      this is just a compilation of spagonia music. future videos will do the same type of thing with some of the other locations from unleashed
      but yes i do like rooftop run

    • @mr.shplorb662
      @mr.shplorb662 6 місяців тому +1

      @@Josh4359 based

  • @light-cake3684
    @light-cake3684 6 місяців тому +1

    just asking, where are your older videos?

  • @The.God_Trio
    @The.God_Trio 5 місяців тому

    does anyone have the full script? im struggling with it and i need to copy and paste it

  • @staticplays1871
    @staticplays1871 4 місяці тому

    how come we don't use the gravity method when we jump? that's racking by brain a little

    • @Josh4359
      @Josh4359  4 місяці тому +1

      gravity runs separately from the jump

    • @staticplays1871
      @staticplays1871 4 місяці тому

      @@Josh4359 so if we are disabling Gravity(); when we jump how is the "if (!ground)" or "if(!ground) return" enabling it? I have never seen an If statement for a bool used like this before particularly the return which is still pretty confusing depending on how it's used. Are we returning the result of the if statement under the gravity method?

    • @Josh4359
      @Josh4359  4 місяці тому

      @staticplays1871 return basically just stops the rest of the function from running when used in void functions, so in the gravity function we're just telling it not to run any of the gravity code. running it would be unnecessary since the ground would prevent us from falling any further (since it only returns when there is ground) and it'd only cause problems.

    • @staticplays1871
      @staticplays1871 4 місяці тому +1

      @@Josh4359 sorry just realized that I never disabled gravity in the Rigidbody in the empty gameObject. that might be the issue. I don't mind doing it over again it helps me understand better. I might need to do more simple stuff after this so I have better practice, but this is still great.

    • @staticplays1871
      @staticplays1871 4 місяці тому

      @@Josh4359 So Gravity(); is not being disabled when we jump

  • @Rhodrzz
    @Rhodrzz 6 місяців тому +2

    🤯surprise

  • @itzdcx
    @itzdcx 6 місяців тому +1

    this exactly what I was LOOKING FOR!!!! Finally I make a true sonic game I'm so sick of crappy sonic games I'LL JUST MAKE MY OWN (the best I can)

  • @HamzinaGalina
    @HamzinaGalina 4 місяці тому

    Vector3 sounds similar for sonic fan like me

  • @CAT_GGGGTVR
    @CAT_GGGGTVR 4 місяці тому

    is there going to be a part 3???

    • @Josh4359
      @Josh4359  4 місяці тому +1

      maybe. not actively working on the series but id like to come back to it when im ready

    • @CAT_GGGGTVR
      @CAT_GGGGTVR 3 місяці тому

      @@Josh4359 ok sounds good

  • @Deyonthecyberhedgefox
    @Deyonthecyberhedgefox 3 місяці тому

    How do you get the player folder in assets?

    • @Josh4359
      @Josh4359  3 місяці тому

      @@Deyonthecyberhedgefox you don't need that folder for this video

    • @Deyonthecyberhedgefox
      @Deyonthecyberhedgefox 3 місяці тому

      Ok but Kind of folder can I put the physics material in

    • @Josh4359
      @Josh4359  3 місяці тому

      @@Deyonthecyberhedgefox doesn't matter where it is

    • @Deyonthecyberhedgefox
      @Deyonthecyberhedgefox 3 місяці тому

      @@Josh4359 ok but can you try to make a sonic vr tutorial please because I wanna make a first person sonic vr game

    • @Josh4359
      @Josh4359  3 місяці тому

      @DeyontheanimatorBoss the same concepts presented in this video would also apply to vr. id recommend finding a vr tutorial if u need help with that

  • @The.God_Trio
    @The.God_Trio 5 місяців тому

    what if i wanna make a 2D one?
    -sun

    • @Josh4359
      @Josh4359  5 місяців тому +1

      ull have to translate this to 2d ig

    • @The.God_Trio
      @The.God_Trio 5 місяців тому +1

      @@Josh4359 ok ty

  • @gamerboymoments1215
    @gamerboymoments1215 11 днів тому

    so im gonna create basic joke games for now

  • @gamerboymoments1215
    @gamerboymoments1215 11 днів тому

    to fast and laggy for my pc but great game

  • @raunakgujralsongs9135
    @raunakgujralsongs9135 Місяць тому

    4:07

  • @sergiosg5039
    @sergiosg5039 6 місяців тому +2

    hola, podrías poner subtítulos, así me seria mas sencillo seguir tus videos, ya que con los subtítulos puedo traducirlos a español
    ---------------------------
    Hello, you could put subtitles, so it would be easier for me to follow your videos, since with the subtitles I can translate them into Spanish

    • @Josh4359
      @Josh4359  6 місяців тому

      (using google translate) sure, ill try to add subtitles in both English and Spanish when I have time
      -
      (usando el traductor de Google) claro, intentaré agregar subtítulos tanto en inglés como en español cuando tenga tiempo

    • @Josh4359
      @Josh4359  6 місяців тому

      I've added English subtitles to this video, though I'm not sure how well they'll translate automatically. I might try to find someone to do Spanish manually

    • @sergiosg5039
      @sergiosg5039 6 місяців тому +1

      @@Josh4359 I appreciate it, now I will be able to understand the video better, I hope to see them all when I can.
      -------------
      te lo agradezco, ahora podre entender mejor el video, espero verlos todos cuando me sea posible.

    • @sergiosg5039
      @sergiosg5039 6 місяців тому +1

      @@Josh4359 Well, the subtitles are quite good, it is understandable what you are trying to explain, perfect now with the subtitles your video will have a greater audience reach.
      ----------
      pues los subtítulos, estan bastante bien, se entiende lo que buscas explicar, perfecto ahora con los subtitulos tu video tendra mas alcance de audiendcia.

  • @dcProGT
    @dcProGT 6 місяців тому

    could anybody post the scripts

    • @Josh4359
      @Josh4359  6 місяців тому

      no

    • @laurencehurtado-read1141
      @laurencehurtado-read1141 2 місяці тому

      @@Josh4359 I would really appreciate the script (or support - but I realise you're doing this for free/out of the kindness of your heart!). I'm only 1 minute or two in but can't read everything on VB on the video (think there's a -= near velocity?). And I'm getting errors but have copied your code exactly. Can't even get the gravity to work (when I pull the capsule up it doesn't drop).

    • @Josh4359
      @Josh4359  2 місяці тому

      @laurencehurtado-read1141 i often answer questions here in the comments or on discord.
      i have made tutorials in the past where i provide the compete script in the past but this only leads to further confusion as those copying it don't actually understand how it works. this is an incomplete tutorial, not a full framework, so it's not gonna get u very far if u just mindlessly follow instructions and don't pay attention to what's being taught. only 2 parts are released and i haven't really been working on part 3 so u can't expect to rely much on these videos anyway

  • @KaleSTUDIOS
    @KaleSTUDIOS 6 місяців тому +2

    48 views in 1 hour? bro fell off

    • @Josh4359
      @Josh4359  6 місяців тому +2

      this is normal for my videos. usually gets a jump in views a day or 2 later

    • @toasbt
      @toasbt 6 місяців тому +3

      in 2 hours there will be a trillion views