bharvey wrote:
roijac wrote:
http://i.imgur.com/qUhWG.png
was boredThat's cool. (pun...) You know that the official Koch snowflake fractalizes the first and last section of each side, too, right?
Try this:
Offline
bharvey wrote:
roijac wrote:
http://i.imgur.com/qUhWG.png
was boredThat's cool. (pun...) You know that the official Koch snowflake fractalizes the first and last section of each side, too, right?
i didn't even know how it's called
anyway, this is still cool
do you know what's going on with taneb? he should say if it worked with byob lower-cased (the .deb package)
edit: this could also be cool if you could answer this, as i need this to make the linux image run correctly
Last edited by roijac (2011-10-24 12:23:01)
Offline
I just updated the pre-pre-pre-alpha nasciturus version with my first shot at variable watchers (show/hide variable blocks).
Enjoy!
Offline
roijac wrote:
do you know what's going on with taneb? he should say if it worked with byob lower-cased (the .deb package)
Nope, all I know about y'all is what I read here.
edit: this could also be cool if you could answer this, as i need this to make the linux image run correctly
All the media files are found in the same directory from which you ran Scratch.image or BYOB.image. Here is the script I put in /usr/bin/byob:
#!/bin/sh # Squeakvm wrapper to load Scratch image. #------------------------------------------------------------ /usr/bin/scratch_squeak_vm \ -plugins /usr/lib/scratch/Plugins \ -vm-sound-pulse \ /usr/lib/scratch/BYOB.image "${@}"
Is that what you wanted?
P.S. That's my least favorite Queen song. And anyway Queen are a little past the peak of good music, which begins and ends with the Beatles.
Last edited by bharvey (2011-10-25 00:16:08)
Offline
xly wrote:
serious matters like Lists and Save
You'll (all) be pleased to know that a first pass at both of these was just today written by nXIII, so they should make it into the pre-alpha reasonably soon (well, except for the display of lists, a can of worms for Jens).
Offline
Oh, and Jens, can the blocks.push statements, by any chance, be added to an onload kind of function so I can dynamically push blocks in? Then I could try to make a 'make a variable' block or a 'make a block' block.
Currently I'm trying to make do with adding blocks to the variables palette programmatically.
Last edited by Hardmath123 (2011-10-25 01:39:30)
Offline
Hi Hardmath123,
it's great that you're finding out about how to script your own blocks using the Snap! source code. The mechanism that adds blocks to the palette is still very much preliminary, because the whole GUI and the microworld components are still mostly non-existing. What I've put into the nasciturus version so far is really only a bunch of dummy elements that let me try the core language features (the blocks and the evaluator).
But even once we'll start to focus on the GUI and on turning this into a real product it's unlikely that we'll actively encourage adding your own primitives, because - you know... after all - Snap! is all about Building Your Own Blocks in Snap! itself.
Last edited by Jens (2011-10-25 07:18:20)
Offline
bharvey wrote:
All the media files are found in the same directory from which you ran Scratch.image or BYOB.image. Here is the script I put in /usr/bin/byob:
Code:
#!/bin/sh # Squeakvm wrapper to load Scratch image. #------------------------------------------------------------ /usr/bin/scratch_squeak_vm \ -plugins /usr/lib/scratch/Plugins \ -vm-sound-pulse \ /usr/lib/scratch/BYOB.image "${@}"Is that what you wanted?
nope, i meant to the way of changing the image file
bharvey wrote:
P.S. That's my least favorite Queen song. And anyway Queen are a little past the peak of good music, which begins and ends with the Beatles.
Beatles are nice, not more of this.
don't take the new song personally
Offline
jens, you might want to disable script vars watchers, or add something like 'hide all watchers', because when i manage to display a temp var, it cannot be hidden any-more...
edit: unless with manually destroying the instance, of course
Last edited by roijac (2011-10-25 09:29:54)
Offline
roijac wrote:
nope, i meant to the way of changing the image file
Okay, I'm confused; the original question was
Anyone knows how to change them (like the 'costumes' path etc.)?
... to which the answer is that costumes, etc, come from the same folder as the image file. Do you mean changing the path to the image file? That's what the script I posted does; it calls the Squeak VM with the full path to BYOB.image given explicitly.
don't take the new song personally
Much better.
Offline
roijac wrote:
jens, you might want to disable script vars watchers, or add something like 'hide all watchers', because when i manage to display a temp var, it cannot be hidden any-more...
edit: unless with manually destroying the instance, of course
Well, the idea is that in Snap! you now can watch every variable, even script variables. Personally, variable watchers - cool as they are - aren't my all time favorite Scratch feature, and I think it might be a good idea to assign the value of a script variable to a watched global one, so you can control the watcher after the script as been executed. However, watchers certainly are a great tool for debugging scripts and block definitions. Therefore I believe that manually deleting unused watchers (drag them to the palette to delete them) is okay.
Offline
shadow_7283 wrote:
Awesome! http://img51.imageshack.us/img51/9724/snapwatcher.png
That's much improved on BYOB3's variable watchers.
Wait.... does that variable having a script mean you can share a script by a mere code now! Can you simply set a variable to a text and it will then be ably to be ran? Then you can share a script!
Offline
Two things:
1. Can you remove the 'are you sure you want to leave this page' dialog? It's annoying.
2. Is this intentional?
Offline