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

#1 2010-01-11 15:41:42

1lou
Scratcher
Registered: 2009-12-16
Posts: 3

Need help with making a game.

For my science fair prodject im makeing a game but i cant figure out how to make a game for my science fair prodject please help me out becuse i need to right down the steps on how to make a game but i've only got this far
1)down load scratch
2)open scratch up
and that how far i've got please help me out. I need to program the scratch cat and a dog to chase the scratch cat and a score board i'm so lost i've reserched alot of info but it all about the program not how to make a game and now i need to right down how to make a game and I'm just plain lost please help me.

Offline

 

#2 2010-01-11 15:48:30

ThatOtherPerson
Scratcher
Registered: 2010-01-11
Posts: 11

Re: Need help with making a game.

For dog ( sprite 2 )           
<when green flag clicked>
<forever>
<point towards( Sprite1 )>
<move( 10 )steps>
<end>

For cat ( sprite 1 )
<when green flag clicked>
<forever>
<point towards( Sprite 2 )
<turn cw(<pick random( 1 )to( 359 )degrees>
<end>

Last edited by ThatOtherPerson (2010-01-11 15:49:21)


Is it fair to say I'm contented?

Offline

 

#3 2010-01-11 16:03:24

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Need help with making a game.

Right-ho.  big_smile

For an arrow keys game:

CAT

<when[ left ]key pressed>
<repeat until><<  <not> <key[ left ]pressed?> >>
<change x by( -10

<when[ right ]key pressed>
<repeat until><<  <not> <key[ right ]pressed?> >>
<change x by( 10

<when[ up ]key pressed>
<repeat until><<  <not> <key[ up ]pressed?> >>
<change y by( 10

<when[ down ]key pressed>
<repeat until><<  <not> <key[ down ]pressed?> >>
<change y by( -10

<when green flag clicked>
<forever>
<if><touching[ DOG
<change{ Touching }by( 1
<wait until><<  <not> <touching[ DOG >>

DOG

<when green flag clicked>
<forever>
<point towards( CAT
<move( 10 )steps>

Hope this helps! You can try using other blocks to add effects and stuff (have a look in "Looks" and "Sound")  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#4 2010-01-11 17:29:22

j-max04
Scratcher
Registered: 2009-08-29
Posts: 53

Re: Need help with making a game.

Heres mine:
(for cat[sprite one])
<when green flag clicked>
<forever>
<if><mouse down?>
<point towards( mouse/pointer
<move(4)steps>
<end>
<end>

(for dog[sprite two])

<when green flag clicked>
<forever>
<point towards( sprite1
<move(2)steps>
<end>

Instructions:
You play as a cat and click to move. The dog only goes half as fast as you.

Last edited by j-max04 (2010-01-11 17:33:32)


Yesterday is history, Tomorrow is a mystery,
But Today is a gift, That is why they call it the present.

Offline

 

#5 2010-01-11 17:53:25

1lou
Scratcher
Registered: 2009-12-16
Posts: 3

Re: Need help with making a game.

Thanks for the help

Offline

 

Board footer