bbbeb wrote:
1. If you are complaining about the block palette, then use the hide/show blocks like the Motor blocks do!
![]()
2. Wouldn't you need a plugin for this?
I'm not entirely sure what you mean by either of the above statements... If you could explain it in greater detail, that would be excellent.
Offline
coolstuff wrote:
bbbeb wrote:
1. If you are complaining about the block palette, then use the hide/show blocks like the Motor blocks do!
![]()
2. Wouldn't you need a plugin for this?I'm not entirely sure what you mean by either of the above statements... If you could explain it in greater detail, that would be excellent.
![]()
I think bbbeb is suggesting that if there was concern about these features being too advanced or niche for new users, they could be hidden under a menu in the blocks palette, which I think is a plausible idea. And no, this would not need an extra plugin, I modelled it very closely after Flash's URL library!
Offline
cool Coool COOOOOOOOOOOOOOOOL REALLY COOL THIS SHOULD BE ADDED
It might need a bit of simplifying for new users but cool!
____________________________________________________________________________________
[blocks]<loud?>[/blocks] Yes it is loud here!
Offline
Lucario621 wrote:
fullmoon wrote:
Simple, huh? What do y'all think?
Not really xD
The problem is that it's adding too many more blocks.
Remember - whenever creating a suggestion, think about what it will look like to a beginner. Firstly, it will be confusing to people who don't do so much web developing, and secondly, it just adds to the block palette, which we generally want to limit on, and focus on other things.
They're hidden though. Kind of like the variable blocks.
Offline
You know scratch resources is resources.scratchr.org
Offline
An input of (test sensor) will not work.
Instead, here is a good one:
[when green flag clicked]
[switch to basic graphics of url 'URL here' ]
[load sprites with costumes of [GIF ^] images]
[load sprites with costumes and scripts of [Java ^] ]
[load sprites with costumes and scripts of [Flash ^] ]
[load links to other urls]
Offline
rdococ wrote:
An input of (test sensor) will not work.
Instead, here is a good one:
[when green flag clicked]
[switch to basic graphics of url 'URL here' ]
[load sprites with costumes of [GIF ^] images]
[load sprites with costumes and scripts of [Java ^] ]
[load sprites with costumes and scripts of [Flash ^] ]
[load links to other urls]
Under this proposal, the Sensor type could be dropped anywhere and it would report different data depending on its context. If you're trying to use incompatible data types, i.e. setting a costume to a sound, it will just fail silently.
Offline
fullmoon wrote:
Okay, so I've proposed this before, in this thread. But I'm doing it again, with a blocks-based mockup:
http://img707.imageshack.us/img707/755/ … oposal.gif
My proposal calls for a new data type in Scratch called a WebSensor. You can create one with a button similar to "make a variable/list", and it will produce a reporter like a variable and a list.
Here's the rundown of what each piece of the script does. Here we are going to load some data from a hypothetical Scratch Resources site. This site has a file called getRandomResource.php which takes HTTP POST data and gives you a random resource. It might be a costume, a sound, a string, or maybe a video! Who knows?![]()
So we have our sensor, we have a URL string, and a list of data pairs. Note that in this imaginary version of Scratch it is possible to use a string as an index in a list.
Now the script adds the data to the WebSensor and then gives the sensor a URL and sends it on its way. The script waits until the resource is completely loaded or an error has occurred. Depending on the result, it either complains about the error, or simply loads the data as a costume or sound.
Simple, huh? What do y'all think?
Actually I agree. WebSensors could be in the sensers category.
--------------------------------------------
And the data type Text is passed as Costume.
Offline
Lucario621 wrote:
fullmoon wrote:
Simple, huh? What do y'all think?
Not really xD
The problem is that it's adding too many more blocks.
Remember - whenever creating a suggestion, think about what it will look like to a beginner. Firstly, it will be confusing to people who don't do so much web developing, and secondly, it just adds to the block palette, which we generally want to limit on, and focus on other things.
Then why wouldn't you make a separate version of scratch, or another image file that a scratcher can download when a new scratcher becomes a scratcher?
Offline