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

#1 2011-01-16 15:42:50

bluerabbit78
Scratcher
Registered: 2009-10-25
Posts: 78

Unexplainable Lag!

I'm making the third episode in my series, LolFigures, but there is one bit where an explosion blasts the characters into the sky, but at that point there is terrible lag for no know reason!!! Please help!

Offline

 

#2 2011-01-16 16:09:31

Sunrise-Moon
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Unexplainable Lag!

How many scripts in total did you use? If you try and keep the number of scripts low, the project will run much faster.


http://i1067.photobucket.com/albums/u427/HulKDzN/RebornBlade.png

Offline

 

#3 2011-01-16 16:49:14

Chatter
Scratcher
Registered: 2009-11-29
Posts: 500+

Re: Unexplainable Lag!

Also, a mod needs to move this to Troubleshooting  smile


http://img19.imageshack.us/img19/2339/mcdonaldsjoke.gifAll your problems are like batter when you add a little Chatter, because when you have Chat, you're safe from bats.  big_smile
"And so?" - The little people in my brain|Status: Snow in April?

Offline

 

#4 2011-01-16 17:01:12

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Unexplainable Lag!

Chatter wrote:

Also, a mod needs to move this to Troubleshooting  smile

Not necessarily...Troubleshooting is for actual bugs in the Scratch program or the website.  This is still most likely a problem with the scripts in the project  smile


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#5 2011-01-17 07:35:22

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Unexplainable Lag!

It depends on how you made the explosion. Some methods cause a lot of lag, such as if you used a lot of sprites.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#6 2011-01-18 15:17:32

bluerabbit78
Scratcher
Registered: 2009-10-25
Posts: 78

Re: Unexplainable Lag!

The funny thing is, the lag only comes in at this point, and even upon disconnecting the explosion script, lag just COMES in. I have now erased that bit, and re-done my animation, but there is lag AGAIN!

Offline

 

#7 2011-01-18 21:57:35

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Unexplainable Lag!

bluerabbit78 wrote:

The funny thing is, the lag only comes in at this point, and even upon disconnecting the explosion script, lag just COMES in. I have now erased that bit, and re-done my animation, but there is lag AGAIN!

If removing the script doesn't get rid of the lag, it's probably something else. Are there a lot of broadcasts or loops that are activated at that point?


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#8 2011-01-19 11:30:42

bluerabbit78
Scratcher
Registered: 2009-10-25
Posts: 78

Re: Unexplainable Lag!

As it happens, when the project is on Stop and I press broadcast ~SoAndSo~ it works fine. It's just when the green flag is on.

Offline

 

Board footer