I think there is a bug on the script of this project: http://scratch.mit.edu/projects/Dan01/358649
When there is no buttons pressed, Mario is going through a series of idle costumes which "should be" 0.05 seconds apart. When the person goes to press the up button, Mario should straight away switch to the jump costumes, as the time between is a maximum of 0.05 seconds. However, it takes atleast 0.5 seconds for the costume switch.
Is this a bug or a problem in my scripting?
Offline
I had the same problem. Although the stance is different the repeat loop still has to run which is what is causing your lag. Yeah, block lag sucks.
Offline
Here: http://scratch.mit.edu/projects/theUnderscene/358813
I just separated the script that was lagging in to two scripts.
Offline
Dan01 wrote:
archmage wrote:
I had the same problem. Although the stance is different the repeat loop still has to run which is what is causing your lag. Yeah, block lag sucks.
Lol. How did you get round it, coz ures seem to work well.
I got rid of some of the animations. Mine used to have a double jump animation and the standing animation messed things up. Yours is a different animation which is probably longer. Just try getting rid of the long animations and see how that works out.
First take out the standing animation.
Last edited by archmage (2008-12-21 14:36:13)
Offline
archmage wrote:
I had the same problem. Although the stance is different the repeat loop still has to run which is what is causing your lag. Yeah, block lag sucks.
I had that problem too. I think it was just a sprite overload on mine. Any way around that?
Offline