大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0074 秒)
...ods load Methods load load(task: ILoadTask): Promise<ParticleTemplate2D> Implementation of IResourceLoader.load Defined in laya/particle/ParticleTemplate2DLoader.ts:7 Parameters task: ILoadTask Returns Promise<ParticleTemplate2D> Globals "laya/particle/ParticleTemplate2DLoader" ParticleT...
来源: Laya3.0_api 发布时间: 20231115
...项目(以AS语言为例,JS/TS同理) b、项目面板右键->新建->页面/场景(ExpandPage) c、在舞台拖拽一个按钮(可以设置成自己喜欢的样式),并在项目面板右键->新建->脚本(附加脚本Btn) 这时候会在项目面板生成一...
来源: Laya_社区 发布时间: 20161014
... Utils.parseXMLFromString=function(value){ var rst; value=value.replace(/>\s+</g,'><'); rst=(new DOMParser()).parseFromString(value,'text/xml'); if (rst.firstChild.textContent.indexOf("This page contains the following errors")>-1){ throw new Error(rst.firstChild.firstChild.textContent...
来源: Laya_社区 发布时间: 20180103
...3 23:19 laya.core.js line 13106 if (tCacheType === 'bitmap' && (w > 2048 || h > 2048)) { console.warn("cache bitmap size larger than 2048,cache ignored"); _cacheStyle.releaseContext(); _next._fun.call(_next, sprite, context, x, y); return; } 就是这个 w > 2048 导致 ...
来源: Laya_社区 发布时间: 20180713
...版本使用的时候,index.html下文件的加载顺序是 matter.js -> laya.js(引擎文件) -> matter-RenderLaya.js(渲染器) -> 游戏文件。你要是用as语言,编译时的参数要加上outlaya=true,这样会把引擎和游戏逻辑编译成两个文件,不加会合在...
来源: Laya_社区 发布时间: 20161226
...加载ttf字体成功,在index.html中我是这么写的 <style> @font-face { font-family: yy; src: url("yy.ttf") } </style> 但是打包ipa在iphone上运行显示“不支持style”“不支持div”等等 请...
来源: Laya_社区 发布时间: 20170523
...部分时的处理方式 截图为Laya官网案例的 <<梦幻家园>> 如图所示 树的层级在风车的后面点击红色箭头位置效果是点击到风车 点击蓝色箭头位置效果是点击到树 不点击到风车 求一个思路 改怎么实现这种点击操作...
来源: Laya_社区 发布时间: 20170411
...ame: string, len: number = 8): void { let aniFrames: Array<string> = []; for (let i: number = 0; i < len; i++) { aniFrames.push("resources/UI/role/atlasAni2/139x/" + name + i + ".png"); } Laya.Animation.createFrames(aniFrames, name); } 附件 : --> ...
来源: Laya_社区 发布时间: 20230713
...hods load wrapTex2D Methods load load(task: ILoadTask): Promise<Texture> Implementation of IResourceLoader.load Defined in laya/loaders/TextureLoader.ts:241 Parameters task: ILoadTask Returns Promise<Texture> wrapTex2D wrapTex2D(task: ILoadTask, tex2D: Texture2D): Texture Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...EQ==/lib/arm64/liblayaair.so (laya::imp_JS2CFunc<v8::Local<v8::Value> (laya::JSTextMemoryCanvas::*)(char const*, int, int, int)>::call(v8::FunctionCallbackInfo<v8::Value> const&)+476) [arm64-v8a] 4 #03 pc 0000000000005590 /data/app/com.gemclash.towerdefense.gp-nL3Za3jIt5tpqzSu...
来源: Laya_社区 发布时间: 20201020