uneed2d

3.0.3 • Public • Published

uneed2d

A library based on pixi.js

v4 Road Map

  • Advanced math library
  • Common usage components
  • Completed collision module
  • Advanded layout functions
  • More modular and Testable

ChangeLog

v3.1.1

  • 新的屏幕适配方案

v3.1.0

  • 添加i18n支持:UN.i18n

v3.0.2

  • 增加mixin,使得扩展更容易
  • 修复一些问题
  • 添加API:UN.sprite, UN.text, UN.entity, UN.graphics 用来快速创建对象

v3.0.0

  • fix light bugs

v3.beta

See migration

  • 👍 提高Tween API的方便性: 例如 this.tween.backOut()/this.tween.to().backOut()
  • 👍 提高异步编程: support async/await syntax
  • 👍 使用async/await替代Q.js,不过Q.js依然留下兼容
  • 👍 Scheduler Promise: this.scheduler.wait(100).then(...), this.scheduler.waitFrame(3).then(...), this.scheduler.waitFrameEnd().then(...)

v2.1

Sprite, Text, Graphics称为原始显示对象

  • 👍 原始显示对象现在无需initTween,直接使用tween属性获取TweenManager,并且create允许创建local tween
  • 原始显示对象添加active属性,功能与Entity的active相同
  • UN.Text和UN.TextView现在都指向TextView

v2

  • Add Entity.playAnimation()
  • Add TextureAtlas.makeMovieClip()
  • Built in audio based on Holwer.js
  • Add TextView, add style.limitWidth, style.ellipsed
  • Add Entity.scheduler
  • Add stage.controller for MVC

Readme

Keywords

none

Package Sidebar

Install

npm i uneed2d

Weekly Downloads

1

Version

3.0.3

License

MIT

Last publish

Collaborators

  • uneed