mit-scratch

How do you check if a Scratch project is shared by its ID?

情到浓时终转凉″ 提交于 2020-07-09 17:12:37
问题 I don't expect many people to know this, but is there a way to check if a Scratch project ID is of a project that is shared? For instance, the project ID 3 is an actual project, but is not shared - while the ID 399293697 is shared. So how can I see if these are shared or not using JavaScript? 回答1: I searched the wiki article about the Scratch API, but that didn't help. The only useful endpoint mentioned there would require you to know the owner of the project. By experimenting, I found these

When are you going to remix? [closed]

China☆狼群 提交于 2020-06-09 06:35:20
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 9 days ago . I think there are various situations when remixing. I'm doing a remix scene survey right now. When do you guys remix? I'm interested, so please let me know if you like. 来源: https://stackoverflow.com/questions/62099315/when-are-you-going-to-remix

When are you going to remix? [closed]

左心房为你撑大大i 提交于 2020-06-09 06:32:28
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 9 days ago . I think there are various situations when remixing. I'm doing a remix scene survey right now. When do you guys remix? I'm interested, so please let me know if you like. 来源: https://stackoverflow.com/questions/62099315/when-are-you-going-to-remix

Translate scratch script to HTML and javascript

拟墨画扇 提交于 2020-01-01 15:08:38
问题 I am wondering if there already exists a translator to export a scratch project to HTML and javascript or to export a project so it can be played on a tablet. 回答1: As Scimonster mentioned in a comment, Phosphorus (written by Nathan) will run your projects on an HTML5 Canvas and let you export the project to other places. However, Sulfurous is an improvement to the Phosphorus player and might run projects more accurately to how the Scratch Player would. Note that both players have issues and

Create from scratch, or build up on Scratch?

﹥>﹥吖頭↗ 提交于 2020-01-01 12:11:28
问题 I'm considering building a visual programming language, akin to Scratch, for use by children (a.k.a. poor typists) in programming micro-controllers or robots. There is, for example, a project to build a graphical programming environment for the Arduino. I really like Scratch, and would like the graphical coding to be similar. Scratches source is available under its own free license. It is written in Squeak (based on Smalltalk), and I don't know the language. It occurs to me there might be

Create from scratch, or build up on Scratch?

大憨熊 提交于 2020-01-01 12:11:20
问题 I'm considering building a visual programming language, akin to Scratch, for use by children (a.k.a. poor typists) in programming micro-controllers or robots. There is, for example, a project to build a graphical programming environment for the Arduino. I really like Scratch, and would like the graphical coding to be similar. Scratches source is available under its own free license. It is written in Squeak (based on Smalltalk), and I don't know the language. It occurs to me there might be

Simulating a custom reporter block in Scratch?

限于喜欢 提交于 2019-12-13 15:02:52
问题 In Scratch 2.0, support for custom stack blocks (procedures) was added. But is there any way to use this to "abstract away" logic that returns a value? For example, i have here a script to naively calculate exponents: (view graphic representation) set [base v] to [2] set [index v] to [3] ... // above is for initializing set [result v] to (base) repeat until <(index) = [1]> set [result v] to ((result) * (base)) change [index v] by (-1) How could i export this logic to a "custom reporter" to

A Grid of Clones

℡╲_俬逩灬. 提交于 2019-12-12 13:29:29
问题 My goal is to build a 5x5 grid of images. In the following code, row , col and rowcol were created as variables local to the sprite, and newcol , newrow and cats are global. (By the way, is it possible to tell which variables are local and which are global? It's easy to forget or make mistakes.) The result is a 5x1 grid only, as seen here. I am unclear as to the order of execution of these statements. Does when I start as a clone get called before or after add_cat gets called the second time?

How to change the resolution of the stage in MIT Scratch

独自空忆成欢 提交于 2019-12-11 15:42:13
问题 The default resolution of the Stage in MIT Scratch is 480x360 in a 4:3 aspect ratio. I want to change it to a 16:9 aspect ratio, with a 720p resolution. Is there any source file or script that has to be edited in order to do this? Also, I found this link: https://scratch.mit.edu/discuss/topic/52369/ but I cannot understand how to do so. Here is a source file from that link: https://github.com/LLK/scratch-flash/blob/053d2b2eaf172ed2889211f5f57621731183f5c1/src/scratch/ScratchObj.as (Go to the

Translate scratch script to HTML and javascript

岁酱吖の 提交于 2019-12-04 15:13:44
I am wondering if there already exists a translator to export a scratch project to HTML and javascript or to export a project so it can be played on a tablet. Max As Scimonster mentioned in a comment, Phosphorus (written by Nathan) will run your projects on an HTML5 Canvas and let you export the project to other places. However, Sulfurous is an improvement to the Phosphorus player and might run projects more accurately to how the Scratch Player would. Note that both players have issues and might not replicate the projects perfectly. You don't need Phosphorus or Sulpherous now, since Scratch 3