Discuss Scratch

TheRailwayNoob87
Scratcher
100+ posts

block „fill last shape“

Scratch has very good pen tools, but there is still missing a very important one: fill shapes. even @griffpatch and other Scratchers programmed that by themselves, but it takes around 30 till 40 lines, so it‘s much too complicated. Therefore, Scratch should implement such a block:

fillshape

But I don‘t have any idea how it would work and how to manage it.

Last edited by TheRailwayNoob87 (July 4, 2021 07:22:06)

Pianostar4
Scratcher
1000+ posts

block „fill last shape“

You're right, it would be hard to implement, although other languages like Python have it. I still support, though. Also, you can use this code to make colored blocks:
[scratchblocks]
fill::pen
[/scratchblocks]
fill
PkmnQ
Scratcher
1000+ posts

block „fill last shape“

It would be better if it worked like Python's turtle module.

startfill. . .endfill
Pianostar4
Scratcher
1000+ posts

block „fill last shape“

PkmnQ wrote:

It would be better if it worked like Python's turtle module.

startfill. . .endfill
I would prefer this:
pencodepencodepencodefill
scratchering_coder
Scratcher
500+ posts

block „fill last shape“

TheRailwayNoob87 wrote:

Scratch has very good pen tools, but there is still missing a very important one: fill shapes. even @griffpatch and other Scratchers programmed that by themselves, but it takes around 30 till 40 lines, so it‘s much too complicated. Therefore, Scratch should implement such a block:

fillshape

But I don‘t have any idea how it would work and how to manage it.
Yeah that is a good idea like for make a paper io game
the2000
Scratcher
1000+ posts

block „fill last shape“

Pianostar4 wrote:

You're right, it would be hard to implement
Hard to implement? JavaScript has this feature built in!
ctx.fill();
(That being said, IIRC the Scratch pen canvas doesn't use an HTML canvas element for some reason. Maybe it's more efficient that way idk)
Pianostar4
Scratcher
1000+ posts

block „fill last shape“

the2000 wrote:

Pianostar4 wrote:

You're right, it would be hard to implement
Hard to implement? JavaScript has this feature built in!
ctx.fill();
(That being said, IIRC the Scratch pen canvas doesn't use an HTML canvas element for some reason. Maybe it's more efficient that way idk)
Also Python:
turtle.fill (I think)

Last edited by Pianostar4 (July 3, 2021 20:08:04)

ScolderCreations
Scratcher
1000+ posts

block „fill last shape“

This would be easy to add(?) and beneficial to all pen projects.
TheRailwayNoob87
Scratcher
100+ posts

block „fill last shape“

Thanks for your support! For more suggestions look at this link: https://scratch.mit.edu/discuss/topic/524968/?page=1#post-5384828
It‘s about implementing new and better calendar blocks.
MasterofTheBrick
Scratcher
1000+ posts

block „fill last shape“

TheRailwayNoob87 wrote:

Thanks for your support! For more suggestions look at this link: https://scratch.mit.edu/discuss/topic/524968/?page=1#post-5384828
It‘s about implementing new and better calendar blocks.

Please don't hijack the thread.
Pianostar4
Scratcher
1000+ posts

block „fill last shape“

MasterofTheBrick wrote:

TheRailwayNoob87 wrote:

Thanks for your support! For more suggestions look at this link: https://scratch.mit.edu/discuss/topic/524968/?page=1#post-5384828
It‘s about implementing new and better calendar blocks.

Please don't hijack the thread.
They're the writer, they can do what they want to an extent in their own topic
the2000
Scratcher
1000+ posts

block „fill last shape“

Pianostar4 wrote:

MasterofTheBrick wrote:

Please don't hijack the thread.
They're the writer, they can do what they want to an extent in their own topic
Just because they're the author doesn't mean that they should (or can) redirect people to an unrelated thread.
Harakou
Scratcher
1000+ posts

block „fill last shape“

the2000 wrote:

Pianostar4 wrote:

MasterofTheBrick wrote:

Please don't hijack the thread.
They're the writer, they can do what they want to an extent in their own topic
Just because they're the author doesn't mean that they should (or can) redirect people to an unrelated thread.
It's really not a big deal…
mumu245
Scratcher
1000+ posts

block „fill last shape“

Harakou wrote:

It would be better if it worked like Python's turtle module.

startfill. . .endfill
Support as per this
Pianostar4
Scratcher
1000+ posts

block „fill last shape“

mumu245 wrote:

Harakou wrote:

It would be better if it worked like Python's turtle module.

startfill. . .endfill
Support as per this
Harakou didnt say that PikmnQ said it

Powered by DjangoBB