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

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

21. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 88%]

...ort GameConfig from "./GameConfig"; import ui from "./ui/layaMaxUI"; class Main {     constructor(){         //初始化引擎         Laya3D.init(0, 0);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; ...

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

22. 用Text文本当出现中文与数字在一起的时候自动换行会有问题! [ 87%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. FD 宏编译时 出现 试图访...

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

23. Text.as中parseLines方法里的问题 [ 86%]

...: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 在main.as 里 加入 如下方法 在引擎初始化之后   if (Browser.onMiniGame) { var ctxProto:Object = __JS__("CanvasRenderingContext2D.prototype"); ctxProto.measureText1 = ctxProto.measureText; ctxProto.measureText = fun...

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

24. Text->getCharPoint方法返回位置错误bug [ 86%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 TypeScript下HttpRequest发送Post请求...

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

25. 一个关于getPixels的问题 [ 85%]

一个关于getPixels的问题 空工程中代码如下: Main.js: const Sprite = Laya.Sprite; const Text = Laya.Text; const Texture = Laya.Texture;  Laya.init(800, 600);  var txt = new Text(); txt.pos(200, 200); txt.color = "#FFFFFF"; txt.text = "000000"; Laya.stage.addChild(txt);  var spr = n...

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

26. Label Text 在chrome浏览器位置会向下偏移。2.0.2beta版还是有问题。 [ 85%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 iphone自带浏览器页面怎么锁定 救命!canvas定位后 点击区域偏移,求大大们解答 谷歌浏览器播放mp3出现The AudioContext was not allowed to...

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

27. [LayaAirIDE3]2d相机打包后问题 [ 85%]

... 2025-11-25 0 0 分享 微博 QZONE 微信 1756447350用户 赞同来自: main代码 // Main.ts - 简化版异步加载 import { CameraController } from "./CameraController"; import { Joystick } from "./Joystick"; import { Player } from "./Player";  const { regClass, property } = Laya;  @regClass(...

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

28. flashdevelop新建官方一个text的案例,编译成功,Chrome画面只有全黑,没FlashDevelop官方第一个示例失败 [ 85%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 游戏运行在chrome里面 听不见声音 ide 2.4 layaair2-cmd 编译报错 关于Laya实现Matter.js官方案例凹多边形的问题 【带附件】 使用Laya2.0.0beta5.1 发...

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

29. 部分安卓手机界面的文字渲染出现缺失 [ 84%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 2.2.0beta4 发布微信小游戏...

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

30. [LayaAirIDE3]引擎低级错误,文本设置错误颜色值,文本对象直接不显示 [ 82%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 关于文本遮挡 分享,扩展Laya.Text组件实现简单的富文本 btn 鼠标移动上去默认...

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