Hello, once again, i need help. I need to make a sprite bounce off another one. I will let you give me any special request if you help me. Please help me!!! Thank you.
The script i'm using is:
<when green flag clicked>
<go to[ Sprite 2
<if on edge, bounce>
Please help me fix it.
Offline
Try If touching sprite 2 move -10 steps or something.
Or, if you control the character, and you have for the right arrow key change x by 5, maybe put as well if touching sprite 2 change x by -5. And do that for all the other controls.
Offline
Buggy132k9 wrote:
Try If touching sprite 2 move -10 steps or something.
Or, if you control the character, and you have for the right arrow key change x by 5, maybe put as well if touching sprite 2 change x by -5. And do that for all the other controls.
Thanks so much! It worked! Got any special requests?
Offline
Not yet, but i might soon need a script for a new 'wave' of enemies after a certain amount of kills.
But that'd probably be on wednesday, as i don't have much time tomorrow and i might already know one, but if you wanna help feel free
Offline
Buggy132k9 wrote:
Not yet, but i might soon need a script for a new 'wave' of enemies after a certain amount of kills.
But that'd probably be on wednesday, as i don't have much time tomorrow and i might already know one, but if you wanna help feel free
I'll help!!!
Offline
Hi
I am making a Scratch game for school homework and am really stuck - I have two sprites and they have to dodge each other. My sprite 2 is currently bouncing horizontally across my stage but I want it to bounce vertically instead - does anyone know how to do that?
Thanks
Offline
Buggy132k9 wrote:
Not yet, but i might soon need a script for a new 'wave' of enemies after a certain amount of kills.
But that'd probably be on wednesday, as i don't have much time tomorrow and i might already know one, but if you wanna help feel free
use the [/blocks]<broadcast[ block tocreate a new level after variable "points" or whatever = how many.
Last edited by bananaman114 (2010-05-09 17:25:15)
Offline
http://scratch.mit.edu/forums/viewtopic.php?id=27922#req_messagehttp://scratch.mit.edu/forums/viewtopic.php?id=27922#req_message<broadcast[ ]and wait c>
Offline
[blocks]<if on edge, bounce>[/blocks] Means the border of the screen edge...
Offline
VONNA_01 wrote:
<move( )steps>
Please do not spam. Chatter, I see your question is answered and the answer works. Would you like this closed? I will notify the mods if you do.
Offline
<move( )steps><turn cw( )degrees><point towards( <glide( )secs to x )y
Offline
Pokemonfan226 wrote:
<move( )steps><turn cw( )degrees><point towards( <glide( )secs to x )y
As shamrocker said, please don't spam. It doesn't add to the discussion and gives you a bad reputation.
Offline
You should post this in all about scratch...but anyway, try:
[blocks]<when green flag clicked>
<forever>
<if>
<touching[ Sprite1>
<move(-10 )steps>
[/blocks]
Offline
Hmmm... this is quite an old topic... and it seemed to be resolved quite a while ago (look at post #3). I'll close it
Offline