Hi
I am trying to work out to do the following things
1. how to make my sprite jump when I push a key (space) so it can go a certain hight it will float back down to the bottom edge or a stage/sprite that is acting as a stage.
2. when my sprite jumps it jumps up and touches another sprite above it and eats or makes that sprite disappears
Offline
I've got a couple of galleries with example and tutorial projects that might help you out with the jumping.
Gravity and Jumping
Platform Games
As for the "eating" of other sprites, you can use a script like this
[blocks]
<when green flag clicked>
<show>
<wait until><touching[ Main Character ]
<hide>
[/blocks]
on each of your sprites that might come in contact with your main character sprite. If your main character is supposed to show an animation of eating or something, have a broadcast message in there to tell it to do so. Hope that helps.
Offline
Paddle2See wrote:
I've got a couple of galleries with example and tutorial projects that might help you out with the jumping.
Gravity and Jumping
Platform Games
As for the "eating" of other sprites, you can use a script like this
[blocks]
<when green flag clicked>
<show>
<wait until><touching[ Main Character ]
<hide>
[/blocks]
on each of your sprites that might come in contact with your main character sprite. If your main character is supposed to show an animation of eating or something, have a broadcast message in there to tell it to do so. Hope that helps.
or check out http://scratch.mit.edu/projects/SpaceManMike/1440292

Offline
You can check out the Scratch Wiki article on Velocity here.
Offline
how to eat a fish or sprite 2 and go away
Offline