This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-09-17 18:26:12

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

Offline

 

#2 2010-09-17 18:28:19

12three
Scratcher
Registered: 2008-06-12
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

<when green flag clicked>
<forever>
<point towards( Whatever)
<move( ? )steps>
<end>

big_smile -12three- big_smile

Last edited by 12three (2010-09-17 18:28:30)

Offline

 

#3 2010-09-17 18:36:39

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

I need the sprite to only chase the other sprite on yhe ground

Offline

 

#4 2010-09-17 18:52:10

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

Awesomeman98 wrote:

I need the sprite to only chase the other sprite on the ground

Please help people

Offline

 

#5 2010-09-17 23:32:33

JAMBAMtheSLAM
New Scratcher
Registered: 2010-09-03
Posts: 100+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

That's hard, and advanced work. Maybe post this in Advanced Topics?


http://i54.tinypic.com/2s7zwxs.png

Offline

 

#6 2010-09-17 23:36:38

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

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.  smile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#7 2010-09-18 00:00:29

JAMBAMtheSLAM
New Scratcher
Registered: 2010-09-03
Posts: 100+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

You're a moderator, and you made that great Yu-Gi-Oh Game  smile  . Wouldn't you be able to provide a script?


http://i54.tinypic.com/2s7zwxs.png

Offline

 

#8 2010-09-18 00:06:15

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

JAMBAMtheSLAM wrote:

You're a moderator, and you made that great Yu-Gi-Oh Game  smile  . Wouldn't you be able to provide a script?

She could be busy  smile

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

 

#9 2010-09-18 00:06:57

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

Do toy want a smart AI chasing script or a mindless zombie chacing script?


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#10 2010-09-18 00:11:03

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

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)


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#11 2010-09-18 00:24:30

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

coolstuff wrote:

JAMBAMtheSLAM wrote:

You're a moderator, and you made that great Yu-Gi-Oh Game  smile  . Wouldn't you be able to provide a script?

She could be busy  smile

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).  smile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#12 2010-09-18 09:14:26

JAMBAMtheSLAM
New Scratcher
Registered: 2010-09-03
Posts: 100+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

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.


http://i54.tinypic.com/2s7zwxs.png

Offline

 

#13 2010-09-18 12:34:02

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

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

 

#14 2010-09-18 12:50:12

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

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

 

#15 2010-09-18 13:01:30

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

[blocks]
<when green flag clicked>
<forever>
<point towards(
<move( 10 )steps>


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#16 2010-09-18 13:12:33

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

Here's some scripts:
Sprite1=chasing
Sprite2=being chased

Sprite2 (being chased):
http://i52.tinypic.com/m7v08z.gif
Sprite1 (chasing):
http://i55.tinypic.com/29gijr7.gif
If the ground is level, then this should work.


Yawn.

Offline

 

#17 2010-09-18 13:34:48

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

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  sad

Offline

 

#18 2010-09-18 13:49:48

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

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  sad

Offline

 

#19 2010-09-18 14:00:04

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

Help Now please please please
sad      sad
sad   sad   sad

Offline

 

#20 2010-09-18 14:07:08

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

Awesomeman98 wrote:

meowmeow55 wrote:

Here's some scripts:
Sprite1=chasing
Sprite2=being chased

Sprite2 (being chased):
http://i52.tinypic.com/m7v08z.gif

Sprite1 (chasing):
http://i55.tinypic.com/29gijr7.gif

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  sad

Just put the second script in Sprite2 and the first script in Sprite1, and change Sprite1 in (x position of Sprite1) to Sprite2.


Yawn.

Offline

 

#21 2010-09-18 14:12:26

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

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  sad

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  sad   sad   sad   sad

Offline

 

#22 2010-09-18 14:20:37

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

Can you upload the project? I'll take a look at it.


Yawn.

Offline

 

#23 2010-09-18 14:24:09

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

meowmeow55 wrote:

Can you upload the project? I'll take a look at it.

ok

Offline

 

#24 2010-09-18 14:36:44

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

Go to my page by clicking on my username and you will see problem game click on that

Offline

 

#25 2010-09-18 14:52:31

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: I need a chasing script and NOW!!!!!!!!!!!!!!!!!!!!!

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.  smile


Yawn.

Offline

 

Board footer