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

#1 2007-12-10 10:24:11

inuwali
Scratcher
Registered: 2007-10-01
Posts: 13

Online player bug

Please visit the following project. It doesn't work properly on the website, but if you download it, it should run properly in 1.2.1.

I'm not sure exactly what the problem is, but it seems to be related to a "while not key space pressed" block in the projectile script. You need to hold down the space key until the power maxes out in order to see the bug.


http://scratch.mit.edu/projects/inuwali/65046

Last edited by inuwali (2007-12-10 10:30:11)

Offline

 

#2 2007-12-10 12:04:06

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Online player bug

The Scratch project is runned by Java on the web. Sometimes Java might not "read" the Scratch coding correctly, which causes glitches.


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#3 2007-12-10 14:24:03

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Online player bug

There may be some differences in how Java handles the keyboard on different machines.
Things like auto-repeat settings may affect whether holding a key down results in a "key-down" state or a series of key-press events.

Offline

 

#4 2007-12-12 18:43:26

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Online player bug

Hi, Inuwali.

It seemed to work fine for me online. Someone commented that if the projectile goes off the screen it won't fire again; I wonder if that might be the issue?

  -- John

Offline

 

Board footer