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

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

461. 最新的ResourceVersion发布以后加载的url不正确 [ 68%]

...sourceVersion.enable(     "version.json?" + Math.random(),     Handler.create(this, this.onVersonLoaded));   然而发布的游戏启动后发现加载失败,查看日志发现加载的URL拼得不对:   它加载使用的路径是一个奇怪的: http://localhost/h5/res/atlas/ui/sharedc...

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

462. Sprite3D添加组件或脚本(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 68%]

...Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //加载相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camer...

来源: Laya2.0_文档 发布时间: 20210714

463. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 68%]

...a.Animation(); this.body.loadAtlas(config[this.type].imgBang, Laya.Handler.create(this, this.onLoad)); this.body.width = config[this.type].width this.body.height = config[this.type].height onLoad(){ Tween.to(this.body, { x: (config[this.type].width / 2) + 10, y: (config[this.type].heightp / 2) + 45 ...

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

464. 小游戏环境下 声音的缓存机制导致更换声音文件失败 [ 68%]

...                 MiniFileMgr.downOtherFiles(url, Handler.create(this, this.onDownLoadCallBack, [url]), url);                 }             }         }     MiniFileMgr.getFileInfo = function (fileUrl) {             var fileNativePath ...

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

465. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 68%]

...tor.panel("Test") export class MyPanel extends IEditor.EditorPanel { async create() { this._panel = await gui.UIPackage.createWidget("editorResources/UI/MyWidget.widget"); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改...

来源: Laya3.0_文档 发布时间: 20241014

466. 骨骼动画-Spine事件 [ 67%]

... "center"); Tween.to(mLabelSprite, { y:mStartY - 200 }, 1000, null,Handler.create(this,playEnd)) } function playEnd() { mLabelSprite.removeSelf(); } })();module laya { import EventData = Laya.EventData; import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Sprite = Laya.Sprite; impo...

来源: Laya_示例 发布时间: 20241119

467. tiledmap有时尺寸不正确 [ 67%]

...图,并显示当前场景 * @param conf 地图的配置信息 */ public create(conf:LevelConf, handler:Handler):void{ this._mLevelConf = conf; this._mCompleteHandler = handler; this._mViewPortX = 0; this._mViewPortY = 0; this._mTiledMap = new TiledMap(); this._mLoadState = ESceneLoadState.eLoadMap...

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

468. 物理引擎,我按照官方例子做的,不知道那里写错了,总是报这个错,大神帮我看下 [ 67%]

...ite = new Sprite(); Laya.stage.addChild(gameWorld); engine = Matter.Engine.create({enableSleeping:true}); Matter.Engine.run(engine); var render = LayaRender.create({engine:engine,container:gameWorld,width:stageWidth,height:stageHeight,options:{wireframes:true,showAngleIndicator:true,showCollisions:t...

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

469. list只能显示一个图片 [ 67%]

...lBarSkin = "comp/hscroll.png"; this.list1.renderHandler = new Laya.Handler.create(this,this.onRenderList); this.list1.selectHandler = new Laya.Handler.create(this,this.onListSelect)设置renderHandler和selectHandler, _proto.onListSelect = function(index){ console.log(index + ' selected'); } _proto....

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

470. 苹果iOS审核被拒Guideline 4.3 - Design [ 67%]

...am. - Once your app is fully compliant, resubmit your app for review. When creating multiple apps where content is the only varying element, you should offer a single app to deliver differing content to customers. If you would like to offer this content for purchase, it would be appropriate to use t...

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