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

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

1. websocket连接出错 [ 100%]

...t;</title> </head> <body> </body> <script type="text/javascript" src="js/jquery-3.1.1.min.js" ></script> <script type="text/javascript" src="js/socket.io.js"></script> <script> $(function(){ var socket = io.connect('10.10.1.103:8888'); socket.on(...

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

2. js socket 连接不上 [ 98%]

...t;</title> </head> <body> </body> <script type="text/javascript" src="js/jquery-3.1.1.min.js" ></script> <script type="text/javascript" src="js/socket.io.js"></script> <script> $(function(){ var socket = io.connect('10.10.1.103:8888'); socket.on(...

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

3. dialog的popup方法不会关闭其他弹窗 [ 93%]

...> { this.showDialog("注册功能暂未开放") });  }  showDialog(context: string) { // if (this.normalDialog) { // this.normalDialog.close(); // } this.normalDialog = new NormalDialog(context); this.normalDialog.popup(true, true); Laya.stage.addChild(this.normalDialog);  }  }     // 弹...

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

4. 鼠标事件监听 异常触发mouseout [ 91%]

... 分享:自定义事件派发与侦听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 List 组件列表渲染异常 Animation如何加点击事件 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 关于使用matterjs...

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

5. [LayaAirIDE3]2d相机打包后问题 [ 90%]

... // 加载完成后绘制到building Sprite上                 let texture = Laya.loader.getRes("res/building.png");                 this.building.graphics.drawTexture(texture, 0, 0);             }),             null,             Laya.Loader.IMAGE         );   ...

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

6. [LayaAirIDE3]layanative3.1 ios 使用TTF crash [ 89%]

...有说明, 文档链接为:https://layaair.com/3.x/doc/2D/advanced/useText/readme.html 关键内容为: LayaAir引擎在文本的底层渲染上,有两种方式。 分别是Text文本类的文本统一提交方式,和Graphics类的fillText文本单字符绘制提交方式。 如果采用...

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

7. 关于event中只读属性touches,问题,求解 [ 84%]

...读属性touches,问题,求解 主类: package { import laya.display.Text; import laya.events.Event; import laya.webgl.WebGL; public class DemoTouch { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text = "hello"; txt.co...

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

8. LayaAir开发笔记(1)五十音图连连看 [ 83%]

...E; 2.设置标题和输出信息 网上找了个图片当背景,加了个text当标题,加了版权信息,并且为版权信息注册了个匿名函数,点击会跳转到我的个人网站。// 设定背景 var background = new Laya.Sprite(); background.loadImage("linkgame_back.jpg"); backgr...

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

9. textArea滚动条异常问题 [ 82%]

textArea滚动条异常问题 textArea在设置为可编辑(editable = true)、自动换行的情况下,即使输入足够多换行,也是无法显示滚动条皮肤,皮肤路径没有问题。 而且测试过,在项目中运行中(在输入足够多字数后)动态修改textArea的...

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

10. Array buffer allocation failed [ 82%]

...ailed to load: 调试工具正常,真机报错:Request failed Status:0 text( 加载场景失败) HttpRequest在ios系统出现Request failed Status:0 text:,安卓没事 scriptEngine 0xc30edooo loadScriptStringWithCodeCache failed 发布QQ包报错 安卓的QQ扫码时运行不出来 求助...

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