How to create a game like Hill Climb Racing in Unity3D | Unity3D Game Tutorial | Ghost Maker

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • Hi folks, I'm Ghost Maker, welcome to my UA-cam channel. I'm a game developer like you guys. Keep supporting, Hit like and subscribe the channel.
    This is first tutorial of my channel, I will show you how to create a game like Hill Climb Racing.
    So much excitement :star eyes:
    You can download code form here: github.com/ggg...
    Sections:
    00:00 Intro
    00:18 Car and wheel setup
    02:17 Car script
    03:46 Car pedal script
    05:06 UI setup
    06:30 Environment setup
    09:00 Camera controller script
    10:36 Player head physics
    11:52 Final play
    Unity3D:
    Unity is a cross-platform game engine developed by Unity Technologies, first announced and released in June 2005 at Apple Inc.'s Worldwide Developers Conference as a Mac OS X-exclusive game
    engine. As of 2018, the engine had been extended to support more than 25 platforms. The engine can be used to create three-dimensional, two-dimensional, virtual reality, and augmented reality
    games, as well as simulations and other experiences. The engine has been adopted by industries outside video gaming, such as film, automotive, architecture, engineering and construction.
    unity.com/
    Wheel Joint 2D:
    docs.unity3d.c...
    Sprite Shape:
    docs.unity3d.c...
    Hinge Joint 2D:
    docs.unity3d.c...
    Graphics:
    opengameart.or...
    Music:
    Calm Music - light, peaceful, soothing, background music [N°134 - 3h]
    • Calm Music - light, pe...
    Ghost Maker
    ggghostmaker@gmail.com
    Remember, I make ghosts (in video games) :wink:.
    #ghostmaker #unity3d #hillclimbracing
    Copyright Disclaimer under Section 107 of the copyright act 1976, allowance is made for fair use for purposes such as criticism, comment, news reporting, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favour of fair use.

КОМЕНТАРІ • 27

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

    Good Work

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

    Please don't stop. I'm waiting your next videos

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

      Thanks for the comment, Sorry I have been busy working on other projects, I'm working on new videos and will upload, kindly hit subscribe and bell icon so you don't miss the updates

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

      @@GhostMakerGaming i already pressed it :)

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

      Another video is out: ua-cam.com/video/B1hc_n5Gye4/v-deo.html

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

    Both wheel isn't working when i press the gas button😢 please slove this problem

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

    I have problem pls help me
    Assets\Scripts\CarPedal.cs(12,12): error CS0246: The type or namespace name 'UnityEvent' could not be found (are you missing a using directive or an assembly reference?)

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

      did you solve it?

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

    Does someone know how to change the input to keyboard buttons?

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

    The button don't work in mobile...
    Tell another way to do this...

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

    hello. I have an idea for another version of your game, on the verge of a "serious game" It would be called "tariff peaks challenge" and it would explain metaphorically the effects of customs duties on trade : i.e you are an exporter , so you drive a truck full of a given type of merchandises . You are climbing a slope which represents the customs duty . The higher the customs duty is the steeper the slope, to the point where the truck falls back down the slope and looses al his cargo on the ground. Even if the truck succeeds to climb laboriously the slope it would still loose part of its cargo because the higher the price ( initial price + custom duty paid ) the lower the demand , a concept that economists call "price elasticity " .
    In my dreamed gameplay , the player would randomly select an existing tariff peak ( eg 3000% for sugar and alcohol in Egypt , I have a list of those peaks and of the volume of the trade they partially allow or totally prevent , I have also a data base of price elasticities by products) and then try to climb the slope accordingly . After 4 or 5 attempts a short quiz, Kahoot, style would explain the concepts and then we would go to another level of a game more complex , because in the real world things are are indeed more complex : there are bound and applied customs , duties , preferential customs duties, ad valorem excises, preferential or non preferential tariff free quotas administered in various manner , trade costs etc etc . all relatively sophisticated concepts that your game could progressively introduce and explain in a ludic manner Would you be interested in making a prototype of that ? If such a prototype were to be convincing ,and I have no doubt it will after having seen your demo, this could have commercial and revenue implication for you although i cannot promise anything at this stage .
    best regards and bravo again pierre ( email me at this address pierre.larrebourg1@gmail.com) or comment below
    pierre

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

    so this game that you make rn can play on android ?

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

      Yes it can run on various platforms like Android, iOS, Windows, Mac, PlayStation, XBox etc.

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

    how can we make the road endless and hilly? Would it be better to make a lot of segments of roads and keep adding them together or use some kind of noise (like perlin noise) to make it hilly?

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

      Yeah it's what I had in mind while creating the video but this video went too long for a single video so I kept it limited to a car running on a ground, I kept the environment generation idea for another video.

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

      Another video is out, I mention you in it, please check: ua-cam.com/video/B1hc_n5Gye4/v-deo.html

  • @mha.andrei
    @mha.andrei 3 роки тому

    When I press the buttons my car just flies in all directions. Can u help me to tell me what I did wrong?

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

      It might be the physics settings that are causing the issue, you can download my project from the github link added to the description

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

    The ground edge collider doesnt matchup for me for some reason? Its just a straight line for me!

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

      If you're using sprite shape then you need to check 'Update Collider' in the component

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

      check this video for automatic environment generation: ua-cam.com/video/B1hc_n5Gye4/v-deo.html

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

      @@GhostMakerGaming Thank you mate

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

    Can you make it so the controls are on keyboard and not buttons you press down?

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

      Yes, unity supports almost every kind of input devices

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

    its 2D XD

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

      and add thus game on itch.io

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

      Yeah I'm planning to create more games and adding to itch.io, but this project was only to create tutorial video