This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-02-26 19:19:51

Splattafax
Scratcher
Registered: 2008-02-08
Posts: 12

Fishtailing

How do I make it so that the back of a sprite, in the case a lamborghini, fishtails, so that the back wheels of the car swing from side to side? is this possible with scratch?


Teachin' Fools Some Basic Rules!

Offline

 

#2 2008-02-26 19:42:44

FPSFelix
Scratcher
Registered: 2008-02-06
Posts: 100+

Re: Fishtailing

its possible, but to randomize it might be hard.
the easiest way(in my opinion) is to create a hidden sprite that hovers in front of it and the car points toward it.
when you want the car to fishtail, make the sprite move back and forth.


this is what i brought you, this you can keep.
this is what i brought, you may forget me.
i promise to depart, just promise one thing...
kiss my eyes and lay me to sleep.

Offline

 

#3 2008-02-26 21:36:33

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Fishtailing

You can get a better effect if you make the center of rotation for the car sprite be between the front wheels.

Offline

 

#4 2008-02-26 21:42:37

FPSFelix
Scratcher
Registered: 2008-02-06
Posts: 100+

Re: Fishtailing

this is a dumb question, but can the center of rotation be different in costumes?
if so, then have a sprite w/ center in the middle of the car so that you can make turning during driving look good.


this is what i brought you, this you can keep.
this is what i brought, you may forget me.
i promise to depart, just promise one thing...
kiss my eyes and lay me to sleep.

Offline

 

#5 2008-02-26 22:17:28

EdnaC
Scratcher
Registered: 2007-08-28
Posts: 100+

Re: Fishtailing

My attempt:

http://scratch.mit.edu/projects/EdnaC/85136

This may go beyond what you are after, it is a bit complicated and meant to represent a car that is sliding a lot, like a dirt track race car. 

Different costumes may work as well.  Perhaps you could use the car's speed and direction of turn to switch costumes, you might need one that shows it centered, and two or three showing left and right of center at various degrees of "fishtail".  If you just want to show this as it starts off, costumes may be pretty easy.

-MrEd

Offline

 

#6 2008-02-26 23:05:52

FPSFelix
Scratcher
Registered: 2008-02-06
Posts: 100+

Re: Fishtailing

yeah, i didnt say costumes because i thought for non-glitchy fishtailing you would need a lot.


this is what i brought you, this you can keep.
this is what i brought, you may forget me.
i promise to depart, just promise one thing...
kiss my eyes and lay me to sleep.

Offline

 

#7 2008-02-27 02:00:54

Splattafax
Scratcher
Registered: 2008-02-08
Posts: 12

Re: Fishtailing

Thanks all of you, Now I have done The fishtailing.

Thanks so much


Teachin' Fools Some Basic Rules!

Offline

 

Board footer