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

#1 2010-04-28 18:01:51

tstimola
Scratcher
Registered: 2010-04-28
Posts: 2

Sound Error?!

When I embed my Scratch project into an .html file, or when I upload it here, the sound won't loop, resulting in lag and horrible sound effects... but when I run it in Scratch, the sound overlaps and everything sounds fine! Sound code:

http://i886.photobucket.com/albums/ac66/xFear_of_Napalm/snap.jpg?t=1272492083

Offline

 

#2 2010-04-28 18:18:40

AmoebaMan
Scratcher
Registered: 2009-01-26
Posts: 500+

Re: Sound Error?!

well, it doesn't look like there's a problem with your script...

the problem probably stems from teh fact that the Scratch website uses a Java player rather than a smalltalk based program to run your project (stupid, really).  and when you are embedding into an html file, probably the same thing is happening.  smalltalk and all its derivatives are great language, but they don't mesh very well with other such languages.


http://i942.photobucket.com/albums/ad269/RyanScathe/AmoebaMan.png

Offline

 

#3 2010-04-30 18:47:27

tstimola
Scratcher
Registered: 2010-04-28
Posts: 2

Re: Sound Error?!

Thanks man! My finished game will have  a deletable script that stops the game from playing, and instructs the people of scratch.mit.edu to download it, so it doesn't lag at all. These is SO MUCH in this, that any attempts at html-embedded play would be futile. Keep watch for it! It will probably be at version 1.0 by the end of this weekend, themed for survival.

Thanks again, AmoebaMan, and anyone who took the time to read this thread!

Offline

 

#4 2010-04-30 19:07:45

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: Sound Error?!

The sound usually glitches online, especially with the volume block.

Offline

 

#5 2010-05-01 07:39:38

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Sound Error?!

Theres a glitch that means that the sound blocks can't accept the random block, or anything that has been set randomly. You'll have to use a different way.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

Board footer