http://scratch.mit.edu/projects/ShadowDialga/2577520
When i run it in Scratch, it syncs up perfectly about half the time (the other half, the music starts playing a bit early). But when I run it in full-screen mode the visuals go faster than the music and end up finishing earlier than they're supposed to. Any ideas why? If so, please let me know or try to fix it and I will give you credit in the final version.
Offline
It's likely to be a website bug. There are a lot of them including some sprites in my projects being able to go through walls or turning sideways. Just put "download it" in your project notes.
Offline
shpeters wrote:
It's likely to be a website bug. There are a lot of them including some sprites in my projects being able to go through walls or turning sideways. Just put "download it" in your project notes.
But when I play it in fullscreen on my computer or it's laggy it does the same so I think it's a scripting error...
Offline
ShadowDialga wrote:
shpeters wrote:
It's likely to be a website bug. There are a lot of them including some sprites in my projects being able to go through walls or turning sideways. Just put "download it" in your project notes.
But when I play it in fullscreen on my computer or it's laggy it does the same so I think it's a scripting error...
I'm sure its not the project. I just downloaded it and the scripts looked fine. You also said it works half the time. Have you tried it on flash or a different computer?
Offline
shpeters wrote:
ShadowDialga wrote:
shpeters wrote:
It's likely to be a website bug. There are a lot of them including some sprites in my projects being able to go through walls or turning sideways. Just put "download it" in your project notes.
But when I play it in fullscreen on my computer or it's laggy it does the same so I think it's a scripting error...
I'm sure its not the project. I just downloaded it and the scripts looked fine. You also said it works half the time. Have you tried it on flash or a different computer?
It was always in flash
Offline
I reanalyzed the script and realized what the problem was. The sound script is right after the costume script which means that it will start a very small amount of time (probably a fraction of a millisecond) after the background changes and 0.2 seconds after the second change in background. Lag makes gaps longer and probably did the same thing with the gap in between the script and the sound. I suggest either trying this on a computer with no lag or moving the sound to a separate script. If that doesn't work then I'm out of ideas.
Offline
shpeters wrote:
I reanalyzed the script and realized what the problem was. The sound script is right after the costume script which means that it will start a very small amount of time (probably a fraction of a millisecond) after the background changes and 0.2 seconds after the second change in background. Lag makes gaps longer and probably did the same thing with the gap in between the script and the sound. I suggest either trying this on a computer with no lag or moving the sound to a separate script. If that doesn't work then I'm out of ideas.
Easier said than done
. How can I move the sound to a different thing?
Offline
As I think has been mentioned, full screen speeds up your scripts.
When your project is on-line, internet connection can affect your speed as well.
If you have this:
wait (1) secsbefore your video starts, it could help. I know it seems general, but this is how I got my AMV working fine. Obviously, you can change the amount of time you wait depending on how much time you need. Keep experimenting and you should get there!
shepters wrote:
moving the sound to a seperate script.
Usually, having a master sound script, a master costume script and a master timing script can easily sort this out.
The master timing script can be like:
when gf clicked broadcast [1] wait (1) secs broadcast [2]and so on.
Offline
It's ok just a bit to fast you might want to slow it down by uploading unnecessary songs found on scratch resources
Offline