Thanks alot! I have added a link to the source code in the video's description. Here is the source code: github.com/POWERHACK69/2D-Topdown-Movement-and-Car
you could have spent another 2 minutes going over the calculate_steering() and apply_friction() functions. some newer people might find the hard to follow the creation of the car script. ALSO, you didnt show the Camera2D setup or add this is_active boolean var in the Car script. I understood add a Camera2D to your car. but why are you using the variable is_active ? you could do a followup and maybe show how to get in/out of vehicle ? also, what about adding "gears" ? 1st, 2nd, 3rd and 4th ? that would be interesting.
Hello! The 'is_active' var was to disable and enable the movement of the car because it uses the same key mapping as the player. I didn't realise I had overlooked it. Thanks for pointing this out! I will be making a follow-up to this video (after I am done with the current one I'm working on) going into detail about the car controller and implementing a get in/out mechanic just like in GTA1. Thanks for the feedback. Stay tuned!
Source code? perhaps?
Thanks alot! I have added a link to the source code in the video's description. Here is the source code:
github.com/POWERHACK69/2D-Topdown-Movement-and-Car
@@-RedIndieGames Thanks
Thanks for this, really helped!!!
Thanks. The tutorial is not as good as I would have liked. It's my first, the next ones will be better!
you could have spent another 2 minutes going over the calculate_steering() and apply_friction() functions.
some newer people might find the hard to follow the creation of the car script.
ALSO, you didnt show the Camera2D setup or add this is_active boolean var in the Car script.
I understood add a Camera2D to your car. but why are you using the variable is_active ?
you could do a followup and maybe show how to get in/out of vehicle ?
also, what about adding "gears" ? 1st, 2nd, 3rd and 4th ?
that would be interesting.
Hello! The 'is_active' var was to disable and enable the movement of the car because it uses the same key mapping as the player. I didn't realise I had overlooked it. Thanks for pointing this out!
I will be making a follow-up to this video (after I am done with the current one I'm working on) going into detail about the car controller and implementing a get in/out mechanic just like in GTA1.
Thanks for the feedback. Stay tuned!