大约有 635 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
Laya_社区(387) laya_api(53) Laya3.0_api(48) Laya2.0_文档(47) Laya3.0_文档(33) Laya2.0_示例(31) Laya_示例(28) Laya2.0_api(8)
...宽是2M ADSL,所以在优化阶段,我们都会把模拟成2M的带宽200ms延迟下进行优化,让玩家能在网络稳定的情况下20s内进入到主游戏场景; 分包这种技术在大型页游的开发中,还是有必要的,而且手机网络的环境还没有PC端那么稳定...
来源: Laya_社区 发布时间: 20180829
...5, yOffset: 28 } } }); }); var ground2 = Matter.Bodies.rectangle(610, 250, 200, 20, { isStatic: true, render: { fillStyle: '#edc51e', strokeStyle: '#b5a91c' } }); var pyramid2 = Matter.Composites.pyramid(550, 0, 5, 10, 0, 0, function(x, y, column) { var texture = column % 2 === 0 ? '../../res/physic...
来源: Laya_示例 发布时间: 20251209
...ment(); Laya.stage.addChild(p); p.href = "../../res/html/test.html"; p.y = 200; } })(); 2017-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 参考下这个链接:http://ask.layabox.co...
来源: Laya_社区 发布时间: 20170314
...yUI(); Laya.stage.addChild(play); hero = new Hero("hero", 25) hero.pos(100,200) Laya.stage.addChild(hero) Laya.timer.once(3000, this, gameOver) } function gameOver() { map.removeSelf() play.removeSelf() over = new GameOverUI() over.txt_score.text = "25" over.btn_restart.on(Event.MOUSE_UP,this,gameIn...
来源: Laya_社区 发布时间: 20180911
...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"; this.txt.size(200,100); //这里没看出来是什么意思 this.txt.x=Laya.stage.width-this.txt.width>>1; this.txt.y=Laya.stage.height-this.txt.height>>1; this.txt.borderColor="#ffff00"; this.txt....
来源: Laya_社区 发布时间: 20170810
...质 资源是从另外一个资源服务器跨域下载的 但StatusCode=200因为响应头做跨域处理 图2是在laya3.3IDE中运行截图,杂质不明显 唯一区别是从项目启动加载资源是从缓存中读取的 StatusCode=304NotModifd 图3是发布到外网后抓到的报错,图...
来源: Laya_社区 发布时间: 20250814
...t;10;i++){ var p:wheel=Pool.getItemByClass("wheel", wheel); p.pos(i*90+100,200); p.init(); roleLayer.addChild(p) } /////////////wheelas.as public function wheel(){ this.graphics.drawCircle(0,0,40,"#fff"); _wheel= new Animation(); _wheel.loadAnimation("wheeling.ani"); } publ...
来源: Laya_社区 发布时间: 20190312
同一个Graphics里面绘制超过20000个矢量rect的情况下,Uncaught Error: IBQuadrangle count(带悬赏的每次都创建订单失败,之后在社区里面看不到) 顶点数超过65535 / 4会抛出错误这个知道,有没有办法绕开这个报错 尝试过draw 10000个点的时候...
来源: Laya_社区 发布时间: 20181113
...面向AS/JS/TS开发者提供HTML5开发技术方案!\n" ;this.txt.size(200,100);this.txt.borderColor = "#ffff00";this.txt.fontSize = 20;this.txt.color = "#ffffff";Laya.stage.addChild(this.txt);this.txt.on(Laya.Event.MOUSE_DOWN,this,startScrollText);}/*开始滚动文本*/function startScrollText(...
来源: Laya_社区 发布时间: 20180125
...; this.init(); } public init(): void { Laya.Tween.to(this.kaishi_btn, { y: 200 }, 800, Laya.Ease.backOut, Laya.Handler.create(this, this.onLogoCompete)); } onLogoCompete(): void { Laya.Tween.to(this.biaoti_lable, { y: 120 }, 800, Laya.Ease.backOut); } onStart(): void { Laya.Tween.to(this.kaishi_btn,...
来源: Laya_社区 发布时间: 20180507