Scratch-vm: Pen Size Limit

Created on 8 Aug 2016  路  3Comments  路  Source: LLK/scratch-vm

_Does this belong in scratch-vm?_

In Scratch 2.0, pen size was limited to 255 due to a technical limitation of Flash (see here). This limit was not imposed in Scratch 1.4. Has any consideration been made as to whether this limit will remain in Scratch 3? The only real reason it could be desired is for backwards-compatibility. Is that reason enough to keep the limit?


Moved from LLK/scratch-blocks#552
/cc @PullJosh @pulljosh

enhancement

Most helpful comment

In built support for pen size > 255 should definitely be done - I've never seen a circle filler algorithm even come close to working at the speed of a single pen down and pen up.

As for backwards compatibility, I think the real question is are there actually any projects that take advantage of the limit? Because I can't find any

All 3 comments

Another use case: I tried to re-create Agar.io in Scratch once, and for most characters I used one pen dot for each character, but for large characters I had to use a circle-drawing algorythm

In built support for pen size > 255 should definitely be done - I've never seen a circle filler algorithm even come close to working at the speed of a single pen down and pen up.

As for backwards compatibility, I think the real question is are there actually any projects that take advantage of the limit? Because I can't find any

I don't see any reason why this limit shouldn't be enough to cover the entire size of the stage.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

griffpatch picture griffpatch  路  6Comments

rasmushaglund picture rasmushaglund  路  4Comments

CatsAreFluffy picture CatsAreFluffy  路  6Comments

BeksOmega picture BeksOmega  路  4Comments

cwillisf picture cwillisf  路  4Comments