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

#4576 2012-02-14 17:41:55

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

sci_test wrote:

Google Sites somehow is able to force the browser to download the file. They do that when you add ?d=1 at the end of an attachment URL. Without it, if it's an image or other browser-readable attachment, it doesn't download. Anyone know how to do that?

They do it using the same/a similar method to the one I documented above.


http://i.imgur.com/zeIZW.png

Offline

 

#4577 2012-02-15 12:05:08

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

saving issue: open a pop-up (made of html URI) with a link to the project (snap! URI)
what's wrong?  smile

Offline

 

#4578 2012-02-16 04:13:28

_-_-_-
New Scratcher
Registered: 2011-06-23
Posts: 7

Re: BYOB 3 - Discussion Thread

When I try to Compile my project BYOB gives me:
Compiler error code: 1
Any ideas of how to solve this?

_____________
_-_-_-

Offline

 

#4579 2012-02-16 15:44:31

BornAgainAtheist
New Scratcher
Registered: 2012-02-13
Posts: 42

Re: BYOB 3 - Discussion Thread

_-_-_- wrote:

When I try to Compile my project BYOB gives me:
Compiler error code: 1
Any ideas of how to solve this?

_____________
_-_-_-

Angrily hit your computer till the error no longer is on the screen. JK, How about yo try and compile a simple project like a 1 object one script porject? If you get the same error its byob not you  smile

Offline

 

#4580 2012-02-16 16:32:34

BornAgainAtheist
New Scratcher
Registered: 2012-02-13
Posts: 42

Re: BYOB 3 - Discussion Thread

wow, lots of typos, cant fix them because this profile is new

Offline

 

#4581 2012-02-16 18:06:00

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Gee, the latest build has been up for over an hour and nobody's noticed yet...


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#4582 2012-02-16 19:23:22

BornAgainAtheist
New Scratcher
Registered: 2012-02-13
Posts: 42

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Gee, the latest build has been up for over an hour and nobody's noticed yet...

You have no idea how happy this makes me  big_smile  Jens you rock!

Offline

 

#4583 2012-02-16 19:57:20

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Gee, the latest build has been up for over an hour and nobody's noticed yet...

Awesome
Multiple Sprites
And Green Flag
And Stop Button
Just Awesome

There will be costumes and "effects" (change [effect type] effect by [25]) at some point, though, right?


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#4584 2012-02-16 21:21:50

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

zippynk wrote:

There will be costumes and "effects" at some point, though, right?

Boy, give 'em and inch and they take a mile!  smile


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#4585 2012-02-17 02:07:55

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

the latest build features nXIII's load & save. Kudos to him!


Jens Mönig

Offline

 

#4586 2012-02-17 04:31:20

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Wow! Awesome! I can't play with it right now though.
Jens, a technical question for you that's only somewhat related to Snap!... You don't use native browser input areas, right? By default, the backspace button goes to the previous page. How did you workaround that? Thanks!

BTW, is ALERT the primitive SAY?

Offline

 

#4587 2012-02-17 04:41:00

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

Re: BYOB 3 - Discussion Thread

If you click make a block then cancel it - it doesn't do anything


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

Offline

 

#4588 2012-02-17 04:45:00

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

scimonster wrote:

Wow! Awesome! I can't play with it right now though.
Jens, a technical question for you that's only somewhat related to Snap!... You don't use native browser input areas, right? By default, the backspace button goes to the previous page. How did you workaround that? Thanks!

BTW, is ALERT the primitive SAY?

Hi scimonster,

well, we certainly are using the browser natively, but you're right that my interpretation of Morphic doesn't use any DOM elements inside a Morphic world. You can prevent default behavior for any browser event by calling its

   event.preventDefault();

method in the function that reacts to it, e.g. when setting up an event listener.

The actual code that prevents the backspace key from going to the previous page was supplied by the awesome fullmoon:

   // supress Chrome backspace override
   if (event.keyIdentifier === 'U+0008' || event.keyIdentifier === 'Backspace') {
      event.preventDefault();
   }

The current ALERT primitive is only for debugging and will be taken out again.


Jens Mönig

Offline

 

#4589 2012-02-17 06:00:23

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Gee, the latest build has been up for over an hour and nobody's noticed yet...

Woah. You guys are way ahead of Scratch—that's just awesome!


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4590 2012-02-17 06:06:38

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hey, here are a couple of little things you could add to really spruce things up—
1. On the window onbeforeonload event, mention if you have unsaved changes
2. Set the window title to "Snap! | myproject"
3. New projects should be named "untitled" not "unnamed" (nitpicky!)
4. Deleting sprites?
5. All the BYOB sprite OOP blocks are now sincerely awaited: ([] of []), (object []), etc.  smile
What does developer mode indicate?

BYOB 3.1 question: What is the synchronous property?

Last edited by Hardmath123 (2012-02-17 06:10:46)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4591 2012-02-17 06:20:28

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Thanks for these suggestions!

you can delete a sprite by picking it up from the stage and dropping it onto the palette (just like a block and just like in Scratch). Soon there will be (better) context menu entries for this.


Jens Mönig

Offline

 

#4592 2012-02-17 07:56:19

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

Thanks for these suggestions!

you can delete a sprite by picking it up from the stage and dropping it onto the palette (just like a block and just like in Scratch). Soon there will be (better) context menu entries for this.

Ah. Sorta unintuitive, but it works.  big_smile
EDIT: If you delete the only sprite, things go whacky.

Last edited by Hardmath123 (2012-02-17 07:57:53)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4593 2012-02-17 09:46:55

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

currently if you delete the only sprite it gets replced by a new one


Jens Mönig

Offline

 

#4594 2012-02-17 10:32:29

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Yeah, that happens too, but more urgently the sprite corral goes whacky; turns into a black rectangle, and the stage corral image is transported to the top-left corner.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4595 2012-02-17 10:58:33

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

BYOB 3.1 question: What is the synchronous property?

It has to do with nested sprites.  When the anchor rotates, the parts revolve around it.  If a part's synchronous property is True, the part rotates as well, so that it always presents the same face to the anchor.  Like the moon.  smile


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#4596 2012-02-18 15:44:14

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII, did you remove your development version of Snap? I wanted to show someone the import feature.  smile

Offline

 

#4597 2012-02-19 02:41:46

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

I know you're on a deadline, but at least addition should work:
http://www.imgpaste.com/gYZ8.png
tongue

I was making a Scheme Lisp framework kind of thing, where you do something like:

Code:

(call (Scheme: +) with inputs: [1] [2])

instead of:

Code:

(+ 1 2)

Last edited by Hardmath123 (2012-02-19 02:49:07)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4598 2012-02-19 06:57:05

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Oh, and you haven't implemented [Launch {}] and (Call () with input list [-])


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4599 2012-02-19 12:42:53

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

nXIII, did you remove your development version of Snap?

Iann, but we are trying to maintain just one version of the code during the development process; otherwise it's too complicated to keep track of which version has which features.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#4600 2012-02-19 12:50:27

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

at least addition should work:

This works for me.  If you can reproduce the problem, please be more specific about browser, OS, and sequence of events.  Tnx.

and you haven't implemented

C'mon, there are hundreds of things not yet implemented, you don't have to remind us about them.  One thing at a time.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

Board footer