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

#1 2012-04-23 18:09:11

G33K-M4573R
Scratcher
Registered: 2012-02-17
Posts: 100+

Help

Hello i'm there today cause I have some problem to script..

First I want to know how to make a monster point at you and walk to you but when you fire him it disapear and appear after like 5 sec.

The problem is when I script it and I put(go to *sprite 1* in 5 sec. but when I fire and the arrow touch him he dosn't disapear

What can I do?

Please be fast it is for Mai 3

Thank you

Last edited by G33K-M4573R (2012-04-23 18:09:28)


http://img11.imageshack.us/img11/3632/g33km4573r.gif

Offline

 

#2 2012-04-23 18:12:03

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: Help

Just put this in your monster script:

when gf clicked
forever if <touching [arrow v]? >
  hide
  wait (5) secs
  go to [spawning area v] 
  show
end


La La
I wrote an album.

Offline

 

#3 2012-04-23 18:24:19

G33K-M4573R
Scratcher
Registered: 2012-02-17
Posts: 100+

Re: Help

But where can be spawning area? Can I switch *go to ...* to go to (x..) (y..)? but I want that the monster walk to my sprite


http://img11.imageshack.us/img11/3632/g33km4573r.gif

Offline

 

#4 2012-04-23 18:53:21

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: Help

G33K-M4573R wrote:

But where can be spawning area? Can I switch *go to ...* to go to (x..) (y..)? but I want that the monster walk to my sprite

Sure, go to any (X,Y) co-ordinates and then:

When gf Clicked
broadcast respawn

When I recieve 'Respawn'
Repeat until touching (arrow)
     point towards player
     move 1 step

hide
wait (5) secs
go to (x,Y)
Broadcast 'Respawn'

Hope this helps!


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

#5 2012-04-23 19:01:06

G33K-M4573R
Scratcher
Registered: 2012-02-17
Posts: 100+

Re: Help

Thank you so much prestige that help me  smile


http://img11.imageshack.us/img11/3632/g33km4573r.gif

Offline

 

#6 2012-04-23 19:12:12

G33K-M4573R
Scratcher
Registered: 2012-02-17
Posts: 100+

Re: Help

Can you help me with the script cause I can't make them

http://scratch.mit.edu/projects/G33K-M4573R/2488181

If you can, can you maake the script? It will help me so much


http://img11.imageshack.us/img11/3632/g33km4573r.gif

Offline

 

Board footer