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

#1 2008-06-05 08:11:41

johnsdhs
Scratcher
Registered: 2008-05-09
Posts: 1

script doesnt work on site !!!!

http://scratch.mit.edu/projects/johnsdhs/181050

the health meter doesn't work on the site but it does on scratch ????!!!!!?????

Offline

 

#2 2008-06-05 10:56:16

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: script doesnt work on site !!!!

I'm thinking that it has to do with having two variables with the same name.  You have a global variable called Health and a local variable with the same name, probably that is messing up on the Java player. 

There are a number of areas that differ between Scratch and the Java player and I think you have just discovered another difference.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2008-06-05 11:05:22

Cyclone103
Scratcher
Registered: 2008-03-20
Posts: 500+

Re: script doesnt work on site !!!!

Running things in a Java applet causes them to run differently than when run locally......For example, the screen size is not exactly the same. Slobasso ran an experiment which proved that.


All your base are belong to us

Offline

 

Board footer