How to make Hill Climb Racing in Godot

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

КОМЕНТАРІ • 203

  • @LucyLavend
    @LucyLavend  2 роки тому +18

    At 50:19 I forgot to add a clip about the HeadSpring and the NeckJoint!
    Here's an explanation on how to add the two PinJoints:
    ua-cam.com/video/vwe3_2HfGjo/v-deo.html

    • @antonarkhipov9703
      @antonarkhipov9703 2 роки тому +1

      It's working! Thanks you!

    • @LucyLavend
      @LucyLavend  2 роки тому +2

      @@antonarkhipov9703 nice! Good to hear

    • @haledeusuchia5287
      @haledeusuchia5287 2 роки тому +1

      How can we loop the terrain so the game will continue like actual hill climb

    • @arkumar842
      @arkumar842 2 роки тому

      Amazing, which software do you use to make assets

    • @LucyLavend
      @LucyLavend  2 роки тому

      @@arkumar842 I made all the assets in the assets pack using Affinity Designer

  • @WhynoMoral
    @WhynoMoral 4 місяці тому +11

    For anyone having the same problem as me in Godot 4, I got you Homie:
    Problem: The EngineSFX / Engine Sound/ Motor Sound / Audiostreamplayer (Just piling up in case someone uses the search function) starts when you start the game but it doesn't stay in the game and just doesnt play.
    I tried everything. Redid the whole code and retried it with so many different print() methods at different stages to see where the problem could lie, nothing.
    In Godot 4 you need to adjust the import settings at the top left next to Scene and click on "Loop" and press the reimport button.
    It took me way longer than I thought, but I dont want others to feel that stupid so I just comment to help the one other person having that problem.
    You are welcome, double it and give it to the next person.

  • @sonatuzun7020
    @sonatuzun7020 3 роки тому +25

    It's really nice to see the entire process of someone else. Even in the first 10 minutes, I'm learning new stuff about the editor and alternative ways of doing things. Also the video has really good pacing :)

  • @FingersoftLtd
    @FingersoftLtd 2 роки тому +10

    Great job :)

  • @qubitx64
    @qubitx64 2 роки тому +5

    I have played this game for hours on end and being able to recreate it give me so much motivation. Thank you a zillion times .

  • @ingwulf
    @ingwulf 6 днів тому +1

    Thank you very much, I have been making a platform game for several months, your video helped me make a bike for my character, he is happy to move faster in the big maps thanks to you! 🚲

    • @LucyLavend
      @LucyLavend  6 днів тому

      That's awesome! Good job 😄
      I assume you got things to work with this video, but I'm also working on an updated Godot 4 version of this video at the moment.

  • @greenclover5215
    @greenclover5215 Рік тому +11

    these are as a beginner in Godot 4.1.1 problems i faced
    on 5:05 she moves the the "pinjoints2d "
    if your car body falls over the wheel means you moved wheels not the " pinjoint2d"
    On 21:30 word "export" is now "@export"
    On 43:22 code line 11>>| var stylebox = $UI/fuel/ProgressBar.get("theme_override_styles/fill") , this the code for godot v4.1.1 the changed the interface and etc
    and after "$" this dollar symbol you have to make sure the current scene is in Level scene (because after selecting the level dollar symbol will help with list of options)
    bg is Background
    fg is Fill
    On 44:26 line 12 >>| stylebox.bg_color.h= lerp(0.0,0.3,value/100)
    use this line
    in this line you'll face error because it should be 0.0 not 0 (4.1.1 godot gives error if you use int and float at this code)
    if your confused with the interface means search on the top search box in godot "filter properties"

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

      bro can you help me with progress bar , in latest godot version ?

    • @garrettlong8629
      @garrettlong8629 27 днів тому

      Thank you! I was trying to figure out why my wheels were "sticking" to the track. Turns out I moved the wheels and not the pin joints.

  • @maynk7096
    @maynk7096 Рік тому +4

    This was soooooooooo good and polished tutorial. Very premium feel to it. You're an absolute gem.

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

    An awesome tutorial!
    I spent waaaay too long playing something like this on my phone years ago. It's great to see an almost complete game created inside Godot™ to get a feel for how to orgainize a project and pick up some tips along the way. Thanks for creating this video :)

  • @decoy3641
    @decoy3641 2 роки тому +2

    I just installed Godot yesterday and this tutorial has taught me so much about the program! Thank you so much for your amazing videos!

    • @LucyLavend
      @LucyLavend  2 роки тому +1

      Good to hear that it's useful to you, good luck on your Godot journey!

  • @thedupy124
    @thedupy124 3 роки тому +4

    This tutorial (and your entire channel) is so good !

  • @Atropos148
    @Atropos148 3 роки тому +11

    Thank you very much for this tutorial :) You put in so much effort, with explaining and even making assets for this...
    For the games, I would love to see either Solitaire (the card stacking is a bit difficult) or Candy Crush (but that seems VERY complicated)
    Have a nice day :)

    • @LucyLavend
      @LucyLavend  3 роки тому +6

      Thank you, good to hear that the video is useful to you! I saw your comments about this topic and it motivated me to keep going 😄
      And thanks for the suggestions!

  • @eerywax5631
    @eerywax5631 3 роки тому +4

    44:52 Classic Godot :D
    Great vid, I didn't know Groups were basically like tags, I should use them more!

  • @Ro-jl6cs
    @Ro-jl6cs 2 роки тому +4

    a great Underrated channel ... again.
    your videos are gold, PURE GOLD
    Hope you keep doing more tutorials in the future❤️

  • @feriante777
    @feriante777 3 роки тому +5

    Really good tutorial, very complete and well explained. Congrats!

  • @HeathTheCoder
    @HeathTheCoder 24 дні тому +1

    Thanks for the tutorial! I'm using it for the GMTK Game Jam!

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

    eyy thanks for making this, it's nice to see other people's process, as you are likely to learn something new.

  • @haledeusuchia5287
    @haledeusuchia5287 2 роки тому +2

    Im so enjoy watching your tutorial. And when you said "yehey!" i feel it too. I feel like a kid. I hope theres more tutorial for games.

  • @eduardltd1
    @eduardltd1 3 роки тому +2

    This is amazing!!! Adding forward momentum with wheels torque is a clever idea

  • @entozoon
    @entozoon 2 роки тому +2

    It's crazy but this is just exactly what I needed to know to build my game idea. Thank you so much!

    • @LucyLavend
      @LucyLavend  2 роки тому

      That's great to hear, good luck!

  • @multiarray2320
    @multiarray2320 Рік тому +1

    i would love to see more of this type of content.

  • @RedefineGamedev
    @RedefineGamedev 3 роки тому +4

    I used to play this a lot. Great tutorial!

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

    That was really fun to do, thank you for making this!

  • @justanotherdude_76
    @justanotherdude_76 2 роки тому

    im glad that people are actually creating good tutorials for gotdot currently there are very less of em available and it makes it harder for new comers to get in gamedev properly

  • @yourkodi3945
    @yourkodi3945 2 роки тому +2

    found this by accident, amazing job!

  • @krzyszt0fus
    @krzyszt0fus 3 роки тому +3

    Very well done! Thank you! Looking forward to a clone of the Worms :-)

  • @AleksandarPopovic
    @AleksandarPopovic 3 роки тому +1

    This is nice i have one side project game like this, but i have problems with terrain, keep going and good luck with your projects!!!!

  • @Albrecht-Adrian
    @Albrecht-Adrian Рік тому +1

    Ur very good in Teaching. Thanks alot.😍

  • @ellenshaggy3712
    @ellenshaggy3712 7 місяців тому +1

    you are my new fav.. love your videos

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

    what a neat video!

  • @satanafisico
    @satanafisico 5 місяців тому +2

    If anyone is having trouble betwwen 2 rigidbodies collision (instead of using area-rigidbody like on video), you must enable “Contact Monitoring” and set “Contacts Reported” to a value greater than 0.

  • @Giovanni2929
    @Giovanni2929 Рік тому +1

    I have been wanting do make a fangame of hill climb for a long time very good video

  • @ahmadgamal6802
    @ahmadgamal6802 2 роки тому +2

    Great tutorial 🤍
    I hope you making vid about dynamic water in 2d

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

    Wow so nice tutorial! Im subscribed i want more more!!! I love this tutorial!!! Thanks! I can made my childen game haha regards from Spain Barcelona
    I think is so smooth and so funny and clean! And i understand all!!! Your english is so good!

  • @RomanBaeriswyl
    @RomanBaeriswyl Рік тому +1

    Hey I really like your tutorials and the way you present them! Hope you continue with them, especially now that a LOT of Unity-Devs will come over to Godot (like myself).
    One nit-pick I have here where I am still searching for a solution is that the wheels, which are connected with a PinJoint2D, will not only stretch vertically but also horizontally. This makes it look a bit weird in a lot of cases and it would be great if that could somehow be locked to vertical movement only.

    • @LucyLavend
      @LucyLavend  Рік тому

      Thank you and welcome to the Godot community! My issue currently kind of is that I wanted to branch out and cover more than just Godot content, but there are currently coming a lot of Unity developers to my channel specifically for Godot content. It may or may not take a bit before I cover Godot content again.
      The problem with not being able to lock the pin joints on an axis was also something I ran into while making this video, I've tried messing around with using multiple different physics joints together, But I couldn't really get that to work. It would be nice if someone was able to add the feature of locking it to a specific axis to Godot, like the joints in Unity. Please let me know if you find a solution, then I can add it to the pinned comment of this video 😄

    • @RomanBaeriswyl
      @RomanBaeriswyl Рік тому

      @@LucyLavendThanks for the answer! I think Godot has a bright future ahead. As for the issue: I am playing around with an additional GrooveJoint2D which per se limits the movement in only one line. For this to work, I moved the wheels down about the size of the wheel (so it is below the car) and added the GrooveJoint2D to attach to the car at the top of the wheel and goes down to about 2x the wheel size. The initial_offset is about in the center of the GrooveJoint2D. I then played around with stiffness and all parameters and it seems to work as a first version. Still has some improvement potential.

  • @Matto_Sama
    @Matto_Sama 3 роки тому +2

    new Lucy video hype!!!!! waaa

  • @felipefacundes1
    @felipefacundes1 11 місяців тому

    Thank you very much my friend, and the best part is your explanation! You are patient when explaining. You are quite a teacher! Very peaceful!

    • @felipefacundes1
      @felipefacundes1 11 місяців тому

      And everything worked perfectly here at Godot 4. Thank you very much!

  • @Lukifah
    @Lukifah 2 роки тому +1

    i understood everything thanks for the tutorial

  • @badarup729
    @badarup729 2 роки тому +1

    Hello ma'am. Thanks for the great tutorial. it was really beginner friendly and i really enjoyed making it.

    • @LucyLavend
      @LucyLavend  2 роки тому +1

      Thank you! I'm glad that it was fun to follow 😄

  • @ArieSne
    @ArieSne Рік тому +1

    Thank you very much for the tutorial. I learned a lot!

  • @jroseme
    @jroseme Рік тому +1

    SUPER helpful, thank you!

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

    Thank you SO MUCH! You've pretty much solved a problem that I gave up on, saving me days worth of work coming up with hacky workarounds!
    If I knew you in person, I'd buy you a case of beer!!!

  • @josmarpinheiro2589
    @josmarpinheiro2589 2 роки тому +1

    Thank you very much for this tutorial from Brazil

  • @nqthiep
    @nqthiep 2 роки тому +1

    Very good and detailed tutorial. Thank you so much.

  • @VincenzoPirrottina
    @VincenzoPirrottina 2 роки тому

    It is a pleasure listening your indications.

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

    Really well done.

  • @DrDrift-rl6cc
    @DrDrift-rl6cc Рік тому

    I love the sound effects! Hilarious lolol

  • @larsthomasdenstad9082
    @larsthomasdenstad9082 2 роки тому +1

    Awesome tutorial, thanks for sharing. :)

  • @SnowyCocoon
    @SnowyCocoon 2 роки тому +1

    Great tutorial. Would love to see more!

  • @SatisfyingWhirlpools
    @SatisfyingWhirlpools Рік тому

    I searched for this because I made a way to procedurally generate random hills that go on forever, and now I want to drive on them

  • @HojjatAMRezaei
    @HojjatAMRezaei 3 роки тому +1

    Fantastic! Great work

  • @brucomis4893
    @brucomis4893 2 роки тому +2

    Superb!!!

  • @hojoin_nekomaru
    @hojoin_nekomaru 3 роки тому +1

    Great stuff. Thank you for this.

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

    Very helpful tutorial. thank you so much.
    Hope you can have a tutorial how make this a multiplayer using MultiplayerSychronizer.

  • @pbrninja19
    @pbrninja19 2 роки тому +1

    Thanks, very helpful. Great job.

  • @AndreySalas
    @AndreySalas 2 роки тому +1

    Great tutorial, good job!!, thank you.

  • @pascalcasier959
    @pascalcasier959 3 роки тому +1

    Thank you very much. Very nice tutorial.

  • @sndosc
    @sndosc 3 роки тому +1

    Wow, great tut!

  • @DineshYadav-iv5jo
    @DineshYadav-iv5jo 2 роки тому +1

    Great tutorial

  • @luketo1289
    @luketo1289 2 роки тому +1

    si puedes agregaruna pistola o un cañon? que siga a tu enemigo y puede ser multijugador con pantalla dividida? y un boton pa saltar dificultades como cuando tu cabesa choca al suelo reinisias el level mas una bandera qu diga que desde ese pundo reinisias o reuspaneas o algo asi?

  • @antonarkhipov9703
    @antonarkhipov9703 3 роки тому +1

    Thanks for tutorial!

  • @athithyaparamesh8251
    @athithyaparamesh8251 2 роки тому +1

    If somebody's looking for adding breaks to your car, then you can do it by setting the angular velocity to zero at the press of a button and also you can add boosters by using, if (key pressed) then increase max_speed else set the max_speed to default value.

    • @anzerobic7735
      @anzerobic7735 2 роки тому

      If I set angular velocity to zero. It never comes to complete stop. it always keep slowly moving. Maybe know why?

  • @gourabsutradhar29
    @gourabsutradhar29 10 місяців тому +1

    Great video ❤❤

  • @sndosc
    @sndosc 3 роки тому +2

    We want more!

  • @IsaacPiera
    @IsaacPiera 3 роки тому +4

    Space agency. Try it, it's a great simple 2D game about rockets in space. The part where you are in space and can build structures by connecting parts together is very interesting.

  • @AgnisNeZvers
    @AgnisNeZvers 3 роки тому +2

    Tutorial video drinking game:
    Drink each time when the tutor says "let's".

    • @LucyLavend
      @LucyLavend  3 роки тому +3

      I tried my best to avoid it lol
      Also goes for "So" and "now"

    • @AgnisNeZvers
      @AgnisNeZvers 3 роки тому

      @@LucyLavend Oh, yeah!
      I need some tactics to counter that.

  • @Avengersera_2525
    @Avengersera_2525 11 місяців тому +1

    My road are finished at a time please give me solution to make my road in loop

  • @ridingatthenightok
    @ridingatthenightok 3 роки тому +2

    Nice!

  • @mvolkankarakas
    @mvolkankarakas 3 роки тому +1

    Dear, You are doing well again...

  • @builderchad1
    @builderchad1 2 роки тому

    Your vids are very helpful, thank you so much.

  • @DerDilettant
    @DerDilettant 2 роки тому

    Amazing content Lucy =)

  • @clecioespindolagamedev
    @clecioespindolagamedev 2 роки тому +3

    Hello, I create Godot videos for the Brazilian community, and I'd like to know If I can use your project to create a serie of videos teaching this project in portuguese. Of course I'll make a citation of your Channel and reference this vídeo. Thanks in advance.

    • @LucyLavend
      @LucyLavend  2 роки тому +1

      Sure! It's awesome to see people creating Godot content in their native languages!

    • @clecioespindolagamedev
      @clecioespindolagamedev 2 роки тому +1

      @@LucyLavend Thank you very much. I'll mention your channel ok? This way other people can know more about Godot. By the way, just subscribed your channel, I did know it, until a subscriber sent to me.

  • @Darrymorg
    @Darrymorg Рік тому

    Hi, I have a problem.
    When I try run my projects in Web with this plugins
    It,s write me "null function or function signature mismatch"
    I think it,s because I dont export this plugins, how I can do it?

  • @marktriestolive1781
    @marktriestolive1781 2 роки тому +1

    I love this!!!!!!

  • @KLARKOFF
    @KLARKOFF Рік тому

    Awesome video! I hope you will make more tutorials like this. And can you please make a tutorial about drawing sprites like this?

  • @Frustratedhen
    @Frustratedhen 9 місяців тому +1

    I love your video but but but 😢😢
    When i am using script for progress bar get_parent start with annd running game black screen showing after removing script game working please can you make spacial video on only progress bar same as hill climb

  • @ErickNot
    @ErickNot 2 роки тому +1

    very nice

  • @willgrippa22
    @willgrippa22 3 роки тому +2

    Thank you.

  • @abderrahmanemouhsine9561
    @abderrahmanemouhsine9561 2 роки тому +1

    Thanks

  • @qubitx64
    @qubitx64 2 роки тому +1

    Finished the tutorial now amazing i have a question: Driving at maxspeed the statment " if wheel.angular_velocity < max_speed: " changes to true and back to false and then true and than false in one second making the car accelerate and decelerate is there any fix to make it stay constant at max_speed (to keep driving at constant speed). hope i was clear enough. Thank you.

  • @kingkelpo554
    @kingkelpo554 2 роки тому +1

    This video is GREAT! thanks so much! hows your hand doing?

    • @LucyLavend
      @LucyLavend  2 роки тому +3

      Thank you! It's going a lot better now because I finally went to see a physiotherapist 😄

    • @kingkelpo554
      @kingkelpo554 2 роки тому +1

      @@LucyLavend im glad to hear that (:

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

    Hi lucy. What can i do boost when i drive. 3...2 ... 1 turbo and then driving normal. Thank you!

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

    Hello, could you explain with the new godot4 version? I would also like racing games for motorcycles, cars, planes, helicopters, I'm a beginner, could you teach?

  • @Ed-yj1ep
    @Ed-yj1ep 3 роки тому

    Your avatar character makes me think about Megaman Legends 🙃

  • @droidburner
    @droidburner 10 місяців тому +2

    Love eu❤

  • @psykowarior
    @psykowarior Рік тому

    15:59 the trick doesn't work for me. the toolbar disappear until a remove the texture. 😥

  • @zorochii
    @zorochii 2 роки тому +1

    *Fredoka*

  • @Frustratedhen
    @Frustratedhen 9 місяців тому

    Please bro help how add progress bar it is not working for me in godot 4

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 2 роки тому

    How are the wheels rotating without adding any code. I dont get it

  • @Microplay-Interactive
    @Microplay-Interactive Рік тому +1

    How to make distance travelled for curved smartshape2d paths ?

    • @LucyLavend
      @LucyLavend  Рік тому

      Do you mean something like the distance traveled that's displayed at the top center in Hill Climb Racing?
      That's simply the position on the X-axis of the car in the world I think

  • @dhermenderkumarprajapiti6479
    @dhermenderkumarprajapiti6479 2 роки тому +1

    thanks you very very much .

  • @carijaff5878
    @carijaff5878 2 роки тому +1

    I notice that I'm Brazilian and I don't know much about English kkk
    At 18:50 minute you add the "grass" of the terrain and I followed the tutorial just right and even so when I move the point of the shape the "grass" doesn't appear
    Do you press a key next to the mouse button or something?
    Thank you very much in advance

    • @RicheyLiek
      @RicheyLiek 2 роки тому

      i have the same problem... that shit is bugged as hell

    • @RicheyLiek
      @RicheyLiek 2 роки тому +1

      found a solution.. close all windows in 'script variables' of SS2D_Shape_Closed Node

  • @HieromonkRazov
    @HieromonkRazov Рік тому +1

    YOU ARE THE BEST!!!

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

    Do you cover everything in the tutorial?

  • @dark_gamer5091
    @dark_gamer5091 Рік тому

    7:00 when i test game my wheels start flying off the vehicle body (PLS HELP)

  • @factVein
    @factVein Рік тому

    Hello Thanks for this osm tutorial but my tools disappear when we add dirt block inside texture please help me in ss2d closed.

  • @HeathTheCoder
    @HeathTheCoder 24 дні тому +1

    To anyone else who is having issues with the engine sound, you have to change lerp to lerpf in Godot 4.
    So instead of:
    if Driving == 1:
    $EngineSFX.pitch_scale = lerp($EngineSFX.pitch_scale, 2, 2 * delta)
    else:
    $EngineSFX.pitch_scale = lerp($EngineSFX.pitch_scale, 1, 2 * delta)
    Use this:
    if Driving == 1:
    $EngineSFX.pitch_scale = lerpf($EngineSFX.pitch_scale, 2, 2 * delta)
    else:
    $EngineSFX.pitch_scale = lerpf($EngineSFX.pitch_scale, 1, 2 * delta)
    Hope this helps :)

  • @zendraw3468
    @zendraw3468 2 роки тому

    you make very good videos, have you considered doing game dev with godot?

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

    For some reason i can't add collision

  • @greenclover5215
    @greenclover5215 Рік тому

    thanks sister