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

#1 2008-12-15 06:45:48

Dan01
Scratcher
Registered: 2008-06-11
Posts: 100+

Online Sensing

Does anyone have any ideas why the sensing on this project: http://scratch.mit.edu/projects/Dan_Test/351910 doesn't work online. Offline it works perfectly but online the sprite doesn't even move. The sensor doesn't even change direction.

Any help would be great.


http://img3.imageshack.us/img3/4743/ubd6522wp8.png
http://img3.imageshack.us/img3/4667/ubd3758ox2.png

Offline

 

#2 2008-12-15 09:47:41

Digimath
Scratcher
Registered: 2007-07-07
Posts: 100+

Re: Online Sensing

I think the problem is that the term Direction is both a Scratch keyword and a variable in your program.  Can you change the name of your Direction variable to something else?


I've updated my text adventure game.
Colossal Cave 150http://scratch.mit.edu/static/projects/Digimath/3003787_sm.png

Offline

 

#3 2008-12-15 10:59:09

Dan01
Scratcher
Registered: 2008-06-11
Posts: 100+

Re: Online Sensing

Digimath wrote:

I think the problem is that the term Direction is both a Scratch keyword and a variable in your program.  Can you change the name of your Direction variable to something else?

Hm... that might work. I'll try it in a minute.


http://img3.imageshack.us/img3/4743/ubd6522wp8.png
http://img3.imageshack.us/img3/4667/ubd3758ox2.png

Offline

 

Board footer