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

#1 2012-01-19 18:26:10

SiroccoDream
New Scratcher
Registered: 2011-12-01
Posts: 5

Variable "time" keeps showing up, even though it's delete

This question is actually on behalf of my son.  He's made a game in which a bowl of killer cheespuffs is chasing a boy.  In the ORIGINAL game, there was a timer, and all you could do was try to keep away from the cheesepuffs as long as possible.

In his latest version, a lamp sometimes pops up on the dresser, and when you move the boy over the lamp, the lamp smacks the cheesepuffs and the Cheesepuffs Health variable counter loses a point.  If you get the cheesepuffs to zero health, you win.

Problem is this:  Even though he deleted the "time" variable in his scripts, it still keeps showing up in his game whenever he posts it to the Scratch website.  So now, the Cheesepuffs Health text box has a smaller "time" text box directly over it.  You can still see the cheesepuff health points remaining, but it's still distracting.

I tried downloading the project, removing the time variable, and uploading it myself, and still have the same trouble. 

Any idea as to why the time variable text box keeps rearing its ugly head?

Offline

 

#2 2012-01-19 18:31:20

Bsteward
Scratcher
Registered: 2010-04-13
Posts: 100+

Re: Variable "time" keeps showing up, even though it's delete

Could you post a link to the project?


Interested in the future of Scratch?http://ffs.us.to/1.png
http://i40.tinypic.com/2i9jejd.jpgIt has http://bit.ly/Ol3MfD views. Click to add one more!

Offline

 

#3 2012-01-19 18:34:39

SiroccoDream
New Scratcher
Registered: 2011-12-01
Posts: 5

Re: Variable "time" keeps showing up, even though it's delete

haha Whooops   tongue

http://scratch.mit.edu/projects/SiroccoDream/2283104

Offline

 

#4 2012-01-19 18:47:07

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Variable "time" keeps showing up, even though it's delete

SiroccoDream wrote:

haha Whooops   tongue

http://scratch.mit.edu/projects/SiroccoDream/2283104

That's so weird...?


6418,

Offline

 

#5 2012-01-19 18:53:59

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

Re: Variable "time" keeps showing up, even though it's delete

I downloaded the project and it looks like not all the scripts using the time variable have been deleted (it's one of the scripts for the stage), which is why it continues popping up whenever the project executes. Just remove the script from the stage and hopefully that will solve the problem.  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

 

#6 2012-01-19 19:04:36

SiroccoDream
New Scratcher
Registered: 2011-12-01
Posts: 5

Re: Variable "time" keeps showing up, even though it's delete

Cheddargirl, you're my hero!

Man, I've been looking at all the sprites for over an hour, but I'm so new to Scratch myself that I forgot the stage could have coding, too.

I'm so relieved, thanks so much for your help!  You rock.

Offline

 

Board footer