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

#1 2012-10-16 15:57:11

iantcummings
New Scratcher
Registered: 2012-10-16
Posts: 1

Game works fine in flash, doesn't work in Java player

Hello all,

I built my first scratch project last night, and it works flawlessly with the Flash player. But I got some comments about the Java version not working and sure enough I switched over and they don't work.

I'm using Chrome, and here's the project:
http://scratch.mit.edu/projects/iantcummings/2839357

I just do a simple script on two buttons at the start of the game to move from this state to the next.

when [DEM] clicked
set isGop to [0]
broadcast [newgame]

when [GOP] clicked
set isGop to [1]
broadcast [newgame]

And then the stage and ball and paddles listen for that 'newgame' event to show up and start the simulation.

Any ideas on why this wouldn't work in Java?

Offline

 

#2 2012-10-16 17:24:33

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Game works fine in flash, doesn't work in Java player

Hi, welcome to Scratch.

This is common. Nothing can really be done about it.

Also, you live near me!  smile


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#3 2012-10-17 15:24:14

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Game works fine in flash, doesn't work in Java player

Well, it doesn't really matter if it doesn't work in Java. The Java player will become obsolete pretty soon because of Scratch 2.0, which will be all Flash based.

Offline

 

#4 2012-10-23 21:40:39

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Game works fine in flash, doesn't work in Java player

I noticed that my games don't work in Java. Unfortunately, I didn't have time to switch to the Flash player before my browser stopped trying to reload the page (my browser tries to load it, then it says "there was an error that caused the tab to close and reopen." And then it just said "your browser was not able to return you to mit.edu.")

Offline

 

#5 2012-10-23 21:53:43

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Game works fine in flash, doesn't work in Java player

Oh, I just noticed it didn't work in IE, but it did in Mozilla Firefox.

Offline

 

#6 2012-10-23 21:58:18

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Game works fine in flash, doesn't work in Java player

Let me clarify my last post: I meant I couldn't use the Java player in IE, but I could in Firefox.

Offline

 

#7 2012-10-23 22:20:52

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Game works fine in flash, doesn't work in Java player

Funny,it's usually the other way round.  hmm


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#8 2012-10-29 20:22:12

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Game works fine in flash, doesn't work in Java player

I don't think the problem that I'm having has anything to do with the Scratch site. I went to some other sites that had Java programs, and guess what! I found that they ran fine in Firefox, but not in Internet Explorer.

Offline

 

#9 2012-10-30 02:38:58

soniku3
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Game works fine in flash, doesn't work in Java player

Just one thing for the Exploder users. Switch to Firefox or Chrome....


internet's all about cats today.

Offline

 

#10 2012-11-01 00:24:57

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Game works fine in flash, doesn't work in Java player

soniku3 wrote:

Just one thing for the Exploder users. Switch to Firefox or Chrome....

Explorer, not Exploder.

Offline

 

Board footer