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
Nice!
Offline
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.
Offline
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.
Offline
You'd be surprised then.
Offline
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