大约有 638 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
Laya_社区(390) laya_api(53) Laya3.0_api(48) Laya2.0_文档(47) Laya3.0_文档(33) Laya2.0_示例(31) Laya_示例(28) Laya2.0_api(8)
..., "20px Arial", "#ff0000", "center"); Tween.to(mLabelSprite, { y:mStartY - 200 }, 1000, null,Handler.create(this,playEnd)) if(tEventData.name=="'fall'") { trace('fall'); } else if(tEventData.name=="'jump'") { trace('jump'); } else if(tEventData.name=="'stand'") { trace('stand'); } else if(tEventData...
来源: Laya_社区 发布时间: 20170406
...计图整体是按667*375来设计的,中间那个图片的尺寸是345*200,一直没变过。但是手机尺寸不同,所以用fixedheight来做适配。 星海vito • 2018-05-31 17:51 @Laya_Aaron:一适配就模糊了。。。不存在没有对应好的问题。 Laya_Aaron • 2018-05-31 17...
来源: Laya_社区 发布时间: 20180531
... data.push(itemList); posY = posY + 200; } let list = new Laya.List; list.width = this.itemList.width; list.height = this.itemList.height; list.x = this.itemList.x; list.y...
来源: Laya_社区 发布时间: 20170310
...处理依赖? enum LogLevelEnum{ ALL = -0xFFFFFFFF, TRACE = 0, DEBUG = 200, INFO = 400, WARN = 600, ERROR = 800, FATAL = 1000, OFF = 0xFFFFFFFF }class Logger { public static logLevel: number = LogLevelEnum.ALL; // 获取或设置日志输出的分级 }编译运行会报错。 可行的办法是改...
来源: Laya_社区 发布时间: 20171107
同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count(之前发起的问题不知道为什么找不到) 顶点数超过65535 / 4会抛出错误这个知道,有没有办法绕开这个报错 尝试过draw 10000个点的时候,把a的纹理取...
来源: Laya_社区 发布时间: 20181113
...ColliderShape(1); ballrigid.friction = 1; ballrigid.mass = Math.random() * 200 + 100;//质量随机[100,300] //生成地面上的球 let ball1: Laya.MeshSprite3D = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(1)); this.scene1.addChild(ball1); ball1.transform.position = new Laya.Vector3(0...
来源: Laya_社区 发布时间: 20190506
...度范围 */ private _path_min: number = 100; private _path_max: number = 200; /** 路径角度 */ private _path_angle: number; /** 路径弧度 */ private _path_radians: number; /** 是否移除 */ public _to_remove: number; constructor(){ super(GunRoleType.LIVE_DOLL); } init( box: GunBox, d...
来源: Laya_社区 发布时间: 20180515
...re.y, this.are.width, this.are.height, "#00ff00"); _fish.x = 300 _fish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_fish.x, _fish.y)) { console.log("hittttttt"); } }); } } //...
来源: Laya_社区 发布时间: 20180315
...L; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(200, 300, WebGL); Laya.stage.alignV = "middle"; Laya.stage.alignH = "center"; Laya.stage.scaleMode = "showall"; //自动竖屏,让游戏的水平方向始终与浏览器显示屏幕的最长边保持垂直。 ...
来源: Laya_社区 发布时间: 20171113
...裁的显示对象要比panel自身要大,现在你的显示对象是10*200,panel是745*385,自然是不能滚动的,你把size的值设置的比panel大就好了 guifa2014 • 2016-12-26 21:44 @cuixueying:这样啊 ,但是我的k线不可能做的很大,比panel还大啊 ,我是想在...
来源: Laya_社区 发布时间: 20161226