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.
Offline
_-_-_- 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
Offline
wow, lots of typos, cant fix them because this profile is new
Offline
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 Jens you rock!
Offline
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?
Offline
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
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.
Offline
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!
Offline
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.
What does developer mode indicate?
BYOB 3.1 question: What is the synchronous property?
Last edited by Hardmath123 (2012-02-17 06:10:46)
Offline
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.
Offline
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.
EDIT: If you delete the only sprite, things go whacky.
Last edited by Hardmath123 (2012-02-17 07:57:53)
Offline
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.
Offline
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.
Offline
nXIII, did you remove your development version of Snap? I wanted to show someone the import feature.
Offline
I know you're on a deadline, but at least addition should work:
I was making a Scheme Lisp framework kind of thing, where you do something like:
(call (Scheme: +) with inputs: [1] [2])
instead of:
(+ 1 2)
Last edited by Hardmath123 (2012-02-19 02:49:07)
Offline
Oh, and you haven't implemented [Launch {}] and (Call () with input list [-])
Offline
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.
Offline
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.
Offline