├── .babelrc ├── .eslintrc.json ├── .gitignore ├── .npmignore ├── LICENSE.txt ├── Readme.md ├── esdoc.json ├── markdown ├── TODO.md └── dev.md ├── package.json ├── src ├── avg.js ├── classes │ ├── Animation.js │ ├── Container.js │ ├── EventManager.js │ ├── Flow.js │ ├── Layer.js │ ├── Sprite.js │ ├── SpriteManager.js │ ├── TextSprite.js │ ├── TextWindow.js │ └── TextWindowManager.js ├── components │ ├── BGImage.jsx │ ├── Container.jsx │ ├── ContainerMixin.js │ ├── FGImage.jsx │ ├── Image.jsx │ ├── Layer.jsx │ ├── NodeMixin.js │ ├── Surface.jsx │ ├── Text.jsx │ ├── Textwindow.jsx │ ├── base │ │ └── RichText.jsx │ ├── createComponent.js │ ├── findPixiNode.js │ ├── index.js │ ├── particle │ │ ├── Particle.jsx │ │ ├── ParticleContainer.js │ │ └── index.js │ ├── pixi │ │ ├── componentify.js │ │ ├── propTypes.js │ │ └── properties.js │ ├── transition │ │ ├── AbstractFilter.js │ │ ├── Filters.js │ │ ├── Transition.jsx │ │ ├── TransitionContainer.js │ │ ├── index.js │ │ └── shaders │ │ │ ├── common.vert │ │ │ ├── crossfade.frag │ │ │ ├── prepare.frag │ │ │ ├── ripple.frag │ │ │ ├── shutter.frag │ │ │ └── universal.frag │ ├── tween │ │ ├── Tween.jsx │ │ ├── easing.js │ │ ├── index.js │ │ ├── perform.js │ │ └── util.js │ └── ui │ │ ├── Button.jsx │ │ ├── Checkbox.jsx │ │ ├── Dialog.jsx │ │ ├── Layout.jsx │ │ ├── Scroller.jsx │ │ └── index.js ├── core │ ├── core.js │ ├── logger.js │ ├── middleware.js │ ├── preloader.js │ └── ticker.js ├── plugins │ ├── audio │ │ ├── index.js │ │ └── manager.js │ ├── flow.js │ ├── index.js │ ├── localStorage.js │ ├── screenshot.js │ ├── script.js │ └── transition.js └── utils │ ├── color.js │ ├── combineProps.js │ ├── fetchLocal.js │ ├── fitWindow.js │ └── sayHello.js ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/Readme.md -------------------------------------------------------------------------------- /esdoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/esdoc.json -------------------------------------------------------------------------------- /markdown/TODO.md: -------------------------------------------------------------------------------- 1 | 1. wait 2 | 2. bgm 3 | 3. 完善 Sound (getData和setData未实现) 4 | -------------------------------------------------------------------------------- /markdown/dev.md: -------------------------------------------------------------------------------- 1 | webpack-dev-server --progress --colors -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/package.json -------------------------------------------------------------------------------- /src/avg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/avg.js -------------------------------------------------------------------------------- /src/classes/Animation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/Animation.js -------------------------------------------------------------------------------- /src/classes/Container.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/Container.js -------------------------------------------------------------------------------- /src/classes/EventManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/EventManager.js -------------------------------------------------------------------------------- /src/classes/Flow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/Flow.js -------------------------------------------------------------------------------- /src/classes/Layer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/Layer.js -------------------------------------------------------------------------------- /src/classes/Sprite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/Sprite.js -------------------------------------------------------------------------------- /src/classes/SpriteManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/SpriteManager.js -------------------------------------------------------------------------------- /src/classes/TextSprite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/TextSprite.js -------------------------------------------------------------------------------- /src/classes/TextWindow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/TextWindow.js -------------------------------------------------------------------------------- /src/classes/TextWindowManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/classes/TextWindowManager.js -------------------------------------------------------------------------------- /src/components/BGImage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/BGImage.jsx -------------------------------------------------------------------------------- /src/components/Container.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/Container.jsx -------------------------------------------------------------------------------- /src/components/ContainerMixin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/ContainerMixin.js -------------------------------------------------------------------------------- /src/components/FGImage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/FGImage.jsx -------------------------------------------------------------------------------- /src/components/Image.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/Image.jsx -------------------------------------------------------------------------------- /src/components/Layer.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/Layer.jsx -------------------------------------------------------------------------------- /src/components/NodeMixin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/NodeMixin.js -------------------------------------------------------------------------------- /src/components/Surface.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/Surface.jsx -------------------------------------------------------------------------------- /src/components/Text.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/Text.jsx -------------------------------------------------------------------------------- /src/components/Textwindow.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/Textwindow.jsx -------------------------------------------------------------------------------- /src/components/base/RichText.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/base/RichText.jsx -------------------------------------------------------------------------------- /src/components/createComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/createComponent.js -------------------------------------------------------------------------------- /src/components/findPixiNode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/findPixiNode.js -------------------------------------------------------------------------------- /src/components/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/index.js -------------------------------------------------------------------------------- /src/components/particle/Particle.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/particle/Particle.jsx -------------------------------------------------------------------------------- /src/components/particle/ParticleContainer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/particle/ParticleContainer.js -------------------------------------------------------------------------------- /src/components/particle/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/particle/index.js -------------------------------------------------------------------------------- /src/components/pixi/componentify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/pixi/componentify.js -------------------------------------------------------------------------------- /src/components/pixi/propTypes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/pixi/propTypes.js -------------------------------------------------------------------------------- /src/components/pixi/properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/pixi/properties.js -------------------------------------------------------------------------------- /src/components/transition/AbstractFilter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/AbstractFilter.js -------------------------------------------------------------------------------- /src/components/transition/Filters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/Filters.js -------------------------------------------------------------------------------- /src/components/transition/Transition.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/Transition.jsx -------------------------------------------------------------------------------- /src/components/transition/TransitionContainer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/TransitionContainer.js -------------------------------------------------------------------------------- /src/components/transition/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/index.js -------------------------------------------------------------------------------- /src/components/transition/shaders/common.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/shaders/common.vert -------------------------------------------------------------------------------- /src/components/transition/shaders/crossfade.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/shaders/crossfade.frag -------------------------------------------------------------------------------- /src/components/transition/shaders/prepare.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/shaders/prepare.frag -------------------------------------------------------------------------------- /src/components/transition/shaders/ripple.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/shaders/ripple.frag -------------------------------------------------------------------------------- /src/components/transition/shaders/shutter.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/shaders/shutter.frag -------------------------------------------------------------------------------- /src/components/transition/shaders/universal.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/transition/shaders/universal.frag -------------------------------------------------------------------------------- /src/components/tween/Tween.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/tween/Tween.jsx -------------------------------------------------------------------------------- /src/components/tween/easing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/tween/easing.js -------------------------------------------------------------------------------- /src/components/tween/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/tween/index.js -------------------------------------------------------------------------------- /src/components/tween/perform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/tween/perform.js -------------------------------------------------------------------------------- /src/components/tween/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/tween/util.js -------------------------------------------------------------------------------- /src/components/ui/Button.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/ui/Button.jsx -------------------------------------------------------------------------------- /src/components/ui/Checkbox.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/ui/Checkbox.jsx -------------------------------------------------------------------------------- /src/components/ui/Dialog.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/ui/Dialog.jsx -------------------------------------------------------------------------------- /src/components/ui/Layout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/ui/Layout.jsx -------------------------------------------------------------------------------- /src/components/ui/Scroller.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/ui/Scroller.jsx -------------------------------------------------------------------------------- /src/components/ui/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/components/ui/index.js -------------------------------------------------------------------------------- /src/core/core.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/core/core.js -------------------------------------------------------------------------------- /src/core/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/core/logger.js -------------------------------------------------------------------------------- /src/core/middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/core/middleware.js -------------------------------------------------------------------------------- /src/core/preloader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/core/preloader.js -------------------------------------------------------------------------------- /src/core/ticker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/core/ticker.js -------------------------------------------------------------------------------- /src/plugins/audio/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/plugins/audio/index.js -------------------------------------------------------------------------------- /src/plugins/audio/manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/plugins/audio/manager.js -------------------------------------------------------------------------------- /src/plugins/flow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/plugins/flow.js -------------------------------------------------------------------------------- /src/plugins/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/plugins/index.js -------------------------------------------------------------------------------- /src/plugins/localStorage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/plugins/localStorage.js -------------------------------------------------------------------------------- /src/plugins/screenshot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/plugins/screenshot.js -------------------------------------------------------------------------------- /src/plugins/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/plugins/script.js -------------------------------------------------------------------------------- /src/plugins/transition.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/plugins/transition.js -------------------------------------------------------------------------------- /src/utils/color.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/utils/color.js -------------------------------------------------------------------------------- /src/utils/combineProps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/utils/combineProps.js -------------------------------------------------------------------------------- /src/utils/fetchLocal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/utils/fetchLocal.js -------------------------------------------------------------------------------- /src/utils/fitWindow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/utils/fitWindow.js -------------------------------------------------------------------------------- /src/utils/sayHello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/src/utils/sayHello.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avgjs/avg-core/HEAD/yarn.lock --------------------------------------------------------------------------------