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

大约有 1,122 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)

871. TypeScript环境搭建问题 [ 56%]

...机型都是正常的。 如何识别当前环境是微信小游戏环境 graphics alpha 问题 问题状态 最新活动: 2017-12-11 17:11 浏览: 758 关注: 2 人 Monica • 2017-12-11 17:18 这个提示可以不用管,是你电脑上安装的tsc比VSCode的高。不影响项目编译 Monica ...

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

872. HTMLDivElement innerHTML 特殊字符导致的问题 [ 56%]

....8 json图集加载问题 我这样载入场景问题出现在哪呢?? graphics alpha 问题 关于removechild、destory、clear的问题 问题状态 最新活动: 2017-09-04 11:32 浏览: 1479 关注: 1 人

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

873. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 56%]

...到这个页面所在的位置,在此设置设置一个背景色 bgPage.graphics.drawRect(0, 0, 300, 300, "#ffcccc"); //添加到stage Laya.stage.addChild(bgPage); //实例化MonkeyPageUI页面 var monkeyPage: ui.MonkeyPageUI = new ui.MonkeyPageUI(); //为了能够清楚的看到这个页面所在...

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

874. 项目中音乐资源释放问题 [ 56%]

...景音乐 关于shader中opengl函数问题 event自定义事件的问题 graphics alpha 问题 IDE创建的UI 层级问题 我这样载入场景问题出现在哪呢?? 问题状态 最新活动: 2017-10-10 15:27 浏览: 873 关注: 2 人 YOUYOU777 • 2017-10-10 15:47 我上传了一个demo,正...

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

875. 设置Label的text后立即设置color,color不起作用 [ 56%]

... 浏览: 2203 关注: 2 人 cmxStar • 2021-11-04 17:02 ok 其实只要把Graphics类的clear方法里的cmds.length = 0改为 cmds=null或者replaceTextColor方法里增加 cmds.length==0就行了 Laya_zhang • 2021-11-04 19:26 是的,这个问题下版本就会修复,感谢反馈

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

876. 关于TS index.html导入很多js问题 [ 56%]

...配采用showAll后留白部分的颜色问题 IDE创建的UI 层级问题 graphics alpha 问题 event自定义事件的问题 写了个边缘光的自定义shader,有很多问题,帮忙看一下 如何导入3D模型,以及展示与编辑它 问题状态 最新活动: 2018-06-07 17:26 浏览: ...

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

877. 大项目中遇到的问题,希望版主可以回答一下!谢谢! [ 56%]

... 写了个边缘光的自定义shader,有很多问题,帮忙看一下 graphics alpha 问题 IDE创建的UI 层级问题 mask在layaplayer中有问题 问题状态 最新活动: 2018-04-28 09:46 浏览: 970 关注: 3 人

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

878. 鼠标交互-鼠标交互 [ 56%]

...st Event = Laya.Event, Sprite = Laya.Sprite; let rect = new Sprite(); rect.graphics.drawRect(0, 0, 200, 200, "#D2691E"); rect.size(200, 200); rect.x = (Laya.stage.width - 200) / 2; rect.y = (Laya.stage.height - 200) / 2; Laya.stage.addChild(rect); //增加鼠标事件 rect.on(Event.MOUSE_DOWN, this,...

来源: Laya2.0_示例 发布时间: 20241002

879. 微信web H5 加载微信头像的时候 有些能显示有些不行 [ 56%]

...i.Image this.uFace.loadImage(data.face, 0, 0, 50, 50, Handler.create(this, graphicsImg)) function graphicsImg() { //创建遮罩对象 var cMask = new Laya.Sprite(); //画一个圆形的遮罩区域 cMask.graphics.drawCircle(25, 25, 25, "#ff0000"); //圆形所在的位置坐标 cMask.pos(0, 0); //...

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

880. HtmlDivElement宽度设置错误 [ 56%]

...() { super(); this.init(); } init() { this.bg = new Laya.Sprite(); this.bg.graphics.drawRect(0, 0, 200, 200, '#ccc'); this.addChild(this.bg); this.htmlTxt = new Laya.HTMLDivElement(); this.htmlTxt.style.fontSize = 20; this.htmlTxt.style.width = 200; this.htmlTxt.style.borderColor = '#000'; this.html...

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