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

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

1681. CheckBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 66%]

...WebGL渲染模式 Laya.init(1334,750, WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoad回调方法 Laya.loader.load([skin1,skin2], Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个CheckBox实例cb1 var cb1:Check...

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

1682. TimeLine调用destroy报错&执行完成后回到起点 [ 66%]

...to.run (HMain.max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop (HMain.max.js:16892) at loop (HMain.max.js:5472)    private function createTimerLine():void { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX...

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

1683. Spine切换动画后,站立动画抖动得厉害,特别是腿部 [ 66%]

...ore.js:9827)     at Timer.__proto._update (laya.core.js:9560)     at Stage.__proto.render (laya.core.js:18520)     at Stage.__proto._loop (laya.core.js:18478)     at loop (laya.core.js:5437) 2018-06-20 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 在上一部分的示例代码...

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

1684. Sprite optimizeScrollRect = true 似乎有问题 [ 66%]

...微信小游戏里面如何知道用户是否焦点在游戏里面? Laya.stage.isFocused Laya.stage.isVisibility 永远是true Image和Sprite在应用上的区别 Mac Chrome 打开 Laya.Browser.onSafari 是 true? 碰撞检测 和 sprite问题【js】 2个不规则的sprite图,如何实现精准...

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

1685. laya.ui.OpenDataContextView_API3.0 [ 66%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters fps globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene ...

来源: Laya3.0_api 发布时间: 20231115

1686. 用iframe内嵌网页及适配 [ 66%]

...)[0]; body.appendChild(iframe); //适配处理 var frameWidth = 720 * Laya.stage.clientScaleX; var frameHeight = 1280 * Laya.stage.clientScaleY; var styleStr = "position: absolute; left: {0}px; top: {1}px; z-index: 100009;";//laya 的index是100000 var str = styleStr.format((laya.utils.Browser.width...

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

1687. ui组件list数据源的疑问 [ 66%]

...游戏设计宽高。 Laya.init(750, 1334); //设置适配模式 // Laya.stage.scaleMode = "noborder"; var test=new TeUI(); var arr=; for(var i;i<6;i++){ arr.push({m_lable:"NO."+i}); } console.log(test.m_list) test.m_list.array=arr; Laya.stage.addChild(test); test.show(); })(); 但没有出来想...

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

1688. laya.ui.LayoutBox_API3.0 [ 66%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

来源: Laya3.0_api 发布时间: 20231115

1689. laya.ui.TipManager_API3.0 [ 66%]

...defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

来源: Laya3.0_api 发布时间: 20231115

1690. drawToCanvas截图在某些手机上会变暗 [ 66%]

...ge(); //给个ID方便添加CSS样式 snapshot.id = "snapshot"; //将整个STAGE画到图片里 snapshot.src = Laya.stage.drawToCanvas(1080,1920, 0, 0).getCanvas().toDataURL(); //图片显示在页面中 document.body.appendChild(snapshot); //隐藏游戏画布 document.getElementById("layaContainer...

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