Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

lity/egret-3rd-libs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

egret-3rd-libs

我编译适配的egret第三方库

官方说明:第三方库的使用方法

编译命令:

egret build colyseus

egret build lodash

egret build socket.io

关于 colyseus

1. 由于egret的typescript版本较低,colyseus的类型声明.d.ts文件中有的语法不支持,需要修改。
2. colyseus 在 egret native 上,有2点需要修改
   - webpack.config.js 中 globalObject 要修改为 "this",因为egret native不支持self
   - colyseus使用的httpie在egret native中,请求返回值类型为json字符串,需要用JSON.parse转换为json对象。

关于 notepack

self 要改为 this,因为egret native不支持self

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published