Pages: 1
Topic closed
Check out the friction marble sprite that comes with scratch. Look in the things folder.
Offline
Go to Choose sprite from file->things->friction marble.
It's one of the many sprites that scratch comes with.
Offline
archmage's way works but there is another way.
create this block:
[blocks]
<when green flag clicked>
<forever>
<change x by( <{ x vel }> )>
<change y by( <{ y vel }> )>
[/blocks]
Then you can do something like:
[blocks]
<when green flag clicked>
<forever>
<if><key[ left arrow ]pressed?>
<change{ x vel }by( -1)>
<if><key[ up arrow ]pressed?>
<change{ y vel }by( 1)>
[/blocks]
Offline
There are lots of examples in:
http://scratch.mit.edu/galleries/view/9206
The Gravity to Games Gallery has examples from several different authors. I also did some demos based on my jet airplane game.
-MrEd
Offline
archmage wrote:
Go to Choose sprite from file->things->friction marble.
It's one of the many sprites that scratch comes with.
I though you were talking about a game!
Offline
If this is still going on, I'm ending it with
How to Scroll
Offline
Topic closed
Pages: 1