← Back to team overview

scratch team mailing list archive

Re: Sugarizing Scratch

 

Here is my next (hopefully final) test version:

	http://dev.laptop.org/~bert/scratch/Scratch-20100321.xo

* the USB entries are excluded now when running in Sugar 0.82
* sprites are saved without marking them as Scratch activity entries, this prevents auto-resuming them from the Sugar 0.84 home screen
* thumbnails are now generally updated and cached in a background process. This is a larger change, quite independent of Sugar, so I put it in a separate changeset.

I did not add the "My Projects" button when loading costumes, because it was not there in previous releases either. John can easily add it if he feels it's needed when he does the release.

The source code changesets for John are here:

	http://dev.laptop.org/~bert/scratch/SugarScratch-bf-2010Mar21.zip

- Bert -

On 15.03.2010, at 20:37, Claudia Urrea wrote:
> Let me play a bit more with the thumbnails... the "updating thumbnails" is also slow.
> 
> I am going to send email today to Yoshiki Ohshima about adding resistive sensor support on the XO through "loudness" block.
> 
> I will send you an email later.
> 
> Thanks!
> 
> Claudia
> 
> On Mon, Mar 15, 2010 at 3:07 PM, Bert Freudenberg <bert@xxxxxxxxxxxxxxx> wrote:
> On 15.03.2010, at 19:51, Claudia Urrea wrote:
>> Hi Bert.. my comments in blue.
>> 
>> 
>> 
>> Thanks!
>> 
>> Claudia
>> On Sat, Mar 13, 2010 at 6:38 PM, Bert Freudenberg <bert@xxxxxxxxxxxxxxx> wrote:
>> > On 13.03.2010, at 20:46, Claudia Urrea wrote:
>> >>
>> >> Bert,
>> >>
>> >> I have done a lot of testing with the new version this week and this
>> >> is the summary:
>> >
>> > Sounds like everything is pretty much working as expected. Yay :)
>> >
>> YAY!!!
>> >> - Open/Import... work very well
>> >> - Save/Save as... work well
>> >> - export a sprite/create a new sprite from a file... work well, but it
>> >> would be good to have "My projects" button. I created a folder inside
>> >> "My projects" to organize my files. It would be nice to  save and
>> >> retrieve project to/from there.
>> >
>> > How common might that be? In any case it's trivial to show or hide that button for John himself.
>> 
>> It is common in the regular computer... but I have been doing the same in the XO. I am sure other people have done it, since it was the only way to save projects in the XO.
>> John, What do you think?
>> 
>> >> - Import/export a list.. work well. The problem is that the journal
>> >> shows all the txt files and events in the journal are shown as well.
>> >> If you choose any of the events, Scratch gets stuck
>> >
>> > Well, I assume this would happen on a regular PC too if you just open any random file? If not I should try to figure out what's going on.
>> 
>> Well.. it is desirable, if you really get a txt file that you could import in a list. For example, I was working with some students on a Karaoke machine project  and we imported songs' lyrics, but the particular case of the journal is that all the entries in the journal are shown as a txt file... I find it very confusing. 
> 
> But I can't really do much about that - only entries with mimetype text/plain are shown when importing a list, but the Journal apparently is littered with them ...
> 
>> >
>> >> - Import a costume/import a background from Journal.... work well if I
>> >> use the journal widget, but the simple directory view, creating
>> >> thumbnails takes LONG time (10 or 15 min sometimes). I have been using
>> >> this XO for more than a year, so I have a lot of files, which maybe
>> >> the case in many instances.
>> >
>> > One simple possibility would be to disable thumbnails and show a list of text entries instead. A better way would be to retrieve thumbnails only for visible items (and maybe cache in the background).
>> >
>> > OTOH this would happen on a PC too if you have a folder with hundreds of pictures in it. So a general solution might be more appropriate than a Sugar-specific one.
>> 
>> I never experience such a delay... sometime is more than 15 min. 
> 
> But only on first run right? The thumbs should get cached. 
> Besides, most PCs are vastly faster and and have vastly less entries per folder.
> So - disable thumbnails?
> 
>> >> - Import a sound works... but the files produced by record are not
>> >> compatible with Scratch ( MP3 files and uncompressed WAV, AIF, and AU
>> >> files). I copied some wav files to a USB and to the journal and it
>> >> works. I noticed that when I click on the "journal" button I can see
>> >> both, the files on my journal and my USB together. Is this ok? I know
>> >> that through the journal widget I can access both files, but I though
>> >> it was confusing.
>> 
>> John, any chances for Scratch to support other media files (ogg)?
>> >
>> > Indeed. I reported on the strange default Journal+USB behavior earlier (copied again below). Do you want me to change anything? Like only ever show entries from the main Journal?
>> 
>> Since we added a USB button, the journal one should only show the entries in the journal, don't you think? since I copied the files in the journal, I got them all twice in that list.
> 
> 
> Okay. I'll have to special-case for Sugar 0.82 then.
> 
> - Bert -
> 
> 
> 




References