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

#1 2012-09-03 19:02:21

DewleafWolf
Scratcher
Registered: 2011-01-13
Posts: 100+

Why so glitchy online? ._.

So I made a quick, cute little arcade game called Cookie Catcher, but it's strangely glitchy online. As in, the scoring doesn't work, the "bad" cookies have no effect on you, and just a bunch of other stuff.

WHY is it glitchy online and not offline? Is there any way to fix that? Thanks in advance...

- DewleafWolf

Offline

 

#2 2012-09-03 19:55:12

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Why so glitchy online? ._.

All projects work slightly differently online compared to offline. Have you tried using both the Java Player and the Flash player? One of them might work better than the other  smile


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#3 2012-09-03 23:41:13

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: Why so glitchy online? ._.

Unfortunately, since everyone's scripting is different, it's hard to diagnose a problem like this without going through the project itself very thoroughly; there's no "catch-all" solution to glitches in the Flash/Java/Scratch player.  There are, on the other hand, a number of documented inconsistencies between the players, mostly where loop execution speed and graphics things are concerned.  On the Scratch wiki articles for the two online players, you may be able to identify where the problem is.  Cleaning up your code by combining scripts and reducing the total amount of multi-tasking the program has to do may help as well.

Offline

 

#4 2012-09-04 04:19:00

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Why so glitchy online? ._.

What amcerbu said. Basically the best way to get rid of some bugs is to script it so it does the same thing, but differently.  smile


http://i50.tinypic.com/312u714.jpg

Offline

 

#5 2012-09-06 16:46:05

DewleafWolf
Scratcher
Registered: 2011-01-13
Posts: 100+

Re: Why so glitchy online? ._.

Thanks for the answers! It really sucks that the players play differently like that, and how  some glitches are just there for no reason. Now it just looks like some sort of newbie project with about a thousand glitches.  tongue

Offline

 

#6 2012-09-06 16:57:19

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Why so glitchy online? ._.

Since you are using the "touching color" blocks, it might have caused a problem when you uploaded and had the "compress images and sounds" box checked.

If you use touching color blocks it is very important to make sure that box is NOT checked when uploading the project.


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

Board footer