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

#1 2012-01-07 16:45:26

haloman298
New Scratcher
Registered: 2011-09-03
Posts: 18

Is there any way to make vehicle physics?

I wanted to make a game where my character gets into a vehicle at some point.  The game is a 2D scroller.  Any tips for how to make the vehicle driving as realistic as possible?

Offline

 

#2 2012-01-07 17:42:29

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Is there any way to make vehicle physics?

Maybe you could try using Velocity to give the vehicle acceleration? That should do a lot ^^

Last edited by Jonathanpb (2012-01-07 17:44:25)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#3 2012-01-08 07:55:32

aliasCorey
Scratcher
Registered: 2009-04-19
Posts: 100+

Re: Is there any way to make vehicle physics?

You could make two wheels and use a gravity script on them and then make the car move proportionally to them


Let me translate for you (German, English, French)

Offline

 

#4 2012-01-11 16:35:28

TextBook
Scratcher
Registered: 2011-11-16
Posts: 22

Re: Is there any way to make vehicle physics?

Make The Wheels Two Seperate Sprites Which Move Up & Down Depending On The terrain, Make The Main of The Vehicle A Single Sprite which sits between and moves according to the wheel sprites. this looks terrible but is the most realistic i can think of

Offline

 

#5 2012-01-12 17:06:43

Ratty1967UK
Scratcher
Registered: 2007-05-16
Posts: 88

Re: Is there any way to make vehicle physics?

Have a look at this... http://scratch.mit.edu/projects/Ratty1967UK/1469982

it's unfinished but the buggy runs quite well  smile

Offline

 

#6 2012-01-12 19:05:30

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Is there any way to make vehicle physics?

Ratty1967UK wrote:

Have a look at this... http://scratch.mit.edu/projects/Ratty1967UK/1469982

it's unfinished but the buggy runs quite well  smile

What a fabulous project! You should really finish that some day.  smile

Offline

 

Board footer