1. Rigidbody2D:用于給2D游戲物體添加物理學特性,比如重力,運動和碰撞檢測等。 2. BoxCollider2D: 用于給2D物體...
const timer = new egret.Timer(500,5); timer.addEventListener(egret.Timer...
//網絡 //get請求 const request = new egret.HttpRequest(); request.responseTy...
class DateEvent extends egret.Event { public static DATE:string = "date"...
var shape = new egret.Shape(); shape.graphics.beginFill(0xff00ff,1); sha...
var img = new egret.Bitmap(); img.x = 0 ; img.y = 0 ; img.width =750; im...
DisplayObject:顯示對象基類,所有顯示對象都繼承此類 當前對象 addEventListener type:touchMove t...
IOS block 簡單的可以認為是NSObject 對象(superclass:NSBlock) block就是將一些代碼封裝起來,以便在將來...
新建一個倉庫 放置framework 或者.a 進入倉庫 新建podspec 文件 pod spec create name(pod 安轉使用的...