Pages: 1
Topic closed
I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!
Offline
<when green flag clicked>
<forever>
<point towards( Whatever)
<move( ? )steps>
<end>
-12three-
Last edited by 12three (2010-09-17 18:28:30)
Offline
I need the sprite to only chase the other sprite on yhe ground
Offline
Awesomeman98 wrote:
I need the sprite to only chase the other sprite on the ground
Please help people
Offline
That's hard, and advanced work. Maybe post this in Advanced Topics?
Offline
Hmm, this seems to be asking for help with scripts.
The "All About Scratch" forum is a place where people can ask questions about Scratch, as well as get help for scripts in Scratch projects. I'll have this moved to "All About Scratch"; hopefully, some there will be able to help.
Offline
You're a moderator, and you made that great Yu-Gi-Oh Game . Wouldn't you be able to provide a script?
Offline
JAMBAMtheSLAM wrote:
You're a moderator, and you made that great Yu-Gi-Oh Game . Wouldn't you be able to provide a script?
She could be busy
However, the creator of this thread asked a very vague question. Could I maybe have some more details? Exactly what do you want this to do?
Offline
Do toy want a smart AI chasing script or a mindless zombie chacing script?
Offline
For a mindless zombie
<when green flag clicked>
<forever>
<if><< <not> ><touching color[ ground color...>
<change y by( 1
<when green flag clicked>
<forever>
<if><(alive <=> true )>
<point towards( The Hero!
<move( 3 )steps>
<wait( .0125 )secsc>
Last edited by bbbeb (2010-09-18 00:11:18)
Offline
coolstuff wrote:
JAMBAMtheSLAM wrote:
You're a moderator, and you made that great Yu-Gi-Oh Game . Wouldn't you be able to provide a script?
She could be busy
However, the creator of this thread asked a very vague question. Could I maybe have some more details? Exactly what do you want this to do?
XD, was busy at the moment cleaning up some spam over in another forum.
As coolstuff mentioned, the description is kind of vague, so it's hard to design a following script without knowing what the project should be like. The most basic chasing script is the one 12three suggested (it you want to see it in action, it can be seen in action in my game Eat the Crabs, where a starfish chases the shark, and the shark follows the mouse pointer).
Offline
It seems to me that he wants a good guy to walk on the ground and an enemy to chase it but not leave the ground.
Offline
JAMBAMtheSLAM wrote:
It seems to me that he wants a good guy to walk on the ground and an enemy to chase it but not leave the ground.
I want the good guy to run on the ground and jump but the bad guy run along the ground going towards the good guy but never leave the ground
Offline
Awesomeman98 wrote:
JAMBAMtheSLAM wrote:
It seems to me that he wants a good guy to walk on the ground and an enemy to chase it but not leave the ground.
I want the good guy to run on the ground and jump but the bad guy run along the ground going towards the good guy but never leave the ground
Please help in the next hour I have to get it done by tommrow
Offline
[blocks]
<when green flag clicked>
<forever>
<point towards(
<move( 10 )steps>
Offline
Here's some scripts:
Sprite1=chasing
Sprite2=being chased
Sprite2 (being chased):
Sprite1 (chasing):
If the ground is level, then this should work.
Offline
midnightleopard wrote:
[blocks]
<when green flag clicked>
<forever>
<point towards(
<move( 10 )steps>
I ahve tried that script and it stinks the bad guy does not stay on the ground
Offline
meowmeow55 wrote:
Here's some scripts:
Sprite1=chasing
Sprite2=being chased
Sprite2 (being chased):
Sprite1 (chasing):
If the ground is level, then this should work.
sprite1 is the one supposed to be being chased by sprite2 how does my version work please help everyon
Offline
Help Now please please please
Offline
Awesomeman98 wrote:
meowmeow55 wrote:
Here's some scripts:
Sprite1=chasing
Sprite2=being chased
Sprite2 (being chased):
Sprite1 (chasing):
If the ground is level, then this should work.sprite1 is the one supposed to be being chased by sprite2 how does my version work please help everyon
Just put the second script in Sprite2 and the first script in Sprite1, and change Sprite1 in (x position of Sprite1) to Sprite2.
Offline
meowmeow55 wrote:
Awesomeman98 wrote:
meowmeow55 wrote:
Here's some scripts:
Sprite1=chasing
Sprite2=being chased
Sprite2 (being chased):
Sprite1 (chasing):
If the ground is level, then this should work.sprite1 is the one supposed to be being chased by sprite2 how does my version work please help everyon
Just put the second script in Sprite2 and the first script in Sprite1, and change Sprite1 in (x position of Sprite1) to Sprite2.
I did just that and sprite2 just goes to the bottom of the screen please help please please please
Offline
Can you upload the project? I'll take a look at it.
Offline
meowmeow55 wrote:
Can you upload the project? I'll take a look at it.
ok
Offline
Go to my page by clicking on my username and you will see problem game click on that
Offline
Here it is: http://scratch.mit.edu/projects/meowmeow55/1305599
The dog was pointing in the wrong direction. I also fixed a couple other things. Just download it and re-upload it on your account.
Offline
Topic closed
Pages: 1