Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Scratch has too much lag and it's making my project glitch.
- TheHockeyist
- Scratcher
1000+ posts
Scratch has too much lag and it's making my project glitch.
I have a project where I define an object's movement every 1/14 of the way (it's very irregular) and another where I define a slower object every 1/2 of the way (it's very regular).
The faster object (the 1/14 irregular) should complete 4.15 paths before the slower object completes one path.
Instead, due to lag, the faster object is slower and only completes about 3 paths before the slower object completes one path. I wanted it to be prefect, and now it's imperfect due to lag. Scratch has too much of it.
The faster object (the 1/14 irregular) should complete 4.15 paths before the slower object completes one path.
Instead, due to lag, the faster object is slower and only completes about 3 paths before the slower object completes one path. I wanted it to be prefect, and now it's imperfect due to lag. Scratch has too much of it.
- drmcw
- Scratcher
1000+ posts
Scratch has too much lag and it's making my project glitch.
Why not? No-one can see anything otherwise. (P.S.: I haven't shared the project)
- drmcw
- Scratcher
1000+ posts
Scratch has too much lag and it's making my project glitch.
Well reasonable timings to a tenth of a second is ok a hundredth is unreasonable but you have timing to 9 decimal places!
- drmcw
- Scratcher
1000+ posts
Scratch has too much lag and it's making my project glitch.
For mercury try using a loop of go to x y and play note until done. That would have a better chance of working more accurately.
e.g
e.g
forever
go to x: () y: ()
play note ( v) for (0.5) beats
...
end
Last edited by drmcw (June 17, 2014 18:12:58)
- drmcw
- Scratcher
1000+ posts
Scratch has too much lag and it's making my project glitch.
Could you reduce the note lengths to get better timing for mercury?
- drmcw
- Scratcher
1000+ posts
Scratch has too much lag and it's making my project glitch.
It might be worth looking at this project http://scratch.mit.edu/projects/10490996/ to see how you can use the timer to trigger notes at the right time?
- TheHockeyist
- Scratcher
1000+ posts
Scratch has too much lag and it's making my project glitch.
http://scratch.mit.edu/projects/10490996/ to see how you can use the timer to trigger notes at the right time?Since my song repeats itself over and over until infinity, I think I'd be forced to use a mod block or something… and the mod number is different for each planet… It might be worth looking at this project
- drmcw
- Scratcher
1000+ posts
Scratch has too much lag and it's making my project glitch.
forever
repeat (length of [list v])
end
end
- Discussion Forums
- » Bugs and Glitches
- » Scratch has too much lag and it's making my project glitch.