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

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

2401. ts项目加载version.json失败 [ 50%]

... class GameMain{ constructor() { Laya.init(1280,760); Laya.ResourceVersion.type = Laya.ResourceVersion.FILENAME_VERSION; Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.beginLoad)); } private beginLoad(): void { console.debug("aaaaaaaaaaaaaaaaa"); var img = new Laya.Sprite...

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

2402. LayaNative端使用.ttf字体 [ 50%]

...小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 请问2.0的版本...

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

2403. 物理射线检测(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 50%]

...(https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`,`raycastAllFromTo`一类,`rayCast`,`rayCastAll`一类。我们将前面2个...

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

2404. LayaFlash最新的MornUI是否还支持MornBuilder.exe pubilsh demo.morn 命令的使用? [ 50%]

...sk? LayaBox IDE 支持多开吗 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? 使用钢体设置防穿后仍有几率会穿透 问题状态 最新活动: 2016-03-01 19:22 浏览: 1898 ...

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

2405. 新版版2d粒子问题?同样的代码,LayaAir IDE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错 [ 50%]

...    }), null, Laya.Loader.JSON);         })   错误信息:TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'   2019-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

2406. DragonBone动画使用(TypeScript-LayaAir基础篇(TS)-动画基础) [ 50%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Animation&class=laya.ani.bone.Skeleton) 创建 DragonBonesDemo.ts,代码编写如下: ```typescript //初始化舞台 Laya.init(1334,750,Laya.WebGL); //创建一个Skeleton对象 var skeleton:Laya.Skeleto...

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

2407. 【教程】2.0微信开放数据域展示组件的使用,WXOpenDataViewer,子域,排行榜 [ 50%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 关于使用matterjs物理...

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

2408. 3.0自定义脚本属性在ide上不显示 [ 50%]

...于OK,结果……结果……结果…… 现在是脚本呢,不设置type属性,在beta5是可以显示的,现在升级全部废了,不显示了,那么多脚本,需要一个一个去改吗? 出bug没问题,但能不能不要出这种致命问题。。。兼容呢,还好use sour...

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

2409. laya.physics.joint.RevoluteJoint_API3.0 [ 50%]

...PreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Property Accessor Inherited constructor Inherited property Inherited method Inherited accessor Enumeration Interface

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

2410. 使用Laya2.0做微信开放数据域是出错。 [ 50%]

...为微信开放数据域项目是报错: WAGameSubContext.js:1 Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:673) at Function.MiniAdpter.init (laya.wxmini.js:91) at Function.MiniAdpter.enable (laya.wxmini.js:77) at F...

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