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

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

2351. worker.js的如何正确使用?所有资源都加载2遍,第一遍是在work.js所在的目录下,第二遍正常 [ 51%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 求高人分享使用protobuff...

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

2352. LayaAir IDE 2.2.0beta2版本2d粒子不能用了,LayaAir IDE 2.1.0版本正常 [ 51%]

....2.0beta2版本2d粒子不能用了,LayaAir IDE 2.1.0版本正常 Uncaught TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'.     at ParticleShader._compile (libs/laya.core.js:2554)     at ParticleShader.recreateResource (libs/laya....

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

2353. 如何使用graphics绘画虚线 [ 51%]

...小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 使用钢体设置防穿后仍有几率会穿透 关于使用matterjs物理引擎鼠标问题 预设怎么在代码中使用 问题状态 最新...

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

2354. 微信浏览器,input输入完成后,游戏不能还原 [ 51%]

...= Laya.stage.height * 0.4; // 移动端输入提示符 inputText.prompt = "Type some word...";  // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; scene.addChild(inputText);  var tip1 = new Laya.Label(); tip1.bgColor = ...

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

2355. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 51%]

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

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

2356. as怎么用protobytebuf传输数据到服务端 [ 51%]

...aya_XS 赞同来自: var userLogin:MsgLogin = new MsgLogin(); userLogin.msgType = MSG_TYPE.USERLOGIN; userLogin.msgSize = MSG_SIZE; userLogin.uid = Login.instance.g_userInfo.uid; userLogin.token = Login.instance.g_userInfo.token; var msgByteArray:WritingBuffer = new WritingBuffer(); msgInfo.writeTo(...

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

2357. 分享:LayaAir下如何获取图集下的小图资源? [ 51%]

...载引擎需要的资源 Laya.loader.load([{url:"res/atlas/atlas_res.json",type:Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //获取图集下的单张小图 var texture:Texture=Laya.loader.getRes("atlas_res/01.png"); var sp:Sprite=new Sprite(); sp.graphics.d...

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

2358. RenderTarget2D的create方法 [ 51%]

...unction create(w:int, h:int, surfaceFormat:int = WebGLContext.RGBA, surfaceType:int = WebGLContext.UNSIGNED_BYTE, depthStencilFormat:int = WebGLContext.DEPTH_STENCIL, mipMap:Boolean = false, repeat:Boolean = false, minFifter:int = -1, magFifter:int = -1):RenderTarget2D {             var t:R...

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

2359. [LayaAir3]在pc端测试的时候流程没有问题 但是使用手机扫码模拟的时候 加载完成之后 一直白屏或者就是推到主页的加载栏 [ 51%]

...DE 是没测试就上线了吗? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接...

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

2360. 高德地图上的这种导航线要怎么画?我知道要使用graphics矢量绘图API。但是不知道这种的线路图如何实现? [ 51%]

...,怎么调用微信小程序API 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. Tween如何实现无限循环改变alpha? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 如何实现微信登录? 有什么容器能够实现当子元素达...

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