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

#1 2010-01-30 14:41:57

a1130
Scratcher
Registered: 2009-08-27
Posts: 500+

Want to Make Your First Game? No Problem!

Are you puzzled because you don't know how to make a game? Here are some tips to help your character move.

To make your character move forwards, make something like this:

When Green Flag Clicked
Forever
If (key right arrow pressed?)
Move (how many steps you want) steps

To make your character go backward, make something like this:

When Green Flag Clicked
Forever
If (key left arrow pressed?)
Move (how many steps you want, but it has to be a negative number) steps

To make your character fly, do this:

When Green Flag Clicked
Forever
If (key up arrow pressed?)
Change Y by (whatever number you want)

The problem with making your character fly is that if you let go of the up arrow key, he'll stay in the air. So make a script like this:

When Green Flag Clicked
Forever
If (not[key up arrow pressed?])
Change Y by (Whatever you want as long as it's a negative number)

I hope this helps!

Bonus advice: For characters, you can be creative. With the paint editor, you can be creative and make a jack-o-lantern with 2 stems for your character. Let your imagination fly!

Last edited by a1130 (2010-02-13 23:50:19)

Offline

 

#2 2010-01-30 17:34:30

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

Re: Want to Make Your First Game? No Problem!

Nice!  smile


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

Offline

 

#3 2010-01-31 04:42:38

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Want to Make Your First Game? No Problem!

This is a good description of how to make a first game, but you should be able to put some of those scripts together. And personally, I prefer using if not touching (color of ground) change y by something.
And forever if blocks really will cause lag if you try to make a big game, because you need a loop for every action.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#4 2010-01-31 13:05:21

a1130
Scratcher
Registered: 2009-08-27
Posts: 500+

Re: Want to Make Your First Game? No Problem!

I know what you guys are trying to say, but I don't think new Scratchers would make a really big game. Thanks for the advice though.  smile

Offline

 

#5 2010-01-31 15:47:16

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Want to Make Your First Game? No Problem!

You'd be surprised then.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#6 2010-02-13 23:56:27

a1130
Scratcher
Registered: 2009-08-27
Posts: 500+

Re: Want to Make Your First Game? No Problem!

juststickman wrote:

This is a good description of how to make a first game, but you should be able to put some of those scripts together. And personally, I prefer using if not touching (color of ground) change y by something.
And forever if blocks really will cause lag if you try to make a big game, because you need a loop for every action.

Thank you for telling me that. Now in the forum I have replaced
[blocks]<forever if>[/blocks]
[blocks]<end>[/blocks]
with
[blocks]<forever>[/blocks]
[blocks]<if>[/blocks]
[blocks]<end>[/blocks]
[blocks]<end>[/blocks]

It's their choice if they want to do forever if or Forever and then If.

Offline

 

Board footer