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

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

2541. laya2.0版本,富文本HTMLDivElement中<p>标签里使用<br />标签时报错,在<span>里也不行 [ 50%]

laya2.0版本,富文本HTMLDivElement中&lt;p&gt;标签里使用&lt;br /&gt;标签时报错,在&lt;span&gt;里也不行 业务场景:在游戏后台使用富文本编辑器插件来更新游戏的公告,前端会获取这个公告的html并赋值给HTMLDivElement进行展示 在laya1.0没...

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

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

# LayaAir引擎内置版Spine骨骼动画 > 本篇采用LayaAirIDE 2.0.0版本截图说明,如有差异,请下载最新稳定版本的LayaAirIDE,并以最新版本为准。 Spine骨骼动画,是游戏中经常使用的骨骼动画之一,对于Spine的支持,LayaAir有两种方案,一...

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

2543. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 50%]

...peError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing an...

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

2544. 修改了Scene下的WebGL参数导致渲染3D对象出现局部透明 [ 50%]

...he quad */ render() { this.gl.useProgram(this.program); this.gl.bindBuffer(Laya.WebGLContext.ARRAY_BUFFER, this.vertexPositionBuffer); this.gl.enableVertexAttribArray(this.vertexPositionAttribute); this.gl.vertexAttribPointer( this.vertexPositionAttribute, this.vertexPositionBuffer.itemSize, Laya.We...

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

2545. 打开新窗口被拦截,同样的方法用egret和其他h5工程都没有问题 [ 49%]

...018-03-21 0 5 分享 微博 QZONE 微信 kvs1205 赞同来自: 没有, myLayaaaaaaa.zip 2018-03-21 0 0 分享 微博 QZONE 微信 qian 赞同来自: Laya.Browser.window.location.href = "url"; 这个可以用 https://ask.layabox.com/question/1581 还有这个 2018-03-21 0 0 分享 微博 QZONE 微...

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

2546. 3D 简单场景示例里面这个模型的光照贴图是在哪的??是怎么关联到模型上的?现在使用光照图总共有几种方法?? [ 49%]

...到模型上的? 现在使用光照图总共有几种方法??http://layaair.ldc.layabox.com ... ample   附件 : --> 2017-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 183*****755 赞同来自: 在un...

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

2547. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 49%]

...rManager { private progressUI: UIBase; private token; constructor(token) { Laya.loader.load([{ url: "res/ui/LoadProgress.fui", type: Loader.BUFFER }], Handler.create(this, this.loadProgress)) this.token = token; } public loadProgress() { this.progressUI = UIBase.create(LoadProgress.UI_LoadProgress, ...

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

2548. as hello world 背景还是黑色 [ 49%]

as hello world 背景还是黑色 as hello world package { import laya.ui.Label; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#ffffff"; var sp : Label = new Label("hello world"); //sp.fontSize = 55; sp.pos(100, 100) ; //sp.co...

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

2549. Spine动画使用(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 49%]

# LayaAir引擎内置版Spine骨骼动画 > 本篇采用LayaAirIDE 2.0.0版本截图说明,如有差异,请下载最新稳定版本的LayaAirIDE,并以最新版本为准。 Spine骨骼动画,是游戏中经常使用的骨骼动画之一,对于Spine的支持,LayaAir有两种方案,一...

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

2550. 请问HTMLDivElement怎么加垂直滚动条 [ 49%]

请问HTMLDivElement怎么加垂直滚动条 this.chat_lab = new Laya.HTMLDivElement(); this.chat_lab.pos(2, 2); this.chat_lab.size(495,329); this.rect_sprite.addChild(this.chat_lab); .... //输入了一大堆聊天记录后,内容超过了329px,虽然限高height:329px;并加入了overflow-y:s...

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