Gandi-IDE / custom-extension

GNU Lesser General Public License v2.1
43 stars 58 forks source link

渲染世界扩展的提交(ThreejsCCW) #214

Closed xiaochen004hao closed 5 months ago

xiaochen004hao commented 5 months ago

共创世界-3D扩展!

按要求更改了代码

RenderTheWorld.js为主文件

示例demo,观察者邀请链接

(怎么都没人,不管了,PR)
xiaochen004hao commented 5 months ago

学白猫的样子导入文件,加上自适应大小,还有一些新功能,应该能过了吧。

fath11 commented 5 months ago

can you share the sb3 instead 😭i don't have ccw account (well its impossible for me to get one)

xiaochen004hao commented 5 months ago

can you share the sb3 instead 😭i don't have ccw account (well its impossible for me to get one)

额,为什么你没有ccw账户。。。这令我很吃惊 分享sb3是怎样的形式?保存到cdn还是放在pr里?

fath11 commented 5 months ago

 Well, why don't you have a CCW account... This surprised me What is the form of sharing SB3 and saving it to CDN or putting it in PR?

just share it in here

xiaochen004hao commented 5 months ago

Well, why don't you have a CCW account... This surprised me What is the form of sharing SB3 and saving it to CDN or putting it in PR?

just share it in here

fath11 commented 5 months ago

the demo project

fath11 commented 5 months ago

There are a lot of improvements from the last version, and I 100% support the merging of this extension.

Tho i suggest automatically setting display to hidden when the stop button is pressed

xiaochen004hao commented 5 months ago

演示项目

怎么在这里分享?

xiaochen004hao commented 5 months ago

There are a lot of improvements from the last version, and I 100% support the merging of this extension.

Tho i suggest automatically setting display to hidden when the stop button is pressed

好了,终于拿上电脑了(刚才都是用手机发的消息)

xiaochen004hao commented 5 months ago

与上一个版本相比有很多改进,我 100% 支持合并此扩展。

我建议在按下停止按钮时自动将显示设置为隐藏

你现在可以在pr目录下看到demo sb3.

xiaochen004hao commented 5 months ago

There are a lot of improvements from the last version, and I 100% support the merging of this extension.

Tho i suggest automatically setting display to hidden when the stop button is pressed

还有,你到底是谁啊。。。

fath11 commented 5 months ago

I am an active user in Cocrea.world. It's an international version of CCW (incase you dont know that)

On Sun, 31 Mar 2024, 10:45 pm xiaochen004hao, @.***> wrote:

There are a lot of improvements from the last version, and I 100% support the merging of this extension.

Tho i suggest automatically setting display to hidden when the stop button is pressed

还有,你到底是谁啊。。。

— Reply to this email directly, view it on GitHub https://github.com/Gandi-IDE/custom-extension/pull/214#issuecomment-2028779814, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5VV4GCEWYQID6IRC7BDOQ3Y3AORBAVCNFSM6AAAAABFPSH5F6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYG43TSOBRGQ . You are receiving this because you commented.Message ID: @.***>

kukemc commented 5 months ago

can you share the sb3 instead 😭i don't have ccw account (well its impossible for me to get one)

If you need, I can register one for you

kukemc commented 5 months ago

共创世界-3D扩展!

按要求更改了代码

RenderTheWorld.js为主文件

示例demo,观察者邀请链接

(怎么都没人,不管了,PR)

最好不要用观察者链接 他会很快过期

fath11 commented 5 months ago

You should set these as the default value so beginners won't be confused the first time using the extension

Background size: Stage width, stage height (you can just change the default value of the block to 640 and 360 if you are lazy)

Ambient color: 255, 255, 255 (should be set when extension first load and when invalid ambient color is given)

Camera position: 0, 50, 0 (should be set when extension first load and should be the default value of the set cam position block)

Camera direction: -90, 0, 0 (should be set when extension first loaded and should be the default value of the set cam rotation block)

xiaochen004hao commented 5 months ago

你能分享sb3吗?我没有ccw帐户 (我不可能得到一个)

如果你需要,我可以帮你挂一个

可以👌,感谢

xiaochen004hao commented 5 months ago

您应该将这些设置为默认值,这样初学者在第一次使用扩展时就不会感到困惑

背景大小:舞台宽度、舞台高度 (懒的话可以直接把block的默认值改成640和360)

环境颜色: 255、255、255 (应在首次加载扩展时和给定无效环境颜色时设置)

摄像机位置: 0、50、0 (应在延长件首次加载时设置,并且应为设置凸轮位置块的默认值)

摄像机方向: -90、0、0 (应在首次加载延长件时设置,并且应为设置凸轮旋转块的默认值)

浅浅的问一下,怎么设置一个输入的默认值为另一个积木,并设置另一个的每个输入的值?

kukemc commented 5 months ago

你能分享sb3吗?我没有ccw帐户 (我不可能得到一个)

如果你需要,我可以帮你挂一个

可以👌,感谢

哈 你用的是什么翻译软件,这段原文的意思是如果fath11需要我可以帮他注册个ccw账号

xiaochen004hao commented 5 months ago

你能分享sb3吗?我没有ccw帐户 (我不可能得到一个)

如果你需要,我可以帮你挂一个

可以👌,感谢

哈 你用的是什么翻译软件,这段原文的意思是如果fath11需要我可以帮他注册个ccw账号

百度翻译(华为游览器的默认翻译)

fath11 commented 5 months ago

i doesnt need a CCW account as of right now but thanks

kukemc commented 5 months ago

i doesnt need a CCW account as of right now but thanks

oky

fath11 commented 5 months ago

Instead of doing

foo(args) {//...}

you should consider switching to

foo({ name1, name2 }) {//...}

this way the code will be more readable as you don't have to use args.something and use something or name1, name2 directly

xiaochen004hao commented 5 months ago

已驳回,好困,睡醒了再审。

这也行?

xiaochen004hao commented 5 months ago

已驳回,好困,睡醒了再审。

好了,改好了

xiaochen004hao commented 5 months ago

感觉我的pr成了聊天区呵呵😃😃😃

xiaochen004hao commented 5 months ago

凌啊,快来吧 fath11,Come on, come on HCN,也来吧(没见过。。。)

FurryR commented 5 months ago

There are a lot of improvements from the last version, and I 100% support the merging of this extension. Tho i suggest automatically setting display to hidden when the stop button is pressed

还有,你到底是谁啊。。。

@fath11 是跑过来凑热闹的外国友人。cocrea.world 是共创世界的国际版,同样实装 Gandi IDE 但在一些细小功能上会有差别(如共创币/NG)。由于是国外版,各种政策也是不同的。

(p.s. 国内版(因为跑去其它平台恶意灌水打广告)被其它社区用户讨厌,国际版被 tw 社区讨厌,真有你的 ccw...

附录:review 的权威性

HCN(审查和平台冲突的功能,直接决定扩展能否提交) -> 凌(审查代码风格/性能/兼容性问题,扩展的关键指标,一定程度上为 HCN 作参考) -> Fath、KukeMC、Arkos 等(审查代码的其它类型问题,但是在审查这块比较不活跃)

xiaochen004hao commented 5 months ago

There are a lot of improvements from the last version, and I 100% support the merging of this extension. Tho i suggest automatically setting display to hidden when the stop button is pressed

还有,你到底是谁啊。。。

@fath11 是跑过来凑热闹的外国友人。cocrea.world 是共创世界的国际版,同样实装 Gandi IDE 但在一些细小功能上会有差别(如共创币/NG)。由于是国外版,各种政策也是不同的。

(p.s. 国内版(因为跑去其它平台恶意灌水打广告)被其它社区用户讨厌,国际版被 tw 社区讨厌,真有你的 ccw...

附录:review 的权威性

HCN(审查和平台冲突的功能,直接决定扩展能否提交) -> 凌(审查代码风格/性能/兼容性问题,扩展的关键指标,一定程度上为 HCN 作参考) -> Fath、KukeMC、Arkos 等(审查代码的其它类型问题,但是在审查这块比较不活跃)

get到了