My project at
http://scratch.mit.edu/projects/lclarkberg/315923
runs fine in the desktop application but not on the Scratch website. What are some things I should try to fix this?
Offline
Okay Digimath found the problem. Thanks Digimath. In my stage script I had a loop variable try to access item 0 of a list (but all lists start with item 1). For some reason this didn't bother the Scratch app but prevented the online version from working.
I know Scratch doesn't produce error messages, but maybe there could be some sort of flashing indicator when someone tries to access a list item that doesn't exist. Or maybe there is one already but I didn't know what to look for.
Offline
lclarkberg wrote:
Okay Digimath found the problem. Thanks Digimath. In my stage script I had a loop variable try to access item 0 of a list (but all lists start with item 1). For some reason this didn't bother the Scratch app but prevented the online version from working.
I know Scratch doesn't produce error messages, but maybe there could be some sort of flashing indicator when someone tries to access a list item that doesn't exist. Or maybe there is one already but I didn't know what to look for.
I find that when I try to access element zero or negative elements, the List Watcher will flash red for about a half a second. Of course, if you aren't displaying the List Watcher...you see nothing! It probably should put a red border around the script too.
Offline