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

#1 2010-08-30 12:57:51

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Java Applet Glitch

I belive I have found a new glitch when a projects run online.

Lets Say I have 2 sprites:
Sprite1
Sprite2

On Sprite1 there is this code:

When Flag clicked
set var1 to 2
set output to false
forever if <touching ( join |Sprite| and |var1| ) >
| set output to true
|___________________

Both the sprites are shown and are at X: 0 Y: 0

Offline output would equal true
Online (Java) output would equal false



Can someone else test this to see if its just me!


You can now reach me on Twitter @johnnydean1_

Offline

 

#2 2010-08-30 15:04:21

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Java Applet Glitch

Interesting observations! I didn't even know you could do that.  smile

Offline

 

#3 2010-08-30 16:16:48

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Java Applet Glitch

Hmm. That's interesting!


http://i.imgur.com/WBkM2QQ.png

Offline

 

#4 2010-08-30 20:05:51

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Java Applet Glitch

Erm... I don't really get the script.  hmm

Picture?


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#5 2010-08-30 20:19:54

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Java Applet Glitch

Jwosty wrote:

Erm... I don't really get the script.  hmm

Picture?

I think the gist of it is that joining two variables together to make the name of a sprite doesn't work as it should - the "touching" part of it won't sense properly.

Offline

 

#6 2010-08-30 20:20:27

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: Java Applet Glitch

Here ya go. And yes, those are blue variables.
http://i36.tinypic.com/35a9bpi.gif

Offline

 

#7 2010-08-30 20:29:58

MetharQuxid
Scratcher
Registered: 2009-10-14
Posts: 100+

Re: Java Applet Glitch

Weird.  yikes


   Dapper Slime.                     
http://i46.tinypic.com/o8za1k.jpg

Offline

 

#8 2010-08-30 20:37:19

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Java Applet Glitch

coolstuff wrote:

Jwosty wrote:

Erm... I don't really get the script.  hmm

Picture?

I think the gist of it is that joining two variables together to make the name of a sprite doesn't work as it should - the "touching" part of it won't sense properly.

Oh. Hmm... That is odd!  hmm


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#9 2010-08-30 20:38:37

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Java Applet Glitch

shadow_7283 wrote:

Here ya go. And yes, those are blue variables.
http://i36.tinypic.com/35a9bpi.gif

Thanks!  smile

Also, did you edit the source code to get the turqoiuse variables?  big_smile

EDIT: STUPID BROKEN IMG TAGS TURN INTO URL TAGS WHEN QUOTED.  mad

Last edited by Jwosty (2010-08-30 20:39:39)


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#10 2010-08-30 20:46:16

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Java Applet Glitch

Cool glitch!

Jwosty wrote:

EDIT: STUPID BROKEN IMG TAGS TURN INTO URL TAGS WHEN QUOTED.  mad

I know! It's really annoying!


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#11 2010-08-30 20:56:38

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Java Applet Glitch

ScratchReallyROCKS wrote:

Cool glitch!

Jwosty wrote:

EDIT: STUPID BROKEN IMG TAGS TURN INTO URL TAGS WHEN QUOTED.  mad

I know! It's really annoying!

Yea!  sad

EDIT: In fact, I think I'll post a topic on that...  hmm

Last edited by Jwosty (2010-08-30 20:57:25)


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#12 2010-08-31 08:22:33

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: Java Applet Glitch

Jwosty wrote:

Also, did you edit the source code to get the turqoiuse variables?  big_smile

Yep. I've got a tutorial here.

Offline

 

#13 2010-08-31 18:41:01

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Java Applet Glitch

shadow_7283 wrote:

Jwosty wrote:

Also, did you edit the source code to get the turqoiuse variables?  big_smile

Yep. I've got a tutorial here.

Cool!  smile


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

Board footer