Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create var-and-list.js #167

Merged
merged 13 commits into from
Jan 26, 2024
Merged

Create var-and-list.js #167

merged 13 commits into from
Jan 26, 2024

Conversation

qxsck
Copy link
Contributor

@qxsck qxsck commented Jan 13, 2024

操作原版变量与列表的拓展,部分积木与TurboWarp中的“变量与列表”拓展兼容,另外添加了一些新的积木,未来会有更多的积木加入

an extension to operate the Scratch variables and lists, some blocks are compatible with "Variable and list" extension in TurboWarp,and add some new blocks,more blocks will be add in future

@qxsck
Copy link
Contributor Author

qxsck commented Jan 13, 2024

与原版的积木相比,这个拓展的变量/列表名称是输入框形式而不是下拉列表,可以更加方便的操作变量和列表

compare to the Scratch blocks, this extension variable/list name is in the form of an input box rather than a drop-down list, making it more convenient to operate variables and lists

@fath11
Copy link
Contributor

fath11 commented Jan 14, 2024

I think you forgot this little fellow
image

@qxsck
Copy link
Contributor Author

qxsck commented Jan 14, 2024

我想你忘了这个小家伙 image

sorry

@qxsck
Copy link
Contributor Author

qxsck commented Jan 14, 2024

I think you forgot this little fellow image

now,is good?

@fath11
Copy link
Contributor

fath11 commented Jan 14, 2024

yess

增加了“获取列表中区间的值”积木,增加了更好使用的“获取列表值”与“获取值在列表中的所有位置”积木
@qxsck
Copy link
Contributor Author

qxsck commented Jan 14, 2024

增加了“获取列表中区间的值”积木,增加了更好使用的“获取列表值”与“获取值在列表中的所有位置”积木,可以配合not.js使用

add "get value of from range in list" block,add more easy-to-use "get value of list" and "get all positions of value in the list" blocks,can used with not.js

增加了“遍历数字区间”与“遍历列表区间”积木
@qxsck
Copy link
Contributor Author

qxsck commented Jan 14, 2024

增加了“遍历数字区间”与“遍历列表区间”积木

add "for each" and "for each list" block

image
image

增加列表排序积木
@qxsck
Copy link
Contributor Author

qxsck commented Jan 14, 2024

增加列表排序积木

add "sort list" blocks

image
image

@qxsck
Copy link
Contributor Author

qxsck commented Jan 19, 2024

增加了五个积木

包括插入值与插入列表,设置列表的内容为一个列表,把列表的区间都替换为一个值,把对象映射到列表

image

add five blocks

include insert value and list, set list to a list,replace range in the list to value,and map object to list

image

@fath11
Copy link
Contributor

fath11 commented Jan 24, 2024

Can you separate new blocks that are incompatible with Turbowarp, or at least make a way for people to differentiate them?

@qxsck
Copy link
Contributor Author

qxsck commented Jan 24, 2024

您能否分离出与 Turbowarp 不兼容的新块,或者至少为人们提供一种区分它们的方法?

I will find time to synchronize Gandi blocks to Turbowarp version, but GM may not necessarily pass quickly,but now I will add tags that are not compatible with Turbowarp first.

@qxsck
Copy link
Contributor Author

qxsck commented Jan 24, 2024

Can you separate new blocks that are incompatible with Turbowarp, or at least make a way for people to differentiate them?

https://githubfast.com/qxsck/scratch-extensions/blob/main/var-and-list.js
turbowarp version

@sylarhcn sylarhcn merged commit c69ee34 into Gandi-IDE:main Jan 26, 2024
@fath11
Copy link
Contributor

fath11 commented Jan 26, 2024

@qxsck my favourite block
image

MoreBugOfDog pushed a commit to MoreBugOfDog/custom-extension that referenced this pull request Mar 24, 2024
* Create var-and-list.js

* Update var-and-list.js

fix i10n

* Update var-and-list.js

增加了“获取列表中区间的值”积木,增加了更好使用的“获取列表值”与“获取值在列表中的所有位置”积木

* Update var-and-list.js

增加了“遍历数字区间”与“遍历列表区间”积木

* Update var-and-list.js

增加列表排序积木

* Update var-and-list.js

add label

* Update var-and-list.js

add docs

* Update var-and-list.js

add unsupport complie tip

* Update var-and-list.js

* Update var-and-list.js

* Update var-and-list.js

* Update var-and-list.js

* Update var-and-list.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants