大约有 219 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0048 秒)
...在IOS上百分百出现绘制不完全的BUG:如下图 update() { this.updatePowerProgressTest(); } //更新蓄力进度圈 updatePowerProgressTest() { //是否为增加进度条 if (this.isIncPower) { //蓄力速度 this.currentPower += 5; if (this.currentPower >= this.powerTotal) { thi...
来源: Laya_社区 发布时间: 20190909
...引用方式,方便其他类引用 GameMain.instance = this; //加载场景文件 this.loadScene("main_scene.scene"); } setup(){ Laya.SoundManager.playMusic("music/d1.mp3", 1, new Laya.Handler(this, this...
来源: Laya_社区 发布时间: 20200925
...行如下代码:private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = this._sp; }) }之后编译项目 2. 使用iphone手机的safari扫码功能运行项目 3...
来源: Laya_社区 发布时间: 20191215
... constructor() { Laya3D.init(this.width, this.height); Laya.stage.setScreenSize(this.width, this.height); Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.stage.screenMode...
来源: Laya_社区 发布时间: 20200119
dialog.removeSelf is not a function (一个界面)this.ui = new ui.common.PlaneGameInfoDialogUI;。。。(关闭按钮)this.ui.ibtn_close.on(Laya.Event.CLICK,this,this.ui.close);。。。(点击之后)Uncaught TypeError: dialog.removeSelf is not a function....求助大神谢谢啦~~~ 20...
来源: Laya_社区 发布时间: 20170418
官方视频教程中飞机大战 "this.addChild is not a function" IDE Layabox1.7.20.2 beta 版 src/Game.js//var WebGL = laya.webgl.WebGL; //Laya.init(480, 852, WebGL); var Game = (function(){ (function Game(){ Laya.init(480,852); this.bg = BackGround(); Laya.stage.addChild(this.bg); })(); })(); s...
来源: Laya_社区 发布时间: 20181003
warning:Laya.timer.once This variable is not defined. file:////Users/qykings/work/layaGame/src/view/game/logic/actors/actorClass/LocalPlayer.as (2000):warning:Laya.timer.once This variable is not defined. 更新到"1.7.16" mac layaAir 有这问题 win没有 好尴尬 2018-03-20 添加...
来源: Laya_社区 发布时间: 20180320
...TypeError: ctx.getImageData is not a function. (In 'ctx.getImageData(0, 0, this._mbW, this._mbH)', 'ctx.getImageData' is undefined) url:undefined line:67259 column:43 id:1300147 TypeError: ctx.getImageData is not a function. (In 'ctx.getImageData(0, 0, this._mbW, this._mbH)', 'ctx.getImageData' is u...
来源: Laya_社区 发布时间: 20190329
...的操作 private onTexLoad(tex:Laya.Texture2D):void { // let oldTex = this.material.getTexture(); this.material.setTexture(tex); this.plane.active = true; // if(oldTex) // { // MeshPool.destoryRes(oldTex["keyUrl"],oldTex); // } }我所注视的就是上面在laya.3d.js 中出现的那个alert ...
来源: Laya_社区 发布时间: 20190612
...5.2 and section 3.3.2 of the Apple Developer Program License Agreement. This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it...
来源: Laya_社区 发布时间: 20191104