I mean not like the stage moving around, that would be confusing (although useful!!!) but what I was thinking was some blocks in the pen catogry that the stage can also use as well as the sprites that let you draw lines, rectangles, circles and floodfill stuff. Then the stage could also have a pen colour. The blocks would be:
make a dot at x:() y:() size () draw a line between x:() y:() and x:() y:() draw a rectangle from x:() y:() to x:() y:() draw a circle at x:() y:() with radius () floodfill at x:() y:() floodfill at x:() y:() using [#FFD34B] as boundarysupporters: 6.5
joefarebrother
scimonster
mokat
programCAT (only half suppourt)
luiysia
mitchboy
crischb
Last edited by joefarebrother (2012-04-13 06:11:43)
Offline
Meh thinks those blocks should exist but a drawing Stage...?!?!?!?!?!
Offline
Cool idea, but I think those blocks should be available for sprites too
Offline
yes they would be avaliable to sprites and stage. I just thought of another one:
|make dot at x: () y: () size ()|
Offline
joefarebrother wrote:
I mean not like the stage moving around, that would be confusing (although useful!!!) but what I was thinking was some blocks in the pen catogry that the stage can also use that let you draw lines, rectangles, circles and floodfill stuff. Then the stage could also have a pen colour. The blocks would be:
Code:
|draw line from x:() y:() to x:() y:()| |draw rectange from x:() y:() to x:() y:()| |draw circle with centre x:() y:() and radius ()| |draw circle with centre x:() y:() and circumference ()| |floodfill at x:() y:()|supporters: 1
joefarebrother
All of those can be done with sprites, but floodfill takes time to do, and you have to be good at Scratch.
What would you do with these blocks that you could’t do with Scratch now?
Offline
henley wrote:
joefarebrother wrote:
I mean not like the stage moving around, that would be confusing (although useful!!!) but what I was thinking was some blocks in the pen catogry that the stage can also use that let you draw lines, rectangles, circles and floodfill stuff. Then the stage could also have a pen colour. The blocks would be:
Code:
|draw line from x:() y:() to x:() y:()| |draw rectange from x:() y:() to x:() y:()| |draw circle with centre x:() y:() and radius ()| |draw circle with centre x:() y:() and circumference ()| |floodfill at x:() y:()|supporters: 1
joefarebrother
All of those can be done with sprites, but floodfill takes time to do, and you have to be good at Scratch.
What would you do with these blocks that you could’t do with Scratch now?
Well, there are 5 payoffs to using thees blocks then there is to puting them in a sprite:
1: They will save time (perticually floodfill) both to run and to make, and won't require you to make extra variables to remember the position.
2: They won't change the pen state. This is useful because making a drawline broadcast script would have to put the pen down, and then bake up at the end. This assumes the pen is up to start with, and if it didn't put the pen up at the end, it assumes it was down in the first place. There is no < pen down> boolean so we have no workaround. But theese functions wouldn't assume anything so that is good.
3: They won't make the sprite flash. You could use a sprite that is just a dot to avoid that, but what if it was a 1s1s project?
4: A sprite could run more than 1 at a time. This is important because otherwise the variables you made to remember x and y positions would change otherwise.
5: (the whole point of this post) THE STAGE CAN USE THEM!!!!!!!!!!!!
Tell me if you think of any more payoffs.
Last edited by joefarebrother (2011-09-01 16:21:23)
Offline
Before opening the thread I thought "What? The Stage can't move!", but now that I see what it's about, I support! xP
Offline
Mokat wrote:
Support!!! Maybe a
Draw shape [circle v]block aswell? I'm afraid that the circle blocks you have listed might confuse new scratchers. but it would also have a dropdown menu to choose a shape.
You can simply use a script like this:
when gf clicked repeat (360) stamp move (steps) steps turn (1) degreesAnd for regular polygons:
when gf clicked repeat (number of sides) stamp move (steps) steps turn (((180)*((number of sides)-(2)))/(number of sides)) degreesThe order of the blocks can be wrong, so don't quote me on the order.
Offline
Half-support...
Offline
mitchboy wrote:
Mokat wrote:
Support!!! Maybe a
Draw shape [circle v]block aswell? I'm afraid that the circle blocks you have listed might confuse new scratchers. but it would also have a dropdown menu to choose a shape.You can simply use a script like this:
when gf clicked repeat (360) stamp move (steps) steps turn (1) degreesAnd for regular polygons:when gf clicked repeat (number of sides) stamp move (steps) steps turn (((180)*((number of sides)-(2)))/(number of sides)) degreesThe order of the blocks can be wrong, so don't quote me on the order.
But you can't move the stage... only sprites can do that.
Will someone realize that this is for the stage?
Offline
rdococ wrote:
mitchboy wrote:
Mokat wrote:
Support!!! Maybe a
Draw shape [circle v]block aswell? I'm afraid that the circle blocks you have listed might confuse new scratchers. but it would also have a dropdown menu to choose a shape.You can simply use a script like this:
when gf clicked repeat (360) stamp move (steps) steps turn (1) degreesAnd for regular polygons:when gf clicked repeat (number of sides) stamp move (steps) steps turn (((180)*((number of sides)-(2)))/(number of sides)) degreesThe order of the blocks can be wrong, so don't quote me on the order.But you can't move the stage... only sprites can do that.
Will someone realize that this is for the stage?
Yes, I know this is for the stage, but having a tiny dot draw or stamp itself is more practical than having the stage draw. It might confuse some new Scratchers who don't know much about complex math. I like the "draw circle with radius" idea, though. I support.
Offline
mitchboy wrote:
rdococ wrote:
mitchboy wrote:
You can simply use a script like this:when gf clicked repeat (360) stamp move (steps) steps turn (1) degreesAnd for regular polygons:when gf clicked repeat (number of sides) stamp move (steps) steps turn (((180)*((number of sides)-(2)))/(number of sides)) degreesThe order of the blocks can be wrong, so don't quote me on the order.But you can't move the stage... only sprites can do that.
Will someone realize that this is for the stage?Yes, I know this is for the stage, but having a tiny dot draw or stamp itself is more practical than having the stage draw. It might confuse some new Scratchers who don't know much about complex math. I like the "draw circle with radius" idea, though. I support.
What complex match is involved in drawing a dot on the screen or drawing a lin/rectangle/circle between 2 points?
Offline
joefarebrother wrote:
mitchboy wrote:
rdococ wrote:
But you can't move the stage... only sprites can do that.
Will someone realize that this is for the stage?Yes, I know this is for the stage, but having a tiny dot draw or stamp itself is more practical than having the stage draw. It might confuse some new Scratchers who don't know much about complex math. I like the "draw circle with radius" idea, though. I support.
What complex match is involved in drawing a dot on the screen or drawing a lin/rectangle/circle between 2 points?
Your "floodfill" and rectangle blocks confuse me. A rectangle has four points, so how can you draw it with two? Also, some people don't know what a radius is.
Offline
mitchboy wrote:
joefarebrother wrote:
mitchboy wrote:
Yes, I know this is for the stage, but having a tiny dot draw or stamp itself is more practical than having the stage draw. It might confuse some new Scratchers who don't know much about complex math. I like the "draw circle with radius" idea, though. I support.What complex match is involved in drawing a dot on the screen or drawing a lin/rectangle/circle between 2 points?
Your "floodfill" and rectangle blocks confuse me. A rectangle has four points, so how can you draw it with two? Also, some people don't know what a radius is.
you can draw a rectangle with 2 points if one is the top=left corner and one is the bottom-right corner, assuming you only need horizontal and vertical lines (which is usually the case)
Offline
bump
Offline
Wes64 wrote:
I dont think these blocks are necessary but I would like the "flood fill" block.
You don't need it. Floodfill is easily made in regular scratch (although its a bit slow). Lemme just look for that project...
Anyway, I think the stage should only have pen down, pen up, and a block which acts like a go to x () y().
Offline
Molybdenum wrote:
Wes64 wrote:
I dont think these blocks are necessary but I would like the "flood fill" block.
You don't need it. Floodfill is easily made in regular scratch (although its a bit slow). Lemme just look for that project...
Anyway, I think the stage should only have pen down, pen up, and a block which acts like a go to x () y().
That and [set pen color to ( ) ].
Anyway, I half support because some of these can already be done semi-easily.
Offline
BirdByte wrote:
Actually, this will be too easy to do in 2.0; they have a warp block that atomically preforms the script it contains, and so, it'll be easy to do tools like this with a hidden sprite and the pen.
This topic was made long ago. Before anyone knew about the warp block, and hardly anything about 2.0. So no one could have thought of this.
Last edited by henley (2012-08-15 14:41:38)
Offline
henley wrote:
BirdByte wrote:
Actually, this will be too easy to do in 2.0; they have a warp block that atomically preforms the script it contains, and so, it'll be easy to do tools like this with a hidden sprite and the pen.
This topic was made long ago. Before anyone knew about the warp block, and hardly anything about 2.0. So no one could have thought of this.
Oops, this is one of the first times I didn't notice a necropost.
Offline