Soap Bubbles - Shabondama, a project I made to test out lip-synching in Scratch.
Apparently if I design a project to lip-synch offline and then upload it to the website, it works better in the online Java Player than the Flash player because of the the time it takes to execute scripts. The rate at which blocks are executed in the Java player is closer to the rate it takes to execute scripts offline on a regular computer, given a certain project size limit [we all know how big projects bog down the Java Player causing projects to crawl to a standstill]. Flash has a tendency to execute scripts at a faster rate than offline for small projects, resulting in the lip-synching being off (which makes me wonder if the lip synching is better optimized in Flash for really big animations, like in Astro947's projects).
I'm wondering if there's a way to optimize the project to work both well online and offline without much work (which will probably be something I'll want to work on when 2.0 comes out and the Flash player is finished and permanently made an integral part of the Scratch website). Feel free to take a look at the code and offer up your own opinions.
Or just feel free to watch the video and learn to sing a kiddie song about soap bubbles in the Japanese language. Take your pick.
[edit]: Oh, I wanted to add more subtitles for this project in different languages. If you know another language, I encourage you to remix this project change the English subtitle option into another language.
[/edit]
Last edited by cheddargirl (2011-06-04 18:47:51)

Offline
BUMP.

Offline
I know what you mean! I only find it to be a problem when I use repeat blocks as timers and base it off of timing in presentation mode... like without wait blocks.
It seems like using wait blocks keeps the time pretty well since seconds are the same on and offline... well it might be different if you're waiting like .05 seconds lol
Offline
idkdude wrote:
I know what you mean! I only find it to be a problem when I use repeat blocks as timers and base it off of timing in presentation mode... like without wait blocks.
It seems like using wait blocks keeps the time pretty well since seconds are the same on and offline... well it might be different if you're waiting like .05 seconds lol![]()
Yeah, unfortunately, I am waiting for a short amount of time (like 0.01 to 0.03 seconds, if I'm not mistaken), so sometimes the smallest time change causes the timing to be off at certain time. ^^;
There are techniques that detect when a project is being offline and online, as well as a way to detect which online player is being used (but I'd rather stay away from that option if at all possible ^^U)

Offline
The best idea I can come up with is uploading it to a test account (so people won't see it and get confused) with a variable for how long to wait. And add some scripts to let you change the variable in the project. That way, you can see what works in flash.
And just have multipliers with the variable in the wait box depending on how long you want it to be in each costume, setting up a ratio for the whole thing.
Not sure if I explained that very well hehe ^_^~
Offline
idkdude wrote:
The best idea I can come up with is uploading it to a test account (so people won't see it and get confused) with a variable for how long to wait. And add some scripts to let you change the variable in the project. That way, you can see what works in flash.
And just have multipliers with the variable in the wait box depending on how long you want it to be in each costume, setting up a ratio for the whole thing.
Not sure if I explained that very well hehe ^_^~
Yeah, that's true, I could do that.
I'll probably wait for the Flash player to be updated, though. Some people have complained about the time thing before, I'd rather optimize the project when the Flash player is finished so I won't have to worry about timing later.

Offline
cool!
P.S. you don't have to reply because you already did on your project. But you can if you want to.
Offline