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
@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.
Offline