1. Rigidbody2D:用于給2D游戲物體添加物理學(xué)特性,比如重力,運(yùn)動(dòng)和碰撞檢測等。 2. BoxCollider2D: 用于給2D物體...
const timer = new egret.Timer(500,5); timer.addEventListener(egret.Timer...
//網(wǎng)絡(luò) //get請(qǐng)求 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:顯示對(duì)象基類,所有顯示對(duì)象都繼承此類 當(dāng)前對(duì)象 addEventListener type:touchMove t...
IOS block 簡單的可以認(rèn)為是NSObject 對(duì)象(superclass:NSBlock) block就是將一些代碼封裝起來,以便在將來...
新建一個(gè)倉庫 放置framework 或者.a 進(jìn)入倉庫 新建podspec 文件 pod spec create name(pod 安轉(zhuǎn)使用的...