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

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

31. HTMLDivElement中image标签多次赋值报错 [ 82%]

HTMLDivElement中image标签多次赋值报错 报错信息 代码段(function() { var Stage = Laya.Stage; var HTMLDivElement = Laya.HTMLDivElement; var Browser = Laya.Browser; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cli...

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

32. Laya.util.Ease这个类是用来配合Tween的,可是怎么使用?没有任何资料啊。 [ 82%]

...复 youhong168 赞同来自: shaotianhk backOut () method  public static function backOut(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number开始运动时是朝目标移动,稍微过冲,再倒转方向回来朝着目标。 Parameters  t:Number — 指定当前时间,介于 ...

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

33. 飞机大战源码发微信小游戏提示VM122:1 gameThirdScriptError [ 81%]

...:1 gameThirdScriptError VM122:1 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function at Function.t.__init__ (http://127.0.0.1:62307/game/code.js:1881:1176) at Object.Laya.init (http://127.0.0.1:62307/game/code.js:150:34) at new t (http://127.0.0.1:62307/game/...

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

34. 子弹添加了colliderShape后onUpdate移动,destroy会报错“Cannot read property 'getWorldTransform' of null” [ 81%]

....isFire) { Laya.Mesh.load("fly2/fly3-bullet.lm", Laya.Handler.create(this, function (m) { let bullet = new Laya.MeshSprite3D(m); this.Sn.addChild(bullet); bullet.addComponent(BulletScript); var bulletCollider = bullet.addComponent(Laya.PhysicsCollider); var bulletShape = new Laya.MeshColliderShape()...

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

35. Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 [ 81%]

...加载管理器,使用时注意大小写。 */ //class Laya var ___Laya=(function(){ //function Laya(){} Laya.__init=function(_classs){} Laya.init=function(width,height,__plugins){} Laya.alertGlobalError=function(value){} Laya.enableDebugPanel=function(debugJsPath){} Laya.stage=null; Laya.systemTi...

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

36. autoAnimation报错 [ 81%]

...romise) DOMException: play() 导微信小程序报错window.focus is not a function 2.2.0beta4,微信上动态合批报错. Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 问题状态 最新活动: 2020-07-28 11:19 浏览: 2474 关注: 2 人 王志文 • 2020-07-28 11:21...

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

37. Laya.Pool.getItemByClass 闪退 [ 81%]

...t(type) 调用init方法时候闪退,错误信息是 "fish.init is not a function" "TypeError: fish.init is not a function at Function.CFSprite.reusableFishWithType (file:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/js/common/CFSprite.js:28:14) at GameView.addFinsh (file:///Users/heboyce/Deskto...

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

38. layaAirIDE 打包APK 后 真机运行报错 [ 81%]

...enceError: createApes is not defined i=new RunGame;Laya.stage.addChild(i)}!function(){createApes()}(function(){function i(){this.BG_WIDT ReferenceError: createApes is not defined at BG_WIDTH (http://stand.alone.version/main.min.js:1:149) at eval (http://stand.alone.version/main.min.js:1:162) at eval...

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

39. 微信小游戏IDE加载位图字体,提示错误 [ 80%]

...体,提示错误 错误提示如下:xml.getElementsByTagName is not a function TypeError: xml.getElementsByTagName is not a function     at BitmapFont.__proto.parseFont (http://127.0.0.1:61385/game/code.js:803:17)     at Loader.__proto.onLoaded (http://127.0.0.1:61385/game/code.js:12700:11) ...

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

40. 4、声音无法用loader预加载 ,微信小游戏 [ 80%]

... 小明同学 有空看看我那个错误 wx.getFileSystemManager is not a function;at requestAnimationFrame callback function TypeError: wx.getFileSystemManager is not a function

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