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

#1 2007-09-19 22:23:53

Shinryoku
Scratcher
Registered: 2007-09-19
Posts: 3

Help! Desperate

Okay So I Got This Project In MY Computers Class But I Can't Seem To Figure IT Out

http://mrlanda.com/apcs/scratch/race%20car.sb  Thats THe Address

I'm Supposed To Make The Car Go Around The Track Using The Sensing Blocks With THe If  Control Block  I Got It Throug One Stage But NOt The second

Please Help!!!

Offline

 

#2 2007-09-19 22:59:18

beebe
Scratcher
Registered: 2007-05-28
Posts: 39

Re: Help! Desperate

Shinryoku wrote:

Okay So I Got This Project In MY Computers Class But I Can't Seem To Figure IT Out

http://mrlanda.com/apcs/scratch/race%20car.sb  Thats THe Address

I'm Supposed To Make The Car Go Around The Track Using The Sensing Blocks With THe If  Control Block  I Got It Throug One Stage But NOt The second

Please Help!!!

about that, you have to put in scripts in the sprite.

Offline

 

#3 2007-09-19 23:09:49

Shinryoku
Scratcher
Registered: 2007-09-19
Posts: 3

Re: Help! Desperate

beebe wrote:

Shinryoku wrote:

Okay So I Got This Project In MY Computers Class But I Can't Seem To Figure IT Out

http://mrlanda.com/apcs/scratch/race%20car.sb  Thats THe Address

I'm Supposed To Make The Car Go Around The Track Using The Sensing Blocks With THe If  Control Block  I Got It Throug One Stage But NOt The second

Please Help!!!

about that, you have to put in scripts in the sprite.

I know How To Use The scripts  But Dont Know Which Ones To Use

Offline

 

#4 2007-09-20 00:09:39

Shinryoku
Scratcher
Registered: 2007-09-19
Posts: 3

Re: Help! Desperate

It Seems Like No One Will Help Me       So Forget It

Offline

 

#5 2007-09-20 00:13:47

LeBurt
Scratcher
Registered: 2007-09-12
Posts: 24

Re: Help! Desperate

Hi Shinryoku,

I don't want to give you all the answers but here are some pretty good hints.

Before you start scripting any project, you have to ask yourself: if I did this manually, how would I do it? Here's an example for your particular problem:

Solution 1:
a) move the car a certain number of steps
b) if it touches the grass:
   - rotate it a certain number of degrees counterclockwise
c) start over

Solution 2:
a) move the car a certain number of steps
b) if it touches the grass:
   - move it backward the same amount of steps as in a)
   - rotate it a certain number of degrees counterclockwise
c) start over

Both solution 1 and 2 appear to be logically good but before you try them both, you don't really know. You can also experiment with different values in a) (how many steps to move) and b) (how many degrees to rotate).

By the way, try these in Scratch:
- move an object a positive number of steps (for example: Move 50 steps)
- move the same object a negative number of steps (for example: Move -50 steps)
What happens?

Now all you have to do is figure out which scripts to use to try out solution 1 and 2.

Good luck!

LeBurt.

Offline

 

#6 2007-09-20 02:39:24

_Pinky
Scratcher
Registered: 2007-08-24
Posts: 6

Re: Help! Desperate

Hi Shinryoku,
I downloaded the projects and made a few adjustments.

here's the link.
http://scratch.mit.edu/projects/_Pinky/37730

hope this was helpful.

Offline

 

Board footer