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

#1 2011-11-30 17:01:29

Angelicall
New Scratcher
Registered: 2011-09-09
Posts: 7

Interactive

Hi,

I am new to Scratch and I love it. I am doing a fish tank and would like to know how I can let the person who is viewing it add a fish to the tank. Can someone please help me?
Thank you!!

Offline

 

#2 2011-11-30 17:05:49

Tbtemplex97
Scratcher
Registered: 2011-11-12
Posts: 100+

Re: Interactive

heres a code:

for fish sprite
<when green flag clicked>
<hide>
<wait until> <mouse down?>
<show>
<go to front>
<go to[ Mouse Pointer]

This Script allows for the player to click the tank and a fish goes to where it clicks,

This also hides the fish until it is pressed for effects that create the fish


Online Status: http://blocks.scratchr.org/API.php?action=onlineStatus&amp;user=Tbtemplex97
Darkspace Coming Soon!, Try the Singleplayer Demo

Offline

 

#3 2011-11-30 17:21:22

Angelicall
New Scratcher
Registered: 2011-09-09
Posts: 7

Re: Interactive

Thank you so much Tbtemplex97 I love you!!!!

Offline

 

#4 2011-11-30 18:31:25

Angelicall
New Scratcher
Registered: 2011-09-09
Posts: 7

Re: Interactive

Another question once I have him come out of hiding how do I get him to move and talk? I've tried using the green flag again but it's not working.

Offline

 

#5 2011-11-30 21:27:24

Angelicall
New Scratcher
Registered: 2011-09-09
Posts: 7

Re: Interactive

Another question once I have him come out of hiding how do I get him to move and talk? I've tried using the green flag again but it's not working.

Offline

 

Board footer