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

#1 2011-11-29 20:42:05

EricAndJeff
New Scratcher
Registered: 2011-11-06
Posts: 5

JAVA player bug?

My BREAKOUT GAME works fine in Scratch, and works fine online in the FLASH player.

BUT it doesn't work online in the JAVA player.  I cleaned up the code and thought that would fix it - but it didn't.

http://scratch.mit.edu/projects/EricAndJeff/2181252

Will the flash player become the default player soon?  It seems better 99% of the time.

THANKS FOR ALL YOUR HARD WORK.  MY SON AND I LOVE SCRATCH!

Jeff

Offline

 

#2 2011-11-30 18:52:12

EricAndJeff
New Scratcher
Registered: 2011-11-06
Posts: 5

Re: JAVA player bug?

PROBLEM SOLVED.

The problem was a difference in how Java and Flash treat the string value "true."  In certain situations the Java player would change the value to the number 1.  I made a simple Java detector based on this.

http://scratch.mit.edu/projects/EricAndJeff/2186140

Offline

 

#3 2011-11-30 21:41:01

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

Re: JAVA player bug?

EricAndJeff wrote:

Will the flash player become the default player soon?  It seems better 99% of the time.

THANKS FOR ALL YOUR HARD WORK.  MY SON AND I LOVE SCRATCH!

Jeff

That's the plan...it's pretty close  smile


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

Offline

 

Board footer