pixijs-migration-v8

安装量: 700
排名: #5457

安装

npx skills add https://github.com/pixijs/pixijs-skills --skill pixijs-migration-v8

This skill is a breaking-change checklist for bringing a v7 codebase up to v8. Work top-down through the categories; the list maps each v7 pattern to its v8 replacement. Quick Start Install the single package, then port in this order: imports → Application init → Graphics → Text → events → shaders/filters → cleanup. const app = new Application ( ) ; await app . init ( { width : 800 , height : 600 } ) ; document . body . appendChild ( app . canvas ) ; const g = new Graphics ( ) . rect ( 0 , 0 , 100 , 100 ) . fill ( { color : 0xff0000 } ) . stroke ( { width : 2 , color : 0x000000 } ) ; app . stage . addChild ( g ) ;

返回排行榜