大约有 2,416 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0112 秒)
Laya_社区(1456) Laya2.0_文档(592) Laya3.0_文档(82) Laya3.0_api(65) Laya_示例(61) Laya2.0_api(60) laya_api(54) Laya2.0_示例(46)
...vas上面 * * htmlCanvas.toBase64("image/png",0.92,function(base64){//webgl和canvas模式下为同步方法,加速器下是异步方法 * trace(base64);//打印图片base64信息,可以发给服务器...
来源: Laya_社区 发布时间: 20180719
...关于切换图片的问题 class Main{ private plane1:string = "res/plane.png"; private plane2:string = "res/untitled.png"; private img: Laya.Sprite; private flag: boolean = false; constructor() { Laya.init(1000,800); this.img = new Laya.Sprite; this.img.loadImage(this.plane1); Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20180406
...ray = []; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildBy...
来源: Laya_社区 发布时间: 20181112
...用程序实现,可能会困难重重,比如下面这个:  假如你的项目中有这种文字如何处理呢?可能我们想到的是美术出图片。那有没有更简单的方法呢?这里我们选择用svg来进行处理。我们知道在dom元素中用div+css样式来...
来源: Laya2.0_文档 发布时间: 20210715
...组件命名规则命名的资源怎么设置group progress_loadProessBar.png progress_loadProessBar$bar.png 我有两个这样的资源,$bar要怎么设置group,我给progress_loadProessBar 设置了组件 类型是progressBar以后 ,怎么设置group属性,在默认全局属性里面设...
来源: Laya_社区 发布时间: 20180521
...erflow = "scroll"; //文本溢出 this.txtarea.skin = "atlas/comp/textarea.png"; //皮肤 this.txtarea.borderColor = "#f6ff03" //边框颜色 this.txtarea.scrollType = Laya.ScrollType.Vertical; //滚动方式 this.txtarea.vScrollBarSkin = "atlas/comp/vscroll.png"; //滚动条皮肤 } } 开发者注...
来源: Laya3.0_文档 发布时间: 20251010
...quest URL: file:///E:/work/roc/roc_h5/bin/libs/scene/avatar/0000jn_002_2_1.png 正确的 Request URL: file:///E:/work/roc/roc_h5/bin/common/scene/avatar/0000jn_002_2_1.png Request Method: GET Status Code: 200 OK 请问是哪里搞错了吗 如何去掉错误的那次加载 附件 : --> 2017...
来源: Laya_社区 发布时间: 20170510
...unHit的使用疑问 官方提供的进度条示例 只能设置progress.png的九宫, 里面的progress$bar.png 无法设置,然而拉长以后效果简直无法直视 引擎示例里的3d场景是如何获得的? 例如停车场那个场景, .ls 格式文件可用.lh格式文件替代否...
来源: Laya_社区 发布时间: 20170116
... //加载图片" img.loadImage("/res/atlas/game/bg.png",50,50,130,35); I:\MyDream\Dream\bin-debug\h5\res\atlas\game\bg.png 这个是图片地址 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20170307
...r shakePic = new Sprite(); shakePic.loadImage("../../res/inputDevice/shake.png"); Laya.stage.addChild(shakePic); } function showConsoleText() { console = new Text(); Laya.stage.addChild(console); console.y = picH + 10; console.width = Laya.stage.width; console.height = Laya.stage.height - console.y;...
来源: Laya_示例 发布时间: 20260303