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

#1 2011-09-01 08:24:45

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Let the stage draw stuff

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 boundary
supporters: 6.5

joefarebrother
scimonster
mokat
programCAT (only half suppourt)
luiysia
mitchboy
crischb

Last edited by joefarebrother (2012-04-13 06:11:43)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#2 2011-09-01 09:52:30

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Let the stage draw stuff

Meh thinks those blocks should exist but a drawing Stage...?!?!?!?!?!


http://i46.tinypic.com/6yd4c0.png

Offline

 

#3 2011-09-01 14:02:49

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Let the stage draw stuff

Cool idea, but I think those blocks should be available for sprites too  tongue


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#4 2011-09-01 15:54:27

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Let the stage draw stuff

yes they would be avaliable to sprites and stage. I just thought of another one:
|make dot at x: () y: () size ()|


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#5 2011-09-01 16:08:08

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Let the stage draw stuff

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?


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#6 2011-09-01 16:20:50

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Let the stage draw stuff

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)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#7 2012-02-15 08:29:50

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

Re: Let the stage draw stuff

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

 

#8 2012-02-16 13:16:47

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: Let the stage draw stuff

Using my squeak knowledge, technically, the stage should be able to move. You see, EVERYTHING in Squeak is an object, so in Scratch, the blocks, sprites, variables and buttons are objects.

Anyway, support!


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#9 2012-02-16 18:35:40

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Let the stage draw stuff

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.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#10 2012-02-16 19:03:14

mitchboy
Scratcher
Registered: 2011-11-29
Posts: 59

Re: Let the stage draw stuff

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) degrees
And for regular polygons:
when gf clicked
repeat (number of sides)
stamp
move (steps) steps
turn (((180)*((number of sides)-(2)))/(number of sides)) degrees
The order of the blocks can be wrong, so don't quote me on the order.


Quote of the week: "I am NOT being DRAMATIC!" ~Looney Tunes
Check out my newest game here!

Offline

 

#11 2012-02-16 23:09:01

luiysia
Scratcher
Registered: 2011-07-05
Posts: 1000+

Re: Let the stage draw stuff

Support!


http://i50.tinypic.com/dx00pd.gif

Offline

 

#12 2012-02-16 23:27:11

ProgramCAT
Scratcher
Registered: 2011-12-13
Posts: 500+

Re: Let the stage draw stuff

Half-support...


Programming is an art...
Goodbye, Scratch. I am leaving because of the exams coming up at our school, though I'll check the forums once or twice a week.

Offline

 

#13 2012-02-17 12:29:42

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Let the stage draw stuff

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) degrees
And for regular polygons:
when gf clicked
repeat (number of sides)
stamp
move (steps) steps
turn (((180)*((number of sides)-(2)))/(number of sides)) degrees
The 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

 

#14 2012-02-17 12:35:59

mitchboy
Scratcher
Registered: 2011-11-29
Posts: 59

Re: Let the stage draw stuff

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) degrees
And for regular polygons:
when gf clicked
repeat (number of sides)
stamp
move (steps) steps
turn (((180)*((number of sides)-(2)))/(number of sides)) degrees
The 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.


Quote of the week: "I am NOT being DRAMATIC!" ~Looney Tunes
Check out my newest game here!

Offline

 

#15 2012-02-17 14:34:27

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Let the stage draw stuff

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) degrees
And for regular polygons:
when gf clicked
repeat (number of sides)
stamp
move (steps) steps
turn (((180)*((number of sides)-(2)))/(number of sides)) degrees
The 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?


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#16 2012-02-17 14:53:59

mitchboy
Scratcher
Registered: 2011-11-29
Posts: 59

Re: Let the stage draw stuff

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.


Quote of the week: "I am NOT being DRAMATIC!" ~Looney Tunes
Check out my newest game here!

Offline

 

#17 2012-03-27 14:44:29

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Let the stage draw stuff

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)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#18 2012-04-11 18:14:09

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Let the stage draw stuff

Support


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#19 2012-08-15 12:10:39

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Let the stage draw stuff

bump


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#20 2012-08-15 12:20:50

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Let the stage draw stuff

I dont think these blocks are necessary but I would like the "flood fill" block.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#21 2012-08-15 14:00:17

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Let the stage draw stuff

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().


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#22 2012-08-15 14:21:38

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Let the stage draw stuff

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.  hmm


http://i50.tinypic.com/312u714.jpg

Offline

 

#23 2012-08-15 14:26:21

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Let the stage draw stuff

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.


http://i46.tinypic.com/35ismmc.png

Offline

 

#24 2012-08-15 14:40:32

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Let the stage draw stuff

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.  hmm

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.  hmm

Last edited by henley (2012-08-15 14:41:38)


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#25 2012-08-15 15:05:30

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Let the stage draw stuff

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.  hmm

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.  hmm

Oops, this is one of the first times I didn't notice a necropost.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

Board footer