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

#1 2012-08-26 02:08:10

wanghuimike
Scratcher
Registered: 2012-08-26
Posts: 1

Program doesn't run properly on website?

Hi, this is second day learning programming so there is a lot I don't know about it and my first program has a lot of room to improve:
http://scratch.mit.edu/projects/wanghuimike/2747486

There are two glitches when it's played on the website that don't exist when I play it on Scratch on my laptop:

The grass is not where I want it to be.
The soccer net does not disappear once the cat scores.

I know it's a lot to ask but could somebody download it and find out why it works as I wish it to in the scratch program but not on the internet? I would greatly appreciate it if somebody does. Thank you!

Offline

 

#2 2012-08-26 02:17:36

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Program doesn't run properly on website?

wanghuimike wrote:

Hi, this is second day learning programming so there is a lot I don't know about it and my first program has a lot of room to improve:
http://scratch.mit.edu/projects/wanghuimike/2747486

There are two glitches when it's played on the website that don't exist when I play it on Scratch on my laptop:

The grass is not where I want it to be.
The soccer net does not disappear once the cat scores.

I know it's a lot to ask but could somebody download it and find out why it works as I wish it to in the scratch program but not on the internet? I would greatly appreciate it if somebody does. Thank you!

I played it on the Flash player, it was fine, dragged out my old copy of IE (shudder) to play  it in Java, it was Java. There are three things that I can see to do:
1. Say in the project notes (click them on the website) that it does not work in Java, and to use Flash or download.
2. Make a script to detect Java and if it equals Java then have the Cat say 'Please download or use Flash'. I could give you the script, if you want.
3. Wait for 2.0 to come out, when Java will be scrapped.


Who would win, SOPA or PIPA?

Offline

 

#3 2012-08-26 02:23:03

LightFlash
Scratcher
Registered: 2012-07-17
Posts: 75

Re: Program doesn't run properly on website?

What if a guest comes and tries to play the project? (S)he can't play the project, nor download it.  hmm

Offline

 

#4 2012-08-26 02:37:42

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Program doesn't run properly on website?

LightFlash wrote:

What if a guest comes and tries to play the project? (S)he can't play the project, nor download it.  hmm

Say 'If you are not logged in, then add /downloadsb to the end of the URL, and open it in Scratch'.


Who would win, SOPA or PIPA?

Offline

 

#5 2012-08-26 02:48:44

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Program doesn't run properly on website?

Not all people read the project notes. And what if they don't have Scratch and just want to play it online?


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#6 2012-08-26 05:22:14

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Program doesn't run properly on website?

Some projects just don't work online. This is due to the online players not playing the Scratch file directly, but converting the code into another language (Flash or Java, depending on which player. Flash is almost always better though, and I reckon 90% of people use it over the Java player), so occasionally there'll be bugs. You can fix them though, if you tweak some of your scripts so they do the same thing but in a different way. I'll take a look and try to fix it later.


Why

Offline

 

Board footer