How I made my own Arcade Racing Game

  Рет қаралды 85,821

Obvious Dev

Obvious Dev

Күн бұрын

Пікірлер: 105
@GamesBySaul
@GamesBySaul 2 жыл бұрын
Super nice work on this! The game looks so juicy with the driving! Glad to know it's not just me who has worked on a car game without really understanding cars!
@ObviousDev
@ObviousDev 2 жыл бұрын
Thaank you :) Yeah - I think virtual arcade cars are more fun anyways!
@GamesBySaul
@GamesBySaul 2 жыл бұрын
@@ObviousDev Absolutely agree with you on that one! :D
@ansettaustralia
@ansettaustralia Жыл бұрын
Can you do a tutorial, or release the code for the raycast physics? @@ObviousDev
@ashdev
@ashdev 2 жыл бұрын
using drag on rigidbody will result in stopping car instantly. instead of that you can use dragfroce = -D*V. D is damperAmount(constant) and v is velocity in spring direction. you can add this in spring force and that will be your suspension force. Vector3 springDir = transform.up; Vector3 tireWorldVel = carRigidBody.GetPointVelocity(transform.position); float offset = suspensionRestDist - hit.distance; float suspensionVel = Vector3.Dot(springDir, tireWorldVel); float force = (offset * springStrength) - (suspensionVel * springDamper); carRigidBody.AddForceAtPosition(springDir * force, transform.position);
@ashdev
@ashdev 2 жыл бұрын
or try this video : kzbin.info/www/bejne/npOwYmtpjMaMopY
@kumagatz
@kumagatz Жыл бұрын
I love this, very Micro machines. Superb work!
@Skeffles
@Skeffles 2 жыл бұрын
Fantastic to see you making something new! This racer looks great.
@pohyart
@pohyart 2 жыл бұрын
I really struggle with the controls. When a car is moving slowly, it should turn fast. Also corners are really unpredictable for me. I found myself holding down the drift button and driving like that. Nice work finishing up the project and releasing it!
@Bergbauer22
@Bergbauer22 4 ай бұрын
Really nice work my friend.
@bahrainhasnan
@bahrainhasnan Жыл бұрын
Inspiring and thank you for sharing the thought behind the process!
@MaffuMakes
@MaffuMakes Жыл бұрын
So good to know there's other people who don't know about car physics as well! Gosh, this helped me out so much. Thank you very much, Pascal! Amazing video, and an amazing demonstration. Really appreciate that you shared where you learned about arcade physics.
@moldymoss3991
@moldymoss3991 2 жыл бұрын
I’m really liking this, when the car goes of the ramp it doesn’t seem to land how it should though. I’d like to see more of this.
@bini420
@bini420 2 жыл бұрын
would love to see more of this
@FuZZbaLLbee
@FuZZbaLLbee Жыл бұрын
Nice, a friend of mine used the same Unreal physics video to make a similar car in Unity. There are also people who just use a rolling ball as a car and project the car on top.
@SamarthCat
@SamarthCat 2 жыл бұрын
I think it would be cool if you make this open source. So that people can contribute and improve on it. Other than that, it's pretty epic!
@Glados44
@Glados44 Жыл бұрын
true
@eboatwright_
@eboatwright_ 2 жыл бұрын
Looks great! I love the smoke particles and sounds
@CreatorOblivion
@CreatorOblivion 2 жыл бұрын
I would absolutely love to see multiplayer introduced to something like this. And if you wouldn't mind sharing even a small part of any tutorial for this, that would be incredible!
@blinkachu5275
@blinkachu5275 Жыл бұрын
Hmm, overall pretty good, but adding the drag itself is not a good solution to making the springs behave. The springs being unstable have to do with the math behind them, adding drag is basically a bandaid that has other negative effects like the way the rigidbody now moves through the air. There are some good videos out there on how to tackle springs for cars ^^ I recommend watching a few so you can set drag back to 0 and have proper spring function, that would make it feel even better!
@ObviousDev
@ObviousDev Жыл бұрын
Oh interesting! Thanks a lot, I'll check those out :)
@funreloadedgamedev
@funreloadedgamedev 2 жыл бұрын
Nice devlog and racing game😀👍, seeing your devlog helps me in my gamedev, somehow. Your devlogs are good. I am also a game developer.
@Vetinari-x3n
@Vetinari-x3n Ай бұрын
Great job!
@Zer0Flash
@Zer0Flash 2 жыл бұрын
i would love a multiplayer for this to completely destroy my friends in it
@licencetocalvin8658
@licencetocalvin8658 2 жыл бұрын
Great video. I tried to do the car physics a similar way some time ago but couldn't get it feeling right for me 😅 You did some awesome work there, and I like that truck you made
@daa2910
@daa2910 9 ай бұрын
About Drifting I known, every object has two frction. kineticfriction(for sliding surface) and static friction(of course not sliding face) generically static friction is more higher. if car wheel rolling as car speed, wheel roll whitiout slip(at whell touch ground point). so wheel has (powerful) stop friction and it make stop slip sideway but wheel is slow or stop rolling(commonly use break) wheel is slip with weaker kinetic friction, than car can more slip sideway and rotation more wide range.
@xXYannuschXx
@xXYannuschXx 4 ай бұрын
One thing thats missing is some body roll: have the car lean back during acceleration, forward during braking, side to side during corners. Should greatly improve the feeling of the car.
@kaseopea
@kaseopea 2 жыл бұрын
Nice. Someday I will follow the same path) Would be super-happy for more detailed tutorial)
@juanmacias5922
@juanmacias5922 2 жыл бұрын
This was awesome!
@BlueGooGames
@BlueGooGames 2 жыл бұрын
Supercool! Makes me want to make a racing game 😀
@gamedevaki
@gamedevaki 2 жыл бұрын
3:30 Love the Initial D reference!
@GreenBlueWalkthrough
@GreenBlueWalkthrough 2 жыл бұрын
Thinking about it yeah that's how the majority of vehicles games work even realitic games and sims... Notble excations are KSP, X-plane, R-factor 2 and uh that's all I got right now.
@Oscar97o
@Oscar97o Жыл бұрын
As far as racing games go, you can add pretty much every racing sim, all the games developed by Bugbear Entertainment, BeamNG Drive, MudRunner and its sequels, and probably quite a few "realistic-ish" arcade racing games like the The Crew series, which I believe do simulate wheels and suspensions, just with a ton of aids tacked on. GTA IV is a very good example of arcade driving with realistic physics too.
@AXISMotionStudio
@AXISMotionStudio 2 жыл бұрын
3:24 How did you made the transition effect work
@ObviousDev
@ObviousDev 2 жыл бұрын
I have two materials with a transparency value, one for the car and one for the "box" and then I just tween the transparency values 0=>1 | 1=>0 based on the given state :)
@AXISMotionStudio
@AXISMotionStudio 2 жыл бұрын
@@ObviousDev thank you for the reply. Are you using standard materials
@ObviousDev
@ObviousDev 2 жыл бұрын
@@AXISMotionStudio Na I made them via Shader Graph. I had some transparency issues with the car using the standard shader. The method I'm using now is dither-transparency. This is the tutorial I followed: kzbin.info/www/bejne/jHiQhqtuh62ApaM
@Timothymukansi
@Timothymukansi 2 жыл бұрын
Awesome job!
@rainingBrackets
@rainingBrackets 2 жыл бұрын
Don't get me wrong, I don't think Exo Colony is bad but I really enjoyed this different type of video, more than the typical devlogs and this game turned out really cool! In fact it would be awesome to see you do another video on this game or at least this type of short side project
@MyLastingMemories
@MyLastingMemories 2 жыл бұрын
Dev, we are building in the Metaverse in Upland, and we need a volunteer unity developer on our team. How's your virtual property portfolio? Lets talk about your future in the Real Node LA in the Metaverse.
@animagnoa
@animagnoa Жыл бұрын
is the black material on the floor some kind of free asset?
@filipe_lopes
@filipe_lopes 2 жыл бұрын
Love the track implementation! Any tips on how to toggle the visibility of the tiles?
@AvexFuddle
@AvexFuddle 2 жыл бұрын
This is so good, I don’t believe it’s that simple though 😅👍
@Dubscr
@Dubscr 9 ай бұрын
I love this~!
@razorree
@razorree 11 күн бұрын
Do you have some materials about driving physics and how to implement it ? (a bit of source code? :) )
@TruckerJoeOfficial
@TruckerJoeOfficial Жыл бұрын
Super Tutorial, can you show how you made the steering?
@AlessandroCecconi
@AlessandroCecconi 2 жыл бұрын
I've always wanted to make a Sugar Rush fan game and this video is kinda making me wanna try it now except I can't model and have absolutely zero idea of how to use Unity or Unreal Engine (and I have no idea how to code lol) and definitely do not have the patience to put myself through tutorials lol but thanks for the inspiration
@user-nJ2up5mo4t
@user-nJ2up5mo4t 2 жыл бұрын
heads up if modifier bool tool is broken don't go preferences and click bool tool in editor tab cause unity cant see its cuts you have to use knife tool. hope i expanded it okay but it also could of just been way I export in to unity.
@bitbenthegamedeveloper90
@bitbenthegamedeveloper90 2 жыл бұрын
Really cool prototype! I also always wanted to make my own arcade racer maybe one day I will! Love also that it is less simulation heavy and more plain fun! How actually did you use the Unity grid map? Is it like Unitys 2D Tilemap?
@ObviousDev
@ObviousDev 2 жыл бұрын
Yeah it's Unitys Tilemap feature and I just spawn prefabs using the rule tile (since the prefab brush was removed for some reasons :( )
@rogerbusquetsduran5596
@rogerbusquetsduran5596 2 жыл бұрын
Amazing! I've been trying to do something similar myself. Struggling with preventing drifting, is it posible to share code for the controller?
@GreenBlueWalkthrough
@GreenBlueWalkthrough 2 жыл бұрын
Also looks fun and you could make a more serous small like $5 project of of it if you just add more tracks for 3 hours of content or so.
@amirhm6459
@amirhm6459 2 жыл бұрын
Why not use Unity wheel coliders? I think it is much simpler to create and have more settings to tweak specific for the car behaviors than spring physics
@ObviousDev
@ObviousDev 2 жыл бұрын
Mostly because I found the raycast spring idea much more interesting :) I always try to find angles which are interesting for me when I approach these smaller prototype games. Since the idea is not to develop the very best game but to learn a lot and present that in a video it did fit this approach very suitable. But thanks for the advice and I might give wheel colliders a go in the future!
@caruya
@caruya Жыл бұрын
How did you got the skid trails to not follow you and actually stay on the road, I havent figured that out. Thanks
@ObviousDev
@ObviousDev Жыл бұрын
I'd have to look for the exact setting, but mainly it's about spawning the trail renderer points in world space
@ZTF666
@ZTF666 2 жыл бұрын
i love it !
@felipegomez5027
@felipegomez5027 2 жыл бұрын
Hello. First of all, awesome video. Secondly, I am new in unity and it would be very helpful if I could get access to the proyect or the scripts. Thank you very much
@KBforJesusChrist
@KBforJesusChrist Жыл бұрын
Make a tutorial for obstacles and track spawning please @ObviousDev
@janikcodes
@janikcodes 2 жыл бұрын
Can you maybe explain how you made that fade in/out effect? Im developing an RTS and I haven’t found a good way yet to fade in/out kind of like a fog of war?
@MohamedKamal-jz5oz
@MohamedKamal-jz5oz 2 жыл бұрын
May I know how you made the blocks appear as you do? the ones who are close to your car
@leaf4645
@leaf4645 2 жыл бұрын
How did you do the fog? I have been trying to do this look for a while and i haven't figure it out. (edit) I know not your style but a tutorial on the car physics? also amazing video! and game!
@ObviousDev
@ObviousDev 2 жыл бұрын
Do you mean the "dust" particles around the car? Those are just plain unity3d particle effects. Regarding the car physics, I recommend the video I'm talking about in the video: kzbin.info/www/bejne/gniUdKeie7egprc
@leaf4645
@leaf4645 2 жыл бұрын
@@ObviousDev Yeah sorry meant dust! thanks for the response! sorry for the confusing questions.
@ObviousDev
@ObviousDev 2 жыл бұрын
@@leaf4645 No problem :) Glad you liked the video!
@AlouaneZayna
@AlouaneZayna 24 күн бұрын
The tutorials
@user-nJ2up5mo4t
@user-nJ2up5mo4t 2 жыл бұрын
by way can make simple tutorial on particle system trailing a object like car for use
@elib1421
@elib1421 2 жыл бұрын
please tell me you are still working on exocolony... really looking forward to the next dev log. they are so inspirational
@ObviousDev
@ObviousDev 2 жыл бұрын
Yes, I am! Next devlog is in the making. But Overall expect more of a 70% of devlogs like this and 30% exo colony, since exo colony needs a lot of boring refactoring and reworks :) I'll explain that in the upcoming Video!
@elib1421
@elib1421 2 жыл бұрын
@@ObviousDev Danke für deine Antwort! Freut mich sehr, dass du noch an exo colony arbeitest. Ich habe selbst immer damit zu kämpfen, dass ich meine games nicht aufgebe... deine dev logs sind sehr inspirierend und motivierend für mich und als factorio fan gefällt mir das konzept exo colony sehr. Dein pixel art ist super cool. Alles Liebe aus Österreich!
@NotBubZ
@NotBubZ Жыл бұрын
dude this is awesome! im fascinated by the way you handled this (or i guess the way the unreal people did). i do have one question: how did you find out what counterforce to add to make it stop drifting?
@DinciAnimation
@DinciAnimation Жыл бұрын
plz man tell me bro hac cai just make a ui button witch rotate my car backward and forward
@ansettaustralia
@ansettaustralia Жыл бұрын
Any chance of realising the code?
@springcar
@springcar Жыл бұрын
I like better fun car driving jumping physics, and join teaming to create games with UNREAL Engine also :) hello how you like create ?
@jtinz74
@jtinz74 Жыл бұрын
Why not use WheelColliders?
@TheXSpitfire
@TheXSpitfire 2 жыл бұрын
If you park your car on a slope, so that the left wheels are higher than the right...does your "anti drift" stop it from sliding down side ways?
@ObviousDev
@ObviousDev 2 жыл бұрын
Not sure tbh, I'd have to take a look at my implementation. But I think no, because the anti drift should be only active if there is acceleration input
@TheXSpitfire
@TheXSpitfire 2 жыл бұрын
@@ObviousDev I have a similar setup to yours. But if the road is angled around the Z axis, the car slides side ways down the hill slowly. Like the x component is not canceled out 100%. Must have some mistake somewhere.
@Erkle64
@Erkle64 Жыл бұрын
@@TheXSpitfire It's because you're simulating dynamic friction without static friction. Most arcade driving physics involves simulating one without the other.
@andre20026
@andre20026 2 жыл бұрын
how did you make the track blocks appear with that smooth animation, shaders?
@ObviousDev
@ObviousDev 2 жыл бұрын
Yeah, transparency shader and then just tweening with a nice curve :)
@Shivani_thakur01159
@Shivani_thakur01159 2 жыл бұрын
Plz make a detail video
@gamedevaki
@gamedevaki 2 жыл бұрын
5:00 the map somehows reminds me of Jojo 🤣
@Hyjk87
@Hyjk87 2 жыл бұрын
I'd love to see a tutorial to achieve something like this...I don't know where to start :(
@user-nJ2up5mo4t
@user-nJ2up5mo4t 2 жыл бұрын
2:00 I did same thing to day and blamed on script lol I made
@Zer0Flash
@Zer0Flash 2 жыл бұрын
niceee
@bitbraindev
@bitbraindev 2 жыл бұрын
🏎🏎🏎🏎
@naturewaving3897
@naturewaving3897 2 жыл бұрын
Haha vrum
@yoav8893
@yoav8893 Жыл бұрын
its feels good but the camera isn't that good, I think a better camera is a camera that just follows the car from behind
@Oscar97o
@Oscar97o Жыл бұрын
I think the main inspiration was MicroMachines, which has always had this kind of top down camera.
@OwenHodges
@OwenHodges 2 жыл бұрын
How long did this project take?
@ObviousDev
@ObviousDev 2 жыл бұрын
I did not count the hours.. ~2 months but I only worked on the weekends for maybe 3-4 hours every day
@Shivani_thakur01159
@Shivani_thakur01159 2 жыл бұрын
Make a detail video
@arpan9133
@arpan9133 2 жыл бұрын
I need source code please ☹️
@vyse-sen
@vyse-sen 2 жыл бұрын
please make a tutorial for this
@opusdei1151
@opusdei1151 9 ай бұрын
Can I steal your idea :D
@39mup
@39mup 2 жыл бұрын
@Nodsaibot
@Nodsaibot 2 жыл бұрын
an indie game that is not minecraft/zelda ? lol thats crazy
@--Arthur
@--Arthur 2 жыл бұрын
Calling Rocket League a racing game is like calling Counter-Strike a life simulator🤷‍♂
@ObviousDev
@ObviousDev 2 жыл бұрын
Haha, okay. Fair enough! (In the context of arcade racing control mechanics the comparison still holds up imho)
@iversondiegocosta3503
@iversondiegocosta3503 2 жыл бұрын
🙂👍🇧🇷
@ThankYou_AV
@ThankYou_AV Жыл бұрын
Unreal please.
@ehrenisbadatrbx9614
@ehrenisbadatrbx9614 2 жыл бұрын
Man hört das du deutsch bist
@ObviousDev
@ObviousDev 2 жыл бұрын
Ja. Ist auch kein Geheimnis.
@sagarhm2237
@sagarhm2237 Жыл бұрын
Sir GitHub link
I Made a Racing Game to Learn How to Drive
16:37
Rye
Рет қаралды 483 М.
I Made A Difficult Game About Climbing
15:04
Pontypants
Рет қаралды 2,2 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
Каха и дочка
00:28
К-Media
Рет қаралды 2,8 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 21 МЛН
I Made My Own Mario Kart
7:57
Barji
Рет қаралды 461 М.
I Made My Racing Game Feel More Smooth
11:18
Hazardous
Рет қаралды 289 М.
Why I made a Tilesliding Roguelite Game
22:50
Obvious Dev
Рет қаралды 34 М.
How I Made a 3D Platformer in 2D Game Engine
21:23
ggenije
Рет қаралды 567 М.
Game Design in Arcade Racing games
12:02
Let's Talk Game Design
Рет қаралды 11 М.
I Made a $100,000 Commercial in 24 Hours With $0
15:42
Smeaf
Рет қаралды 627 М.
I Created My Own Custom 3D Graphics Engine
26:29
Inkbox
Рет қаралды 117 М.
I Made a Racing Game with No Experience
19:26
Hazardous
Рет қаралды 1,1 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
I Made a Racing Game and My Viewers Destroyed It...
6:19
ZenDuck Apps
Рет қаралды 610
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49