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

#1 2010-04-03 00:48:45

melblah
Scratcher
Registered: 2010-04-03
Posts: 5

how do i make a sprite clickable?

i would like to know how to make a sprite clickable and then change the background? does anyone know how?

if you dont understand, because i dont think i know how to explain how do i make sort of a menu thing and make things clickable so that they can go to another background or peice of the game?
i dont really know how to explain but i really need to know how to do that?
anyone please????? asap please! it would be a great help if you answered my question! it's part of my scratch project and its something that is due soon for a class i have.

Last edited by melblah (2010-04-03 00:49:57)

Offline

 

#2 2010-04-03 01:28:26

melblah
Scratcher
Registered: 2010-04-03
Posts: 5

Re: how do i make a sprite clickable?

help anyone?

Offline

 

#3 2010-04-03 01:30:12

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: how do i make a sprite clickable?

Try something like this.
<when[ sprite ]clicked>
<broadcast[ message

[/blocks]In the other sprite(s):
<when I receive[ message
<your scripts>[/blocks]

Does that help?

Last edited by hmnwilson (2010-04-03 01:30:30)


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#4 2010-04-03 01:42:56

melblah
Scratcher
Registered: 2010-04-03
Posts: 5

Re: how do i make a sprite clickable?

Im not sure what is supposed to go in the message part?

Offline

 

#5 2010-04-03 02:57:28

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: how do i make a sprite clickable?

melblah wrote:

Im not sure what is supposed to go in the message part?

Pretty much anything will work.

The "broadcast ___" block sends a message to every sprite in the project. The "when I recieve ___" block starts when the first sprite broadcasts that message. You'll find it's a really useful block. But what you name that message won't make a difference.

Does that make more sense?

Last edited by hmnwilson (2010-04-03 02:58:50)


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#6 2010-04-03 03:14:49

melblah
Scratcher
Registered: 2010-04-03
Posts: 5

Re: how do i make a sprite clickable?

Oh my gosh yes i got it thank you very much!!!!
YOU ARE A LIFE SAVER!
I AM STAYING UP ALL NIGHT TO FINISH THIS NOW!

Last edited by melblah (2010-04-03 03:30:00)

Offline

 

#7 2010-04-03 14:51:52

ScratchDude101
Scratcher
Registered: 2009-01-30
Posts: 100+

Re: how do i make a sprite clickable?

Uhm, good luck melblah!


Why did I even name myself "ScratchDude101?" I'm Cronos Dage.
http://cl.ly/EDZM/Screenshot%202012-02-14%20at%206.17.40%20pm.png

Offline

 

Board footer