- Home /
how to make 2D physics-based car / motorcycle game?
Hello
I want to make 2D physics-based car or motorcycle game like this one:
or this picture:
But I don't know any tutorial source for this works.
I need to learn how I can make train like a random curve with ups and downs & need to understand 2d wheel physics how works?
thanks
Well basically, you'd need a Rigidbody component on the vehicle. Then you must freeze movement (in Rigidbody) on the axis that's not going to be used for movement.
And after this you need make a script to make the rigidbody move (see wheel colliders) and jump, and becareful if the game is for android or iOs, because you need multi touch controllers to make move and jump the same time.
thanks from both of you but if there is a pdf or video tutorial every thing get very easy and well but don't worry I can solve it
Answer by robhuhn · Aug 05, 2013 at 10:21 AM
You may find this Thread useful: http://forum.unity3d.com/threads/99072-E2D-free-2D-terrain-editor-and-generator It's a 2D terrain editor and also examples are provided.
thanks from showing great tool to me. I find one of the best tutorials for 2dgames for unity in here. thanks again
There's an ongoing series I came across by The Game Contriver yesterday.. It might help you
Answer by temo_koki · Sep 16, 2013 at 12:12 AM
Hi, Here is the starter kit with well documented code: https://www.assetstore.unity3d.com/#/content/7770
Here you can test it: http://dl.dropboxusercontent.com/u/7197062/Side-Scroller%20Motorcycle/index.html
And watch how it works here: http://www.youtube.com/watch?v=igT_G5Sjqy4
Your answer
Follow this Question
Related Questions
Simple 2D Car Game 3 Answers
Saying the car is riding wrong way 0 Answers
Making a race car positioning system 5 Answers
2d platformer game tutorial? 0 Answers