i was expremnting with the block
<loudness>
and then i clicked the flag.nothing hapeened but it did have scripts that did somthing.
i clicked again. the bar abothe scratch said (Not Responding). i clicked again and the screen grayed out as if everything had the brightnes efect used on it.
what could have caused it? also im using 1.2.1 on a windows vista serise pack 1.
Offline
if u try to press anywhere in vista when it's not responding it stuffs up and turns the whole program grey, it's not scratch it's vista
Offline
it only happens on scratch.
Offline
TheCatAndTheBanana wrote:
it only happens on scratch.
hmmm, it happen all the time on my computer, perhaps if u were working on something really big or u had something running in the background, a few somethings.
Offline
i had the internet and 2 other scrach windows.i only hadlike one sprite and 2 scripts!
the scripts were
<when green flag clicked>
<forever>
<set[ colour ]effect to( ((<loudness> <*> 10 ))
<end>
and
<when green flag clicked>
<forever>
<play sound[ herecomestherainagain ]and wait>
<end>
herecomestherainagain is an mp3 31 seconds long.
Last edited by TheCatAndTheBanana (2008-08-25 05:44:45)
Offline
did u switch from either the internet to scratch or scratch to scratch then pressed the green flag. couse that would be the problem
Offline
scrtch was on full sise
Offline
wait the mp3 was 31 seconds long, that could cause it, u don't know vista stuffs up a lot, I personally say it was the pc because it has not responding on the heading.
Offline
it done it again.this time it had a varible saying infinity.one sprite one script.
<when green flag clicked>
<forever>
<set{ 319 }to( (( <{ 139 }> <*> 57693286783645794253692758946712984537438456423578435643 ))
<end>
Last edited by TheCatAndTheBanana (2008-08-27 14:53:48)
Offline
it is strange.i can run a platformer in scratch with way more sprites and scripts and it wont freese.is there a simple fix?
Offline
TheCatAndTheBanana wrote:
it is strange.i can run a platformer in scratch with way more sprites and scripts and it wont freese.is there a simple fix?
Looking at the blocks you had posted before, you are continually multiplying a variable so it gets bigger and bigger. Variables in Scratch (and all computer languages) have an upper limit on how big they can get. When you reach that limit, it generates an error condition. How the computer behaves after that depends on how the language (or your program, with more advanced languages) handles the error condition. Scratch usually does a good job handling error conditions and will often keep running. The Java player online, however, does not do as good a job and often locks up.
If you want your project to work online, you may have to rewrite it to try and avoid generating the error condition.
Offline
Paddle2See wrote:
TheCatAndTheBanana wrote:
it is strange.i can run a platformer in scratch with way more sprites and scripts and it wont freese.is there a simple fix?
Looking at the blocks you had posted before, you are continually multiplying a variable so it gets bigger and bigger. Variables in Scratch (and all computer languages) have an upper limit on how big they can get. When you reach that limit, it generates an error condition. How the computer behaves after that depends on how the language (or your program, with more advanced languages) handles the error condition. Scratch usually does a good job handling error conditions and will often keep running. The Java player online, however, does not do as good a job and often locks up.
If you want your project to work online, you may have to rewrite it to try and avoid generating the error condition.
this is starting to get realy strange.i done that loads,and it only crached once.
then again the pc i use for scratch is realy slow now,so that could have caused it.
Offline