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

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

2801. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 41%]

...里不需要扩展名,外部保证fnt与png文件同名this.mBitmapFont.loadFont("res/bitmapFont/test.fnt",new Laya.Handler(this,onLoaded)); c.将字体文件放到 LayaAir IDE 项目的资源目录中(laya/assets/) d.   6.完整代码如下所示:   //初始化引擎Laya.init(550,400);//...

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

2802. 关于适配模式 Laya.Stage.SCALE_FIXED_AUTO [ 41%]

...一张logo图片具体如下: <img id="logo" src="res/loading/logo.png" style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)"> 然后进入游戏逻辑后我又在stage上添加了同样路径下的同一张图片,我想让实现这两张...

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

2803. 分享:intersects为何碰撞不准?碰撞框rectangle的坐标你设置对了吗? [ 41%]

...回复问题请先登录 发起人 daohu 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) sprite旋转以后,但是原来碰撞检测rect没有旋转 招聘:H5游戏开发 坐标:深圳南山 分享:自定义事件派发与侦听(A页面派发 B页面侦听...

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

2804. laya2.8.0IDE工具中打安卓包(LayaNative版本相同),无法加载游戏启动页 [ 41%]

...页 I/LayaBox: found the file in the package:scripts/async.js I/LayaBox:  loadApp:http://happiness.joyleafs.com/ncapi/client/app*/index.json I/LayaBox: setCachePath:/data/user/0/com.layabox.run.*//LayaCache//appCache/     read index:/data/user/0/com.layabox.run.*//LayaCache//appCache/da25d557/fil...

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

2805. laya.d3.core.material.SkyProceduralMaterial_API3.0 [ 41%]

...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new SkyProceduralMaterial(): SkyProceduralMaterial Overrides Material.constructor Defined in laya/d3/core/material/SkyProceduralMaterial.ts:151 创建一个 SkyProceduralMaterial 实例。 Return...

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

2806. 分享:简单聊天室 [ 41%]

...复问题请先登录 发起人 cuixueying 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分享:打地鼠 AS、JS、TS版本 Demo! 分享:适配LayaAir版本的PureMVC框架 求高人分...

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

2807. iOS9兼容bug,求指教 [ 41%]

... [[conchRuntime alloc]initWithView:m_pGLKView EAGLContext:m_pGLContext downloadThreadNum:3 URL: [PXMainViewController getGameUrl]]; 这个初始化报错不能正常初始化 Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1200ad088) 附件 : --> 2019-06-12 添加评论 免费帖 --> 分享 微博 QZONE...

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

2808. laya.d3.core.material.UnlitMaterial_API3.0 [ 41%]

...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new UnlitMaterial(): UnlitMaterial Overrides Material.constructor Defined in laya/d3/core/material/UnlitMaterial.ts:103 Returns UnlitMaterial Properties _id _id: number = 0 Inherited from Resourc...

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

2809. laya.d3.core.Camera_API3.0 [ 41%]

...TextureCubeByScene drawTextureCubePixelByScene getTexturePixel instantiate load Constructors constructor new Camera(aspectRatio?: number, nearPlane?: number, farPlane?: number): Camera Overrides BaseCamera.constructor Defined in laya/d3/core/Camera.ts:659 创建一个 Camera 实例。 Parameters Def...

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

2810. Laya2.6、2.7等支持async、await编译经验分享 [ 41%]

...s里面es6toes5,这里我又整理下发现如果引用了以下文件:loadLib("libs/domparserinone.js")微信开发工具运行时候会提示:Sax0 is not defined之类的,因为wx小游戏不是浏览器没有window的域默认,所以需要改下那个js里面的代码(domparserinone.js...

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