Compare this project (it has variable displays, also it doesn't quite work too well yet but you can use the arrow keys to move and the down button to let go of ceilings) with this project (the same project without variable displays) to see just how much slower a variable makes the project. Any ideas on how this could be and how to fix it? You may not be able to see the difference online, but downloaded... (shudders)
Last edited by coolstuff (2008-10-22 17:42:32)
Offline
I have uploaded a modified version of your project that uses "shadow" variables which are only updated once per 0.25 seconds. http://scratch.mit.edu/projects/Digimath/299232 From what I can tell, the IDE (offline) performance is about the same as the performance with no display of variables.
This might be the same effect that Jens displays in his race project http://scratch.mit.edu/projects/Jens/170845. The display for a variable is updated for every iteration.
Something is not right with the online version. You might need to download it to see the shadow variables being updated.
Last edited by Digimath (2008-10-22 19:17:41)
Offline