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

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

411. [含Demo]Laya2.0.1出包微信小游戏Android黑屏 expected Number(uniform4f) [ 75%]

... requestAnimationFrame callback function Error: expected Number(uniform4f)<div class="eruda-json eruda-hidden"></div> at e.value (wagame://WAGameVConsole.html:27576:37881) at new e (wagame://WAGameVConsole.html:27576:36645) at t.value (wagame://WAGameVConsole.html:27576:32217) at t.value...

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

412. 项目做了一周.然后打不开了.怎么办? [ 75%]

...E_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:372:18) at Server.<anonymous> (E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:343:17) at Object.onceWrapper (events.js:290:19) at emitNone (events.js:86:13) at Server.emit (events.js:185:7) at emitCloseNT (ne...

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

413. laya绘制图形进行缩放的时候有问题 [ 75%]

..., 70, 35, 70, -35], cfg.color, "#000000", 3 ); } public static TiltedCube(sp: Laya.Sprite, cfg: any) { sp.graphics.drawPoly( 0, 0, [-75, -35, -85, 35, 75, 35, 85, -35], cfg.color, "#000000", 3 ); } public static ShotDiamond(sp: Laya.Sprite, cfg: any) { sp.graphics.drawPoly(0, 0, ...

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

414. html固定宽高,设置垂直居中没有效果。只有水平居中才生效。看了下源码,感觉在updatePos函数里的算法不对 [ 75%]

....align = "center"; //水平居中 然后 html.innerHTML = "<span style='color: #cfd4ff;font-size: 30px'>感叹号</span>"; 显示的结果是这句话只水平居中没有垂直居中。 调试的时候,在Layout.layout(this),跳进去 在Layout._multiLineLayout(e...

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

415. 请问使用HTMLDivElement,<span>标签如何支持style = "visibility:hidden"? [ 75%]

请问使用HTMLDivElement,<span>标签如何支持style = "visibility:hidden"? (function() {     var Stage             = Laya.Stage;     var HTMLDivElement    = Laya.HTMLDivElement;     var HTMLIframeElement = Laya.HTMLIframeElement;     var Browser           = Laya.Brow...

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

416. 新人求助!FD为什么会出现这个问题 [ 75%]

... Could not compile because the fcsh process could not be started. Build halted with errors (fcsh). INITIALIZING: Failed, unable to run compiler Done(1) 还有为什么我改了文档类 但是入口还是默认那个? 我就改了 <compileTargets> <compile path="src\LayaSample.as" /> &...

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

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

...ya.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/jpg";//设置文件...

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

418. 关于jsfile中JS标签自动生成的问题 [ 75%]

...的JS文件往往是写在src目录中,这样,在INDEX.HTML中会在<!--jsfile--startTag-->中生成对应的JS的<script>标签,这样挺不错的。 但是有时候项目中要有多个页面的时候就不知道咋办了。 比如,我有a.js  b.js  c.js  d.js 4个JS文件...

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

419. 新的安卓闪退 [ 75%]

...nSTBrLpuwmUdM8n0CAtog==/lib/arm64/liblayaair.so (v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)+40) [arm64-v8a] 4 #03 pc 000000000043f9f4 /data/app/com.mylafe.game.handsomecat-HnSTBrLpuwmUdM8n0CAtog==/lib/arm64/liblayaair.so (laya::JSObjBaseV8::ReleaseRefArray()+92) [arm64-...

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

420. 1.9LayairIDE创建的微信小游戏示例运行报错 [ 75%]

...js:1     at VM42 game.js:4     at require (VM32 WAGame.js:1)     at <anonymous>:1:1     at HTMLScriptElement.scriptLoaded (<anonymous>:18:21)     at HTMLScriptElement.script.onload (<anonymous>:30:20) (anonymous) @ code.js? [sm]:1 require @ VM32 WAGame.js:1 (anonymous) @ ...

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