Discuss Scratch

DrKat123
Scratcher
1000+ posts

Sharp -- a 2.0 mod

I've made a Scratch mod with @mrcomputer1, it's called “Sharp” don't ask why I picked that name, it was supposed to have some of Snap!'s block
You can get the source code here
Report issues here

Tasks:
  • Add a
    (()^()::reporter operators) 
    block – complete
  • Add a custom reporter system – will work on it later
  • Add first-class-citizens – will work on it later
  • and more…

You can check the live version of the mod here: at SharpScratchMod.github.io
(not done yet )

Feel free to contribute

Last edited by DrKat123 (May 15, 2016 08:33:23)


Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
Jonathan50
Scratcher
1000+ posts

Sharp -- a 2.0 mod

Cool!
Shouldn't
(() ^ () :: operators)
go with +, -, * and / at the top of operators?

Last edited by Jonathan50 (July 8, 2016 22:56:06)


Not yet a Knight of the Mu Calculus.
Mrcomputer1
Scratcher
500+ posts

Sharp -- a 2.0 mod

Jonathan50 wrote:

Cool!
Shouldn't
(() ^ () :: operators)
go with +, -, * and / at the top of operators?
Yes it should (I think)
Moved to below /

My Profile / My User Page / My Talk Page
——————–
Progress bar to 1000+ Posts - Image might not be up to date

——————–
My browser / operating system: Windows NT 10.0 (Windows 11 - 22H2), Firefox 122.0b4
——————–
My ScratchX Extensions——–If you like this post, give me an internet!——–Sharp Scratch Mod
DrKat123
Scratcher
1000+ posts

Sharp -- a 2.0 mod

Jonathan50 wrote:

Cool!
Thanks

Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
Macie1234
Scratcher
100+ posts

Sharp -- a 2.0 mod

Add bitwise operations.

Last edited by Macie1234 (May 15, 2016 20:16:31)



DrKat123
Scratcher
1000+ posts

Sharp -- a 2.0 mod

Macie1234 wrote:

Add binary operations.
You mean like and, or, nor and xor?

idk what is a binary operator
Sorry

Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
scratchyone
Scratcher
100+ posts

Sharp -- a 2.0 mod

DrKat123 wrote:

Macie1234 wrote:

Add binary operations.
You mean like and, or, nor and xor?

idk what is a binary operator
Sorry
I think you should add xor too.
BTW, I think you mean a bitwise operator.
Macie1234
Scratcher
100+ posts

Sharp -- a 2.0 mod

DrKat123 wrote:

Macie1234 wrote:

Add binary operations.
You mean like and, or, nor and xor?

idk what is a binary operator
Sorry
I meant bitwise .


DrKat123
Scratcher
1000+ posts

Sharp -- a 2.0 mod

Macie1234 wrote:

DrKat123 wrote:

Macie1234 wrote:

Add binary operations.
You mean like and, or, nor and xor?

idk what is a binary operator
Sorry
I meant bitwise .
Oh
That

Okay I can add it

Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
TheMonsterOfTheDeep
Scratcher
1000+ posts

Sharp -- a 2.0 mod

DrKat123 wrote:

Macie1234 wrote:

DrKat123 wrote:

Macie1234 wrote:

Add binary operations.
You mean like and, or, nor and xor?

idk what is a binary operator
Sorry
I meant bitwise .
Oh
That

Okay I can add it
Yes that would be useful

However it's annoying that there isn't like a standard-defined size for Scratch variables (actually, looking at Variable.as, I guess it's whatever size Flash variables are or something…)

my latest extension: 2d vector math
Jonathan50
Scratcher
1000+ posts

Sharp -- a 2.0 mod

Macie1234 wrote:

DrKat123 wrote:

Macie1234 wrote:

Add binary operations.
You mean like and, or, nor and xor?

idk what is a binary operator
Sorry
I meant bitwise .
Binary operations means operations with two arguments (e.g. binary +, binary -, …)

Not yet a Knight of the Mu Calculus.
DrKat123
Scratcher
1000+ posts

Sharp -- a 2.0 mod

Jonathan50 wrote:

Macie1234 wrote:

DrKat123 wrote:

Macie1234 wrote:

Add binary operations.
You mean like and, or, nor and xor?

idk what is a binary operator
Sorry
I meant bitwise .
Binary operations means operations with two arguments (e.g. binary +, binary -, …)
What about unary operators?

Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
DrKat123
Scratcher
1000+ posts

Sharp -- a 2.0 mod

bump

Last edited by DrKat123 (May 16, 2016 10:28:35)


Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
miniepicness
Scratcher
1000+ posts

Sharp -- a 2.0 mod

Can you port all the blocks to scratch and show me?
Sorry but I've downloaded too much scratch stuff XD
DrKat123
Scratcher
1000+ posts

Sharp -- a 2.0 mod

miniepicness wrote:

Can you port all the blocks to scratch and show me?
Sorry but I've downloaded too much scratch stuff XD
What do you mean?

Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
DrKat123
Scratcher
1000+ posts

Sharp -- a 2.0 mod

Bump

Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
DigiTechs3
New to Scratch
51 posts

Sharp -- a 2.0 mod

I'm actually working on a custom reporter system for Leopard right now, which is neat. It'd be interesting to see how you did it, because I definitely think that my implementation is probably sub-optimal and could be improved. However, I have worked on a few optimisations for blocking args which should make it a little faster.
Mrcomputer1
Scratcher
500+ posts

Sharp -- a 2.0 mod

DigiTechs3 wrote:

I'm actually working on a custom reporter system for Leopard right now, which is neat. It'd be interesting to see how you did it, because I definitely think that my implementation is probably sub-optimal and could be improved. However, I have worked on a few optimisations for blocking args which should make it a little faster.
We haven't started on our custom reporter system yet. We still haven't worked out how to do it. We hopefully will start work on ours soon.

Last edited by Mrcomputer1 (May 17, 2016 12:45:45)


My Profile / My User Page / My Talk Page
——————–
Progress bar to 1000+ Posts - Image might not be up to date

——————–
My browser / operating system: Windows NT 10.0 (Windows 11 - 22H2), Firefox 122.0b4
——————–
My ScratchX Extensions——–If you like this post, give me an internet!——–Sharp Scratch Mod
DigiTechs3
New to Scratch
51 posts

Sharp -- a 2.0 mod

Mrcomputer1 wrote:

DigiTechs3 wrote:

I'm actually working on a custom reporter system for Leopard right now, which is neat. It'd be interesting to see how you did it, because I definitely think that my implementation is probably sub-optimal and could be improved. However, I have worked on a few optimisations for blocking args which should make it a little faster.
We haven't started on our custom reporter system yet. We still haven't worked out how to do it. We hopefully will start work on ours soon (like tomorrow).

I added a 'return ' block to the control palette and baked in support using the thread class. I haven't tested it though, yet, as I still need to add the options to the UI. It's a little ugly, I admit, but at least it ‘works’. ('Works' as in when I use it things don't break entirely.)
superben100
Scratcher
1000+ posts

Sharp -- a 2.0 mod

Cool mod! I look forward to seeing the finished project!

Last edited by kaj (Jan 13, 2017 00:00:00)

Hello there!
I've been a Scratcher for nine years now, and I'm always happy to help!
I'm not around too often, but I check in here from time to time.
Let me know if you need anything!
|| Probably vibing to “Try” - Lawrence ||

Powered by DjangoBB