Discuss Scratch

BertMertDert
Scratcher
23 posts

Can someone please help me with making a script for drifting (In races) ?

So I am making a racing game, but do not know how to make the cars drift. Could someone please help me with this? Thank you!
Project Link: https://scratch.mit.edu/projects/93261042/ (Note: It is incomplete, and quite messy, but it isn't too hard to follow.)
pianogirl84
Scratcher
1000+ posts

Can someone please help me with making a script for drifting (In races) ?

I'm not exactly sure, but you could try looking in the featured Scratch Tutorials studio. There might be a tutorial there.
maverick_raven12
Scratcher
100+ posts

Can someone please help me with making a script for drifting (In races) ?

BertMertDert wrote:

So I am making a racing game, but do not know how to make the cars drift. Could someone please help me with this? Thank you!
Project Link: https://scratch.mit.edu/projects/93261042/ (Note: It is incomplete, and quite messy, but it isn't too hard to follow.)
what do u mean by drift
oceanwaves22
Scratcher
13 posts

Can someone please help me with making a script for drifting (In races) ?

BertMertDert wrote:

So I am making a racing game, but do not know how to make the cars drift. Could someone please help me with this? Thank you!
Project Link: https://scratch.mit.edu/projects/93261042/ (Note: It is incomplete, and quite messy, but it isn't too hard to follow.)
If you look on the right there will a question mark click on it and look for the racing game.
Cloudly
Scratcher
93 posts

Can someone please help me with making a script for drifting (In races) ?

You could do this by using velosity. This is a good velosity script.

https://scratch.mit.edu/projects/91348604/
gtoal
Scratcher
1000+ posts

Can someone please help me with making a script for drifting (In races) ?

BertMertDert wrote:

So I am making a racing game, but do not know how to make the cars drift. Could someone please help me with this? Thank you!
Project Link: https://scratch.mit.edu/projects/93261042/ (Note: It is incomplete, and quite messy, but it isn't too hard to follow.)

there's a hack you can use: set the car origin to the point between the front wheels rather than the center of the car, then turn the car naturally around the corner. The effect is that the back wheels seem to drift!

Example: https://scratch.mit.edu/projects/92539698/
ryansrichai
Scratcher
32 posts

Can someone please help me with making a script for drifting (In races) ?

BertMertDert
Scratcher
23 posts

Can someone please help me with making a script for drifting (In races) ?

gtoal wrote:

BertMertDert wrote:

So I am making a racing game, but do not know how to make the cars drift. Could someone please help me with this? Thank you!
Project Link: https://scratch.mit.edu/projects/93261042/ (Note: It is incomplete, and quite messy, but it isn't too hard to follow.)

there's a hack you can use: set the car origin to the point between the front wheels rather than the center of the car, then turn the car naturally around the corner. The effect is that the back wheels seem to drift!

Example: https://scratch.mit.edu/projects/92539698/


Thank you, gtoal, for that! I will use that instead of trying to add more velocities.
Once again, thanks!

Powered by DjangoBB