Awesome Open Source
Awesome Open Source

EasyGameFramework

LICENSE Author

Open in Gitpod

ReadCodeIn1s

-brightgreen.svg

Typescript

A progressive universal game front-end development framework based on Typescript

Easy

Evolutionary()

General()

3

()

Modules()

Core


TS/JS

:egf-core


rollupjs+.d.ts

:egf-cli

UIFramework

TypeScript(UI)

:display-ctrl

CocosCreator2.4.2CocosCreator3D(layer),FairyGUI2.x3.x

  1. dpctrl-ccc
  2. dpctrl-c3d
  3. dpctrl-fgui Creator2.xfguiLayaEgret
  4. dpctrl-fguicc 3.xfgui

Broadcast

TypeScript

  • ()
  • this
  • /
  • TypeScript

:broadcast

NetworkFramework

TypeScript

  1. :ts/js
  2. :
  3. :TypeScript
  4. ::
  5. :

:enet

ObjectPoolManager


  1. API

:obj-pool

LayerManager

:layer

Demos()

Demo :examples

Development Env()

monorepo

Use Tools

Reference()

  1. lerna+yarn workspace+monorepo
  2. lernayarn workspacemonorepo
  3. Monorepo Lerna
  4. Lerna
  5. lerna

Basic Commands


  1. lerna create @xxx/xxx -y
    
  2.  lerna create @xxx/xxx
    

  • ()
    yarn workspace @xxx/a add @xxx/[email protected]
    
  • ()
    yarn workspace @xxx/a add -D @xxx/[email protected]
    
  • yarn workspace @xxx/xxx add @xxx/xxxx
    
  • (@0.0.x)
    yarn workspace @xxx/xxx add -D @xxx/xxxx
    
  • (@0.0.x)
    yarn workspaces add lodash
    
  • (@0.0.x)
    yarn workspaces add -D lodash
    

  • xxx
    yarn workspace packageB remove packageA
    
  • yarn workspaces remove lodash
    
  • xxx
    yarn remove -W -D typescript 
    
  • yarn install  lerna bootstrap
    
  • lerna clean
    

Version()

lerna version


tag

 packageA 1.0.01.0.1

packageApackageBCpackageA1.0.01.0.1

Used by other projects()

  1. npm link yarn link

    cd packages/core
    yarn link
    
  2. (@egf/core)

    cd cocos-example
    yarn link @egf/core
    

Who am I?

,


,

~

:

:

:img

QQ : 1103157878

: https://pgd.vercel.app/

: https://juejin.cn/user/3069492195769469

github: https://github.com/AILHC


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Typescript (247,619
Framework (6,711
Gamedev (2,332
Yarn (1,614
Rollup (913
Easy To Use (849
Monorepo (808
Phaser (583
Lerna (391
Pixijs (343
Broadcast (247
Related Projects