Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Sharp -- a 2.0 mod
- 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
You can check the live version of the mod here: at SharpScratchMod.github.io
(not done yet
)
Feel free to contribute
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)
- Jonathan50
-
Scratcher
1000+ posts
Sharp -- a 2.0 mod
Cool!
Shouldn't
Shouldn't
(() ^ () :: operators)go with +, -, * and / at the top of operators?
Last edited by Jonathan50 (July 8, 2016 22:56:06)
- Mrcomputer1
-
Scratcher
500+ posts
Sharp -- a 2.0 mod
Cool!Yes it should (I think)
Shouldn't(() ^ () :: operators)go with +, -, * and / at the top of operators?

Moved to below /
- 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
Add binary operations.You mean like and, or, nor and xor?
idk what is a binary operator
Sorry
- scratchyone
-
Scratcher
100+ posts
Sharp -- a 2.0 mod
I think you should add xor too.Add binary operations.You mean like and, or, nor and xor?
idk what is a binary operator
Sorry
BTW, I think you mean a bitwise operator.
- Macie1234
-
Scratcher
100+ posts
Sharp -- a 2.0 mod
I meant bitwiseAdd binary operations.You mean like and, or, nor and xor?
idk what is a binary operator
Sorry
.- DrKat123
-
Scratcher
1000+ posts
Sharp -- a 2.0 mod
OhI meant bitwiseAdd binary operations.You mean like and, or, nor and xor?
idk what is a binary operator
Sorry.
That
Okay I can add it
- TheMonsterOfTheDeep
-
Scratcher
1000+ posts
Sharp -- a 2.0 mod
Yes that would be usefulOhI meant bitwiseAdd binary operations.You mean like and, or, nor and xor?
idk what is a binary operator
Sorry.
That
Okay I can add it
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…)
- Jonathan50
-
Scratcher
1000+ posts
Sharp -- a 2.0 mod
Binary operations means operations with two arguments (e.g. binary +, binary -, …)I meant bitwiseAdd binary operations.You mean like and, or, nor and xor?
idk what is a binary operator
Sorry.

- DrKat123
-
Scratcher
1000+ posts
Sharp -- a 2.0 mod
What about unary operators?Binary operations means operations with two arguments (e.g. binary +, binary -, …)I meant bitwiseAdd binary operations.You mean like and, or, nor and xor?
idk what is a binary operator
Sorry.
- DrKat123
-
Scratcher
1000+ posts
Sharp -- a 2.0 mod
bump
Last edited by DrKat123 (May 16, 2016 10:28:35)
- 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
Sorry but I've downloaded too much scratch stuff XD
- DrKat123
-
Scratcher
1000+ posts
Sharp -- a 2.0 mod
Can you port all the blocks to scratch and show me?What do you mean?
Sorry but I've downloaded too much scratch stuff XD
- DigiTechs3
-
New Scratcher
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
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)
- DigiTechs3
-
New Scratcher
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.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)
Last edited by kaj (Jan 13, 2017 00:00:00)
- Discussion Forums
- » Advanced Topics
-
» Sharp -- a 2.0 mod








