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

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

1011. 普通文本中文逗号导致异常换行 [ 49%]

...额外附带4000点切割伤害,持续10秒。冷却60秒。"; txt.color = "#EDE1D7"; Laya.stage.addChild(txt); txt.x = (Laya.stage.width - txt.textWidth) / 2; txt.y = (Laya.stage.height-txt.textHeight) / 2; zkang5 • 2022-07-11 09:49 好的,谢谢

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

1012. Unity导出场景,然后在Laya看效果,摄像机的参数我直接拿Unity调整过后的效果值在Laya效果视角非常不理想,我后续截屏在留言,各位大神支招 [ 49%]

...体出现抖动。 3d场景单材质单模型CurMem300多 2.0 drawTexture color参数无效 问题状态 最新活动: 2018-09-08 15:55 浏览: 1036 关注: 1 人 herosNerverDie • 2019-01-04 19:05 unity中和 laya中 单位是不一样的 , 可以直接在unity中创建一个摆放好角度的...

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

1013. [LayaAirIDE3]3.3 bate3 2D粒子报错 [ 49%]

...编辑器查看效果,控制台输出新的错误了,生命周期除了Color Over Lifetime其他3个随便启动一个都会报错。Uncaught TypeError: Cannot read properties of null (reading '_elements') at localhost:18090/libs/laya.particle.js:1220 1743381626用户 • 2025-04-02 12:59 启动...

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

1014. layaAirIDE中如何使用wx等微信基础对象,ide版本1.7.19.1beta [ 49%]

...le: { left: 10, top: 76, width: 200, height: 40, lineHeight: 40, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, borderRadius: 4 } }) 这种利用微信接口创建的按钮对象赋值给button 的怎么弄 __JS__('wx').createUserInfoButton({}) 可以这样写 前...

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

1015. 文字显示模糊 [ 49%]

...;             _txt.fontSize = 18;             _txt.color="#000000";             _txt.text="是时晋武之世,寺庙图像,虽崇京邑,而方等深经,藴在葱外。护乃慨然发愤,志弘大道。遂随师至西域,游历诸国,外国异言三...

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

1016. 调用创建微信授权按钮时,授权按钮有时候显示有时候不显示 [ 49%]

...  lineHeight: 98*0.45,                     backgroundColor: '#ff0000',                     color: '#ffffff',                     textAlign: 'center',                     fontSize: 16,                  ...

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

1017. [LayaAir3]3.3BETA4-2D动态刚体allow rotation关闭无效 [ 49%]

...正确 关于同为object层,层级设置无效的问题 2.0 drawTexture color参数无效 Dialog关闭时如何向open他的页面传值? 2D场景加载3d人物,3d人物如何实现动态半透明 摄像机跟随刚体移动,刚体出现抖动。 [3.0.7]Sprite的MouseEnable属性无效 Laya...

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

1018. 技术文档svg不可以使用 [ 49%]

...-js-3-4-1   //初始化引擎Laya.init(600, 400, Laya.WebGL);Laya.stage.bgColor = "#ffcccc";var data = "data:image/svg+xml," + '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' +'<foreignObject width="100%" height="100%">' +'<div xmlns="http://www.w3.org/1999/xhtml"...

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

1019. 请教一个图片处理成黑白的问题 [ 49%]

...0, 0.3086, 0.6094, 0.0820, 0, 0, 0, 0, 0, 1, 0]; var grayscaleFilter = new ColorFilter(grayscaleMat); var grayApe = new Sprite(); grayApe.loadImage("../../res/apes/monkey2.png"); Laya.stage.addChild(grayApe); grayApe.filters = [grayscaleFilter];如果一批图片 只要是 grayApe  Sprite  的 子...

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

1020. 运行第一个hello,一直黑屏,没有东西显示出来 如何解决? [ 48%]

....Text(); //设置文本内容 txt.text = "Hello"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5;//描边为5像素 txt.strokeColor = "#FFFFFF"; //设置为粗体 txt.bold = true; //设置文本的显示...

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