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

#1 2011-09-16 12:19:49

Holcombad
New Scratcher
Registered: 2011-09-16
Posts: 1

I have so much lag.

I am a freshman and my game has so much lag and i don't know why. How do you make the  not lag. If you can help PLEASE DO!!!!! Heres the link. http://scratch.mit.edu/projects/Holcombad/2030343

Offline

 

#2 2011-09-16 15:00:22

imacvilla
New Scratcher
Registered: 2010-12-19
Posts: 4

Re: I have so much lag.

Holcombad wrote:

I am a freshman and my game has so much lag and i don't know why. How do you make the  not lag. If you can help PLEASE DO!!!!! Heres the link. http://scratch.mit.edu/projects/Holcombad/2030343

I looked at your scripting and I think it might be the when key pressed blocks and if blocks.
You could try squashing the when key pressed blocks and if blocks into one script like this
[blocks]<if><key[ up ]pressed?>[/blocks]
[blocks]<end>[/blocks]
[blocks]<if><key[ down ]pressed?>[/blocks]
[blocks]<end>[/blocks]
[blocks]<if><key[ left ]pressed?>[/blocks]
[blocks]<end>[/blocks]
[blocks]<if><key[ right ]pressed?>[/blocks]
[blocks]<end>[/blocks]

And also try to us less scripts that might be causing it to lag.

Hope I helped

Offline

 

#3 2011-09-19 05:08:05

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

Re: I have so much lag.

@imacvilla-As an unspoken rule of thumb, we don't use the Scratch Blocks on this forum, because of the screwy graphics.

@OP-Either it's a huge project(unlikely given that you're new) or your scripting is bad.

This should help.


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

Board footer