This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#51 2012-02-19 03:49:09

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

TRocket wrote:

done!

change the blockspec to:

Code:

doimport

| frame response |
    (frame _ self ownerThatIsA: ScratchFrameMorph) ifNil: [frame _ (self ownerThatIsA: OffscreenWorldMorph) frame].

"frame importScratchProject."


    "Allow the user to select a project to open, then merge that project's sprites with the
current project."

frame closeMediaEditorsAndDialogs ifFalse: [^ self].
    frame stopAll.

    response _ ScratchFileChooserDialog
        chooseExistingFileType: #project
        extensions: #(panther pt)
        title: 'Import Project'.
    response ifNil: [^ frame].

    frame importSpriteOrProject: response.

you can change the title:'import project' if you want to change the title of the file picker

You mean Right click the previous block and paste the new code in?

Well it hasn't worked it just goes red


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#52 2012-02-19 03:56:30

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Panther OS Is Out Now

muppetds wrote:

TRocket wrote:

done!

change the blockspec to:

Code:

doimport

| frame response |
    (frame _ self ownerThatIsA: ScratchFrameMorph) ifNil: [frame _ (self ownerThatIsA: OffscreenWorldMorph) frame].

"frame importScratchProject."


    "Allow the user to select a project to open, then merge that project's sprites with the
current project."

frame closeMediaEditorsAndDialogs ifFalse: [^ self].
    frame stopAll.

    response _ ScratchFileChooserDialog
        chooseExistingFileType: #project
        extensions: #(panther pt)
        title: 'Import Project'.
    response ifNil: [^ frame].

    frame importSpriteOrProject: response.

you can change the title:'import project' if you want to change the title of the file picker

You mean Right click the previous block and paste the new code in?

Well it hasn't worked it just goes red

remove the fist line "doimport"


http://i.imgur.com/1QqnHxQ.png

Offline

 

#53 2012-02-19 04:14:34

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

TRocket wrote:

muppetds wrote:

TRocket wrote:

done!

change the blockspec to:

Code:

doimport

| frame response |
    (frame _ self ownerThatIsA: ScratchFrameMorph) ifNil: [frame _ (self ownerThatIsA: OffscreenWorldMorph) frame].

"frame importScratchProject."


    "Allow the user to select a project to open, then merge that project's sprites with the
current project."

frame closeMediaEditorsAndDialogs ifFalse: [^ self].
    frame stopAll.

    response _ ScratchFileChooserDialog
        chooseExistingFileType: #project
        extensions: #(panther pt)
        title: 'Import Project'.
    response ifNil: [^ frame].

    frame importSpriteOrProject: response.

you can change the title:'import project' if you want to change the title of the file picker

You mean Right click the previous block and paste the new code in?

Well it hasn't worked it just goes red

remove the fist line "doimport"

yep now its working  smile

*gives TRocket a tin of cookies*


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#54 2012-02-19 04:16:24

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Panther OS Is Out Now

muppetds wrote:

TRocket wrote:

muppetds wrote:


[...]

remove the fist line "doimport"

yep now its working  smile

*gives TRocket a tin of cookies*

* nom nom nom*


http://i.imgur.com/1QqnHxQ.png

Offline

 

#55 2012-02-19 05:21:20

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

it is now complete  smile
It has all been uploaded

Last edited by muppetds (2012-02-19 05:21:42)


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#56 2012-02-19 13:13:43

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther OS Is Out Now

Cool... it needs a LOT of work though. There are a huge number of glitches. It didn't save my username upon first load, it doesn't delete previously drawn background or let you toggle through backgrounds, the settings panel is very unclear...


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#57 2012-02-19 13:19:11

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

sparks wrote:

Cool... it needs a LOT of work though. There are a huge number of glitches. It didn't save my username upon first load, it doesn't delete previously drawn background or let you toggle through backgrounds, the settings panel is very unclear...

OK thank you

Can you list all the glitches and suggest how to fix them please


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#58 2012-02-19 13:23:31

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

muppetds wrote:

sparks wrote:

Cool... it needs a LOT of work though. There are a huge number of glitches. It didn't save my username upon first load, it doesn't delete previously drawn background or let you toggle through backgrounds, the settings panel is very unclear...

OK thank you

Can you list all the glitches and suggest how to fix them please

those glitches were't there earlier

Last edited by muppetds (2012-02-19 13:25:42)


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#59 2012-02-19 13:27:13

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

muppetds wrote:

muppetds wrote:

sparks wrote:

Cool... it needs a LOT of work though. There are a huge number of glitches. It didn't save my username upon first load, it doesn't delete previously drawn background or let you toggle through backgrounds, the settings panel is very unclear...

OK thank you

Can you list all the glitches and suggest how to fix them please

those glitches were't there earlier

The nothing wrong with the scripts though and yet script goes red
maybe the block code has got corrupted as there aren't any custom blocks in that script

after redoing the script it seems to be working

Last edited by muppetds (2012-02-19 13:35:12)


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#60 2012-02-19 13:34:42

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

Ive found a bug - if you name a variable called OS TIME you can't view it


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#61 2012-02-19 13:44:06

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther OS Is Out Now

I can view a variable watcher for OS TIME...


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#62 2012-02-19 13:47:07

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

sparks wrote:

I can view a variable watcher for OS TIME...

well i can't though  sad


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#63 2012-02-19 14:23:34

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

can someone make a remove background block please - panther


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#64 2012-03-04 07:05:25

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Panther OS Is Out Now

Bumpity Bumpity Bumpity bump


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

Board footer