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

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

311. LayaAir IDE UI编辑器Label怎么使用自己的ttf字体文件? [ 52%]

...骤来操作的.但是font选项那里还是没有我自己生成的字体样式名,请问那里错了吗? freedom6718 • 2018-08-06 15:40 @z624697:自己手动填进去就行了,选项里是不会自动加进去的

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

312. Laya下的图片上传示例(完整版) [ 51%]

...t"); var img:any = Laya.Browser.document.createElement("img"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:0;width:200px;height:100px;background:url(b1.png) no-repeat center;cursor:pointer;"; file.type ="file";//设置类型是file类型。 file.size ="30"; file.accept="image/png/...

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

313. TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 51%]

...方法吗 2.0.0编译报错Cannot find global type 'Array' 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Failed to load resource: net::ERR_FILE_NOT_FOUND Uncaught TypeError: Cannot read property 'props' of undefi...

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

314. 对应不规则的progressbar背景设置九宫格后bar的位置调整无效 该怎么处理? [ 51%]

...思路。 Progress背景跟bar大小相同两张图,如果是可以拉伸样式的图片可以小一些。 不规则边框做成中间镂空的单独图片,放在Progress上面。。。 不用修改引擎里的东西。 但是这样有一个限制,边框不能超出Progress   引擎官方的P...

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

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

... 如果这种效果的话 可以通过  drawLine  来实现 下面 只是样式  变量 写活 应该满足     for(var i=1;i<40;i+=2){         sp.graphics.drawLine(1+(4*i), 58, 1+(4*i)+4, 58, "#ff0000", 3);     }          2017-04-24 1 0 分享 微博 QZONE 微信 cuixueyi...

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

316. LAYA的AS3项目碰见个问题,求解 [ 51%]

...text = names;              ////////以下为:根据参数来定义样式                var itemBasic:Object=ItemData.getItemData(ids);               txts.color = Constants.QUALITY_COLORS[itemBasic.quality];             txts.stroke = Constants.STROKE;         ...

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

317. TypeError: Cannot read properties of null (reading '_$id') [ 51%]

...caught TypeError: Cannot read property 'props' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 laya2.6.0打apk和小游戏都会报_InPool为null Load.loader.getRes返回都是Null 莫名其妙的报...

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

318. Laya中如何实现rotationX的旋转 [ 51%]

...个东西css做的比较好。这个api不可能知道开发者想要什么样式,还是需要自己做 流浪地球Gaara • 2018-07-10 19:21 感谢你的回答,scaleX我试过了,但是达不到仿3D的效果,希望的效果是scaleX在缩小的时候,图片的上边宽减小,这样有...

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

319. 如何从代码中创建UI,progressbar [ 51%]

...,这个是做什么的? 3.我能指定ProgressBar上层显示进度条的样式吗?比如是张图片 2016-07-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 你的报错是由于路...

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

320. Uncaught unknown animationClip version. [ 51%]

...试出现报错Uncaught (in promise) DOMException: play() 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 运行报错 Uncaught Can not find scene:GameView.scene undefined 加载龙骨动画出报错Uncaught getUin...

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