Discuss Scratch

dynamicsofscratch
Scratcher
1000+ posts

ClipCC - A scratch mod with compiler, extension and more features

Ocerb wrote:

(#739)
Or this… to troll your friends,

Idk :: motion
stop putting blocks eveyrwhere. it makes the page uglier and ugllier
SparrowHe
Scratcher
16 posts

ClipCC - A scratch mod with compiler, extension and more features

julmik6478 wrote:

Idea: change domain from codingclip.com to clipp.cc.

clipp.cc is not a good choice for us, I would prefer to choose clip.cc instead of clipp.cc

Thank you for your suggestion. At present, we do not have more funds to change the domain name and deal with the compliance issues after the change.

Our only source of funding is donations, and we believe these funds should be used for more necessary purposes, such as keeping servers running. Changing to a better domain is indeed a good idea, but not now

Last edited by SparrowHe (May 25, 2024 03:21:27)

ninjaMAR
Scratcher
1000+ posts

ClipCC - A scratch mod with compiler, extension and more features

SparrowHe wrote:

(#742)
clipp.cc is not a good choice for us, I would prefer to choose clip.cc instead of clipp.cc

Thank you for your suggestion. At present, we do not have more funds to change the domain name and deal with the compliance issues after the change.

Our only source of funding is donations, and we believe these funds should be used for more necessary purposes, such as keeping servers running. Changing to a better domain is indeed a good idea, but not now
Just in case, porkbun has domains like clipcc.dev and clipcc.app for pretty cheap (< $10).
SparrowHe
Scratcher
16 posts

ClipCC - A scratch mod with compiler, extension and more features

ninjaMAR wrote:

SparrowHe wrote:

(#742)
clipp.cc is not a good choice for us, I would prefer to choose clip.cc instead of clipp.cc

Thank you for your suggestion. At present, we do not have more funds to change the domain name and deal with the compliance issues after the change.

Our only source of funding is donations, and we believe these funds should be used for more necessary purposes, such as keeping servers running. Changing to a better domain is indeed a good idea, but not now
Just in case, porkbun has domains like clipcc.dev and clipcc.app for pretty cheap (< $10).

Thank you for your reminder, but as an entity operating in China, we must abide by our laws and regulations. These domain names may not meet our compliance needs, but we will consider them if necessary in the future.

Last edited by SparrowHe (May 27, 2024 10:03:28)

julmik6478
Scratcher
500+ posts

ClipCC - A scratch mod with compiler, extension and more features

SparrowHe wrote:

julmik6478 wrote:

Idea: change domain from codingclip.com to clipp.cc.

clipp.cc is not a good choice for us, I would prefer to choose clip.cc instead of clipp.cc
I wanted to write clip.cc
SparrowHe
Scratcher
16 posts

ClipCC - A scratch mod with compiler, extension and more features

removed links

Last edited by LittleGreyCells (June 17, 2024 23:02:11)

SinanGentoo
Scratcher
100+ posts

ClipCC - A scratch mod with compiler, extension and more features

It's been a long time! We're trying to switch from ScratchBlocks' original XML serialization to the JSON that Blockly is using, which will theoretically reduce the performance overhead associated with parsing XML. We've initially completed the migration and fixed known issues. Feel free to test it: https://feat-json-serialization.clipcc-preview.pages.dev/
(For a very simple way to tell the difference from the previous serialization method is, right-click and copy your blocks to the clipboard, and you can peek at the difference between the old and new serialization formats)
DifferentDance8
Scratcher
1000+ posts

ClipCC - A scratch mod with compiler, extension and more features

SparrowHe wrote:

removed links
What were the links before they got removed
SinanGentoo
Scratcher
100+ posts

ClipCC - A scratch mod with compiler, extension and more features

The ClipCC has merged refactored version of custom reporter, which includes many new features like ‘Change Shape’ and ‘Force Delete’ and bug fixes. We've also added Boolean operations on vector shapes to the paint editor. (preview link)

Here is the documentation of refactored version of Function (Procedure):



Function (Procedure)
A simple function definition and its caller is shown above, which is as same as procedure in Scratch 3.

Function with Return Value (Custom Reporter)
The definition and its caller of a simple function with return value and parameter is shown above. With reporter function, you can return a value through return block. To distinguish reporter function caller from parameters, the colour of parameters has been changed to #E87884.

What's more, two function will be treated as different function only if they have different name (including label and parameter types), there return type and parameters' name are not considered yet. That is, a reporter function foo and a command function foo are the same function, because their name are both foo %s. And returning a value inside a command function is also allowed (see Shape Changing, though it is not recommended).

Global Function
When creating a function, select Global Function option to make it global. A global function is defined in current target (a spirit or stage), and can be called from any target. Different from broadcasts, when calling a global function, the execution context is caller instead of callee. For example, suppose there is a function with say ‘Hello’ in target A. When calling the function in target B, B will say ‘Hello’ since B is caller.

The function's name (including its name string and parameters) should be unique in most cases. The only exception is that a global function defined in other target can be override as a local function with a exactly same name, called function overriding. For example, when defining a global function foo in target A, then define a local function foo in target B is allowed. Then all calls to foo in B will be the one in B instead of A.
Shape Changing
By default, reporter functions can be put into a number/string input or a boolean input. Since changing the return type doesn't affect its name, it is still allowed to change the definition between a command and a reporter, or just change a single caller's shape. Mention that a function without any return value will get null value at last, so it is not recommended to use a command function as a reporter.

Short-Circuit Evaluation
In original Scratch editor, both two inputs of operator_and and operator_or will be executed whether the first input is true or false. ClipCC now supports short-circuit evaluation, that is, the second input will only execute if the first input doesn't suffice to determine the result value. The behavior is described in the following table:
|Block|Input 1|Input 2|Result|
|:-:|:-:|:-:|:-:|
|and|true|execute|input 2|
|and|false|skip|false|
|or|true|skip|true|
|or|false|execute|input 2|

Force Delete Option
Now you can forcibly delete a procedure's definition if it is necessary. It is a dangerous action because it may lead to undefined functions.

Bugfixes
Usage of % in Procedure: Now using % in procedure name is allowed, instead of raising an error. It will be treated as escape string %%.

Duplicate Procedure: Currently creating two procedure with same name is allowed for compatibility reasons. ClipCC will raise an warning to notify the user.
Ocerb
Scratcher
100+ posts

ClipCC - A scratch mod with compiler, extension and more features

Really
Drag00nKnight_999
Scratcher
18 posts

ClipCC - A scratch mod with compiler, extension and more features

I tried to go to the site but it just doesn't load. Then after 5 minutes or so it would just say that the site couldn't be reached.
cosmosaura
Scratch Team
1000+ posts

ClipCC - A scratch mod with compiler, extension and more features

Topic closed due to necroposting.

Powered by DjangoBB