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

#1 2012-05-20 00:08:53

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Huge glitch- no pen sensing

I have created a project which uses the Pen to draw a planet. However, it just won't sense! Wes64, who is a good programmer, couldn't even fix it. This is a serious glitch, that it won't detect the pen


........................................................................................................................................................................................................................................

Offline

 

#2 2012-05-20 07:33:25

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Huge glitch- no pen sensing

I'm not sure what you mean, could you elaborate a bit please?


http://i.imgur.com/gp6tZ.gif

Offline

 

#3 2012-05-20 07:50:34

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Huge glitch- no pen sensing

you need to put wait0seconds so the screen refreshes

scratch.mit.edu/forums/viewtopic.php?id=57153&p=1 wrote:

6. Certain projects draw to the screen and then try to sense the drawn lines all in the same loop.  Because of speed optimizations that have been made to the Flash Viewer, those projects may have to be modified by adding a Wait 0 block before the sensing blocks.  The Wait 0 will force the screen to be updated so that the sensing works properly.

Offline

 

#4 2012-05-20 09:44:35

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Huge glitch- no pen sensing

Okay. Thanks!


........................................................................................................................................................................................................................................

Offline

 

#5 2012-05-20 22:24:56

amandafish
Scratcher
Registered: 2012-05-20
Posts: 1

Re: Huge glitch- no pen sensing

i think i know what your talking about that happend to me when i started making this paint game but afther that i found out something in things when i looked for a costume i clicked things i scrolled down and i found a drawing pen you should use that for your game your making just some advice hope this helps !!  smile

Offline

 

#6 2012-05-25 17:29:28

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Huge glitch- no pen sensing

If you're using the overly efficient Flash Player, you'll need a

wait () secs
before it is actually sensed. Read http://scratch.mit.edu/forums/viewtopic … 57153]this under entry 6 in the [color = red]Known Limitations[/color]. It should read this:

Code:

6. Certain projects draw to the screen and then try to sense the drawn lines all in the same loop.  Because of speed optimizations that have been made to the Flash Viewer, those projects may have to be modified by adding a Wait 0 block before the sensing blocks.  The Wait 0 will force the screen to be updated so that the sensing works properly.

It is purely a limitation.


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#7 2012-05-25 17:32:55

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Huge glitch- no pen sensing

3sal2 wrote:

If you're using the overly efficient Flash Player, you'll need a

wait () secs
before it is actually sensed. Read http://scratch.mit.edu/forums/viewtopic … 57153]this under entry 6 in the [color = red]Known Limitations[/color]. It should read this:

Code:

6. Certain projects draw to the screen and then try to sense the drawn lines all in the same loop.  Because of speed optimizations that have been made to the Flash Viewer, those projects may have to be modified by adding a Wait 0 block before the sensing blocks.  The Wait 0 will force the screen to be updated so that the sensing works properly.

It is purely a limitation.

Oopsie-daisies, I mean:

If you're using the overly efficient Flash Player, you'll need a

wait () secs
before it is actually sensed. Read http://scratch.mit.edu/forums/viewtopic … 57153]this under entry 6 in the Known Limitations. It should read this:

6. Certain projects draw to the screen and then try to sense the drawn lines all in the same loop.  Because of speed optimizations that have been made to the Flash Viewer, those projects may have to be modified by adding a Wait 0 block before the sensing blocks.  The Wait 0 will force the screen to be updated so that the sensing works properly.

It is purely a limitation.


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#8 2012-06-03 17:33:02

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Huge glitch- no pen sensing

I think this should be closed as blah-blah-blah useless and redundant.


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#9 2012-06-03 18:12:38

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: Huge glitch- no pen sensing

3sal2 wrote:

I think this should be closed as blah-blah-blah useless and redundant.

no need, old topics just pile up and stuff

Offline

 

Board footer