Hey guys I hope you like the video ! Sorry If my voice is not that audible, I was sick during the recording of the audio. Anyway, I'm glad I was still able to release this video this week !
Valem You don’t have to feel sorry man, hope you get better. We are the ones who should thank you for your well detailed tutorials making complex projects look so easy. Well done 👍
2 fixes: 1, if you give gas and go in the air you can see the car is rotation the wrong way. To fix it, you just go to line 34 (of the car controller script) and where it says: "-movement" just change it to "movement" 2, do not add wheel joints to the wheels, add 2 wheel joints to the empty car object and drag the rigibodies from the wheels in it. Thanks for doing it!
You need to add 2 wheel joints to the empty car object, not to the weels itself. If you have done that, you just drag the rigibodies from the tires to the wheel joint.
In 2024 the Sprite Shape option is moved to Create>2D>Sprite Shape Profile. When creating a 2D Sprite select Closed. To get the different stretch options click on the sprite and they appear in the Scene. When importing the car parts, drag them to the scene to make them appear, rather then the Hierarchy. I also had to a lot off trouble shoting with the camera since it keeps to far upp and down and that is most likelly because he connects the car controller to the camera script (with rotating wheels etc). If you connect only the car to the camera it works, also tried it in Cinemachine and adding only the car works. After that i gave up, if you follow this make sure to use Unity 2018.2.10f because too much is different in 2022.2.21f1
The wheels and car get stability issues when reaching top speed, is there a resolution for that? Also if you turn the fuel canister into a prefab it won't work the same as a duplicated fuel canister?
hello (ou bonjour car je détecte un accent français ). 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 adress pierre.larrebourg1@gmail.com) et dites moi si nous pouvons poursuivre cet échange dans la algue de molière plutot que dans celle de Shakespeare . just cannot wait to hear from you . bien cordialement pierre
Hello everyone. For some reason when i setup my car and move all the items into the empty game object my wheels go through the car and wont stay in there position even with the rigidbodys and everything. Help asap would be very much appriciated
I need help with the scripting The RigidBody2D isn't appearing as a class and basically nothing works, I have written everything exactly as it is but its just not working.
Hey guys I hope you like the video ! Sorry If my voice is not that audible, I was sick during the recording of the audio. Anyway, I'm glad I was still able to release this video this week !
Valem You don’t have to feel sorry man, hope you get better. We are the ones who should thank you for your well detailed tutorials making complex projects look so easy. Well done 👍
Thanks! Hope you got more subs"
Can you maybe add a coin system?
I tried all the procedure in the same way I watched your video repeated time but all of no work.... It's showing a lot of errors
Your ok
Those unity sprite shapes look awesome! The internet needs more tutorials like this. Good job.
Wow Jonas, I feel honored that you watched one of my video. Love your work so much! Dankeschon mein freund (yep my German is terrible)
Two legends in one place😄
Jonas Tyroller hey! I’m learning right now, I’m 13 and hope to be a game developer someday :)
@@theun-knownmusician5468 Just like me
@@theun-knownmusician5468 same
2 fixes:
1, if you give gas and go in the air you can see the car is rotation the wrong way. To fix it, you just go to line 34 (of the car controller script) and where it says: "-movement" just change it to "movement"
2, do not add wheel joints to the wheels, add 2 wheel joints to the empty car object and drag the rigibodies from the wheels in it.
Thanks for doing it!
Thanks;
Thanks, the second fix helped me a lot :D.
Emperius I now, Otherways your suspension is broken
thanks :*
@@antonai367 no problem!
Great Tutorial! Spent a whole day trying to do this from other tutorials and failed, so now I'm very happy indeed :)
You're amazing bro,Thanks very much for this tutorial,I never thought i would find someone who can explain this as easy as you did.Thanks again.
Very good video bro this was my first unity project. Thanks
You need to add 2 wheel joints to the empty car object, not to the weels itself. If you have done that, you just drag the rigibodies from the tires to the wheel joint.
Thanks! I was stuck on this for an hour before I saw your comment.
Thanks;
THANK YOU !
Hey man, good tutorial, helped me too much!
Amazing work Valem. This is my start to exploring your channel :)
Welcome :)
You are the best tutor on the UA-cam! You should make more videos like this.
Thanks Q ! That"s exactly what i was looking for ! #Love
Thank boy I am just 9 years old and I love to code in unity you were my inspiration thanks
Great kid , good sprit
@@shivakashyap8695 yea
Salut! Ça fait plaisir de voir un français faire des videos en anglais! Ça donne de la motivation
we need more tutorial like this◉‿◉
dude your so funny i like that. learning with a smile is the best way to learn. you have my clicks !
In 2024 the Sprite Shape option is moved to Create>2D>Sprite Shape Profile.
When creating a 2D Sprite select Closed. To get the different stretch options click on the sprite and they appear in the Scene.
When importing the car parts, drag them to the scene to make them appear, rather then the Hierarchy.
I also had to a lot off trouble shoting with the camera since it keeps to far upp and down and that is most likelly because he connects the car controller to the camera script (with rotating wheels etc). If you connect only the car to the camera it works, also tried it in Cinemachine and adding only the car works.
After that i gave up, if you follow this make sure to use Unity 2018.2.10f because too much is different in 2022.2.21f1
Great work bro... the best Unity youtube channel ever
This is nice. Thank you!
Truly amazing, keep it up
Awesome, I will try to build something similar with JavaScript
It's good
I have one suggest
if you put a physics material 2d on the ground and the wheels it will be better
Help needed: @8:21 similarly my wheels are not rotating in its center of axis
how can i make it so that i can control the car in air?
I really like the tutorial nice explained I will subscribe 👍👍
Thanks, i was just wondering how hard this would be to do in Unity
In my unity, surface is stretch, why, how can i solve it?
any way to make it mobile friendly?
Very useful tips, thank you.
This is such a good turorial
When I Build and Run, The CarController object was invisible. Everything else run and behave fine....How to fix this ???
thank you very much! ♥
great video but i hope to Solve the problem of spinning the wheel if they go fast
How to make this road procedurally generated?
By using code
@@arsylgames that's what i did :)
@@Bylem_ and did you find it?
i wrote it
@@Bylem_ I am very interested in seeing how you managed this as it is what I am looking to do. Care to share?
Awesome tuitorial..thanks a lot
Why do we add torque to the car as well?
after 5 seconds i run the car, my tires spin irregularly bro
.
like in your video at 8:19
how fix bro...?
@@animemotivasiofficial
watch this video for fix Wheels
ua-cam.com/video/nFbDdW2yb2U/v-deo.html
to me it stays frozen on the ground only the tires move when I add the motor
Awesome tutorial, just subbed
My wheels keep spinning out of place when too much torque is applied
Because he made 2 big mistakes
North America look at my older comment I writed on this vid
@North America No problem
The wheels and car get stability issues when reaching top speed, is there a resolution for that? Also if you turn the fuel canister into a prefab it won't work the same as a duplicated fuel canister?
For the first one there is a solution
@@arsylgames could you share the solution? thanks!
victor Bijl look at my other comment pls
add 2 x wheel joint 2d to carcontroller and drag the tires onto them.
Bro I love your accent; French?
my tires are like rasenggan
@Valem can you please say me how to make this level endless?
i mean to generate road randomly and infinite.
thank you for advance ))
use parallax.
@@ManishSingh-dj3ds are you sure you know what parallax is
Can the next tutorial e on how to make this endless?
hello (ou bonjour car je détecte un accent français ).
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 adress pierre.larrebourg1@gmail.com) et dites moi si nous pouvons poursuivre cet échange dans la algue de molière plutot que dans celle de Shakespeare .
just cannot wait to hear from you .
bien cordialement
pierre
Keep it up bro love you
Awesome tutorial. Do more like this.
Thank you for the video.
That's really great
NIce tutorial, I liked your Flappy bird one too. Can you make an old skool type game, like maybe Donkey Kong in Unity?
Any pointers with using code to generate this sprite shape profile to produce endless terrain?
how u control this when u convert this game to android?
cause there no buttons
when i push the left arrow it goes right and vice versa
Merci pour la vidéo! :)
would like to see how he does the screeshot then shot it in the end of a session (when we lose)
THANK YOU!
bonsoir mon ami français, merci pour ton aide :)
How to make infinite ground map generator?
Thanks
I followed the same scripts ont he camera and it showed me like, when the car goes upward, the camera goes downwards and vice versa. what can I do?
Hello everyone. For some reason when i setup my car and move all the items into the empty game object my wheels go through the car and wont stay in there position even with the rigidbodys and everything. Help asap would be very much appriciated
i got error of nullreference on movement = Input.GetAxis("Horizontal");
Control with buttons
Could you show how the game make to screen a part of the screen then show it when we die?
I need help with the scripting
The RigidBody2D isn't appearing as a class and basically nothing works, I have written everything exactly as it is but its just not working.
everything was fine until my stupid dudes head started falling through the map. Any help?
me too
oh sry i forgot to give edge collider on the surface
LOL !!!!!!!!
Nice video. Explained very well. The camera part is working, but the speed is not working. I mean I can't control the car with keys. Need urgent help.
My car is not moving with inputs, while referencing this code
How do you make the ground now with open sprite shapes and closed I can't seem to make it work?
How can I change the Miscellaneous Files to Assembly-CSharp? I try to make a game in Unity and I have to do this, but I dont know how to do it.
HEy camera follow script not working please help
why tf the wheels is wiggling like that
in unity script are not showing back tire and front tire
i think you did some parts behind the scene
i like it.
I want to know more pls make more vids like this !
There is a second part of this tutorail ??
Look on his channel
if i copy the tutorial with the fuel and then press play, it won't run down and if i press the up arrow key once the picture is gone
Maybe make a game like bbtan or simple card game or board game like checkers
How about the head when you hit the ground
Help help help bro can you tell me on 8:08 min how suddenly car rigid body come in car controller script did I miss something
I have the same Problem ...
i love your vidio
Recreate Altos Adventure Next ..Thanks
i was thinking the same :D
My car is spinning when the game starts.
Any help?
how can we make the ground endless and have random gaps (like in alto's adventure)?
I also have the same problem, there is an asset in the Unity store but it costs 7 dollars, :(
What buttons i use to go in front and back?
love it
Why is my car not going forward when i press the arrow keys?
I have the same Problem ... do you have a solution for this problem ?
@@MIO313 add me on discord i have kind of finished the game,
@@jumpix2652 ok thats nice is your discord name the same like the youtube name? and i need your #number
@@MIO313 im on phone rn send me yours lol
@@jumpix2652 MIO#1790
my camera is not following may car
i'm sad i cant use paint XD
Valem, hello. Good video bro. If you know, show how i can add 2 buttons on display, like Gas and Stop for car?
my tires in the car are wobbling like crazy. how to fix?
don't use wheel join in the wheels put 2 wheel joins in the car and connect to the wheel from there
@@josephheaney7738 i'll try that
how do you do the auto generated road?
Will you be releasing the project file??
Hi CrazyNonSens I will create a github link today and share it in the description. :)
@@ValemVR thanks man!
@@ValemVR Aere you realsed it?
hello thank you for this awesome tutorial. How to make multiplayer?
hey valem can you create a game like hill climb racing 2
Images download link?
my car doesnt move
Bad trucker 2 please
I have no money and i want the source code rly bad.