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

#1 2009-11-17 12:24:45

ghs2008
Scratcher
Registered: 2008-11-25
Posts: 3

Game is working differently when it's uploaded to the site.

Hello.
I just uploaded this game: http://scratch.mit.edu/projects/ghs2008/763463

It works fine in the program, but when it's uploaded to the site the character doesn't die when it touches the water. 
I coded the game so that when a green spot in the center of the platypus touches the water, the lives variable is reduced by one and the platypus goes back to its starting position. 

I need it fixed asap and any help is appreciated.

Thank you.

Offline

 

#2 2009-11-17 13:29:30

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

Re: Game is working differently when it's uploaded to the site.

You're using the "touching color" blocks.  When you do that, it is important not to compress your graphics when you upload.  This is tricky, because the check box is checked by default.  Try uploading again without this check.


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

 

#3 2009-11-17 23:06:26

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Game is working differently when it's uploaded to the site.

Unfortunately, the online player is really buggy. It creates bugs that don't happen offline. I recommend saying clearly in the project notes to download it, otherwise it has lots of bugs.


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#4 2009-11-18 10:56:10

ghs2008
Scratcher
Registered: 2008-11-25
Posts: 3

Re: Game is working differently when it's uploaded to the site.

I uploaded the game without compressing the graphics and it still isn't working. I'm using this game as a tutorial for a middle-school tech class and it's important that it works on the site.

Offline

 

#5 2009-11-19 11:36:33

ghs2008
Scratcher
Registered: 2008-11-25
Posts: 3

Re: Game is working differently when it's uploaded to the site.

I fixed it.  Turns out the colors I was using were not "web safe."  I've changed them and the game works fine now.

Thank you for trying though.

Offline

 

Board footer