• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 436 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)

381. CheckBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 41%]

...{ //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(600,400,Laya.WebGL); //设置舞台背景颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load([this.skin1,this.skin2],Laya.Handler.create(this,this.onLoaded)); } private onL...

来源: Laya2.0_文档 发布时间: 20210715

382. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 40%]

...游戏的适配 Laya.MiniAdpter.init(); //初始化引擎 Laya.init(600, 400, WebGL); //设置屏幕缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_NOSCALE;//不缩放屏幕 //设置屏幕水平居中 Laya.stage.scaleMode = Laya.Stage.ALIGN_CENTER; //设置屏幕垂直居中 Laya.stage.scaleMod...

来源: Laya_社区 发布时间: 20180715

383. LayaNative 0.9.6启动时报错 [ 40%]

...okbok I/art:     at void layaair.autoupdateversion.YLCheckUpdate.access$400(layaair.autoupdateversion.YLCheckUpdate) (YLCheckUpdate.java:28) 2019-07-22 18:03:33.840 27966-27966/com.lovegame.hk.hokbok I/art:     at void layaair.autoupdateversion.YLCheckUpdate$UpdateHandle.handleMessage(android....

来源: Laya_社区 发布时间: 20190722

384. android 使用LayaAir Native SDK 0.9.13打包程序闪退 [ 40%]

...W/google-breakpad(8475): 2.00 01-13 03:14:15.324: W/google-breakpad(8475): 400 01-13 03:14:15.324: W/google-breakpad(8475): ### ### ### ### ### ### ### ### ### ### ### ### ### 01-13 03:14:15.325: A/libc(8475): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xba0001c in tid 8593 (Thread-3280) 01-13 03...

来源: Laya_社区 发布时间: 20180113

385. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 40%]

... mBitmapFont:BitmapFont; public function TestBitmapFont() { Laya.init(550, 400); mBitmapFont = new BitmapFont(); //这里不需要扩展名,外部保证fnt与png文件同名 mBitmapFont.loadFont("layabmfont.fnt",new Handler(this,onLoaded)); } private function onLoaded():void { init(); } private fu...

来源: Laya2.0_文档 发布时间: 20201114

386. 字体切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...pnum1: Laya.FontClip = new Laya.FontClip(this._ClipNum1); clipnum.pos(240, 400); clipnum.size(250, 50); clipnum.sheet = "0123456789"; clipnum.value = "114499"; clipnum.spaceY = 10; testClipNum.pos(200, 300); testClipNum.sheet = "0123456789"; testClipNum.value = "0123456789"; clipnum1.pos(150, 100); ...

来源: Laya3.0_文档 发布时间: 20251010

387. 物理引擎显示旋转问题 [ 39%]

...B,             ropeC,             Bodies.rectangle(400, 600, 1200, 50.5, { isStatic: true })         ]);         // add mouse control         var mouse = Mouse.create(render.canvas),             mouseConstraint = MouseConstraint.create(engi...

来源: Laya_社区 发布时间: 20180323

388. 【LIST无法拖动】参照官方实例做的 [ 39%]

...ext; class Item extends Box {     public static WID: number = 400;     public static HEI: number =40;     private text_guanqia: Text;     private text_guanqia_info: Text;      private img: Image;     constructor(){         super();         ...

来源: Laya_社区 发布时间: 20210122

389. 多线程Worker · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...: class LayaUISample { constructor() { //初始化引擎 Laya.init(600,400,Laya.WebGL); //设置Laya提供的worker.js路径 Laya.WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("../atlas/comp.atlas",L...

来源: Laya3.0_文档 发布时间: 20251010

390. 鼠标交互-Hold [ 38%]

...r = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(apePath, Handler.create(th...

来源: Laya2.0_示例 发布时间: 20251130