Package Exports
- @icanvas/core
 
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@icanvas/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
iCanvas核心构造器
默认方式构造全局GAME
import GAME from '@icanvas/core/build/index.js'全局定位实例 GAME.Pos
全局事件管理器 GAME.Event
全局业务配置 GAME.Options  
2D基础组件 GAME.Component
2D图片组件 GAME.Component.Texture
2D文字组件 GAME.Component.Text
2D滚动组件 GAME.Component.Scroll不推荐
2D缓存组件 GAME.Component.Cache不推荐  
图片资源加载器 GAME.Res.Image
音频资源加载器 GAME.Res.Audio  
(微信)微信文件管理器实例 GAME.Api.File
(Web/微信)网络请求器实例 GAME.Api.Req
(Web/微信)基本Canvas生成函数 GAME.Api.Canvas()
(Web/微信)字体加载函数 GAME.Api.Font()
(微信)小游戏登陆函数 GAME.Api.Login()
(微信)小游戏跳转函数 GAME.Api.Navigate()
(微信)分享函数 GAME.Api.Share()
(Web/微信)长链接管理器实例 GAME.Api.Socket不推荐
(Web/微信)缓存管理器实例 GAME.Api.Storage
(Web/微信)系统信息 GAME.Api.System
(Web/微信)默认提示函数 GAME.Api.Toast()不推荐  
时间格式化工具 GAME.Math.Time
随机数字工具 GAME.Math.Random
颜色格式化工具 GANE.Math.Color
坐标定位器工具 GANE.Math.Position
扩展数组 GAME.Math.Array
基础向量 GAME.Math.Vector
二维向量 GAME.Math.Vector2
三维向量 GAME.Math.Vector3
二维矩阵 GAME.Math.Matrix3
三维矩阵 GAME.Math.Matrix4  
 
微信开放域方式构造全局GAME
import GAME from '@icanvas/core/build/open.js'全局定位实例 GAME.Pos
全局事件管理器 GAME.Event
全局业务配置 GAME.Options  
2D基础组件 GAME.Component
2D图片组件 GAME.Component.Texture
2D文字组件 GAME.Component.Text
2D滚动组件 GAME.Component.Scroll不推荐
2D缓存组件 GAME.Component.Cache不推荐  
图片资源加载器 GAME.Res.Image
(Web/微信)基本Canvas生成函数 GAME.Api.Canvas()
(Web/微信)系统信息 GAME.Api.System
(微信)设置开放域用户数据 GAME.Api.setUserCloudStorage
(微信)获取开放域好友数据 GAME.Api.getFriendCloudStorage
(微信)获取开放域用户信息 GAME.Api.getUserInfo  
时间格式化工具 GAME.Math.Time
随机数字工具 GAME.Math.Random
颜色格式化工具 GANE.Math.Color
坐标定位器工具 GANE.Math.Position
扩展数组 GAME.Math.Array
基础向量 GAME.Math.Vector
二维向量 GAME.Math.Vector2
三维向量 GAME.Math.Vector3
二维矩阵 GAME.Math.Matrix3
三维矩阵 GAME.Math.Matrix4