rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.21k stars 260 forks source link

请问大佬 我看phaser3.5版本以上已经支持worker 但似乎没有看到案例 #263

Closed woshisheji closed 2 years ago

woshisheji commented 2 years ago

请问,有如何使用的案例demo吗

woshisheji commented 2 years ago

Version 3.53.0 - Anastasia - 8th March 2021 New Features You can now run Phaser from within a Web Worker. You must use the type: 'classic' method and then use importScripts('phaser.js') within your workers, but it will no longer throw window errors and allows you access to lots of the core Phaser functions from Workers.

rexrainbow commented 2 years ago

I did not test that kind of feature either.

woshisheji commented 2 years ago

哦,遗憾啊。

网络同步上某些动作,后台不能运行是在太糟糕了0 .0 利用记录时间方式,不太理想。

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年3月31日(星期四) 晚上10:47 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [rexrainbow/phaser3-rex-notes] 请问大佬 我看phaser3.5版本以上已经支持worker 但似乎没有看到案例 (Issue #263)

我也没有测试过这种功能。

— 直接回复此邮件,在 GitHub 上查看或取消订阅. 您收到这个消息是因为您编写了这个线程。留言 ID @.***与>