大约有 1,852 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0269 秒)
Laya_社区(1125) Laya3.0_api(242) Laya2.0_文档(103) Laya2.0_示例(94) Laya_示例(91) Laya2.0_api(82) laya_api(76) Laya3.0_文档(39)
...= this._boll1.addComponent(laya.physics.BoxCollider); box.height = 60; box.width = 28; //添加刚体 this._boll1.addComponent(Laya.RigidBody); //创建挡板 this.createPanel(); } private createPanel():void { let panel:Laya.Sprite = new Laya.Sprite(); panel.graphics.drawRect(0,100,100,20,0xffffff);...
来源: Laya_社区 发布时间: 20190428
...gh name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY animationName blendMode cacheAs components currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize externalSkins filters gl...
来源: Laya3.0_api 发布时间: 20231115
...引擎初始化方式有关; ABC • 2021-10-18 20:09 Laya.init(Browser.width, Browser.height, Laya.WebGL);采用WebGL初始化,骨骼动画就无法完全置灰; ABC • 2021-10-18 20:10 Laya.init(Browser.width, Browser.height)这种方式初始化,正常的 ABC • 2021-10-18 20:17 WebGL...
来源: Laya_社区 发布时间: 20211018
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize...
来源: Laya3.0_api 发布时间: 20231115
...; var texture = Laya.loader.getRes(picturePath); picturePath.pivot(texture.width / 2, texture.height / 2); picture.x = Laya.stage.width / 2; picture.y = Laya.stage.height / 2; picture.scale(cardScaleValue, cardScaleValue, true); picture.on(Event.MOUSE_DOWN, this, onStartPicture(Picture); } function ...
来源: Laya_社区 发布时间: 20181022
...INGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize effectClass effectData filters globalRotatio...
来源: Laya3.0_api 发布时间: 20231115
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize...
来源: Laya3.0_api 发布时间: 20231115
...分享 微博 QZONE 微信 kezhiyu 赞同来自: <style>#game_canvas{width:100;heigth:L100%}<style> 请先确保这个100%可以覆盖全屏,现在假如手机只有320, 520 <canvas width=”640“, heigth="1040" id="game_canvas"></canvas> 在游戏里应该是Laya.stage.se...
来源: Laya_社区 发布时间: 20180601
...graphics.drawCircle(0, 0, 350, null, "#ff0000", 4); sprite.pivotX = sprite.width * 0.5; sprite.pivotY = sprite.height * 0.5; sprite.x = this.width * 0.5; sprite.y = this.height * 0.5; this.addChild(sprite); Laya.Tween.to(sprite, {scaleX:1.5, scaleY:1.5, alpha:0}, 5000); 2018-07-08 添加评论 免...
来源: Laya_社区 发布时间: 20180708
...h.random() / 20), sy = 1.0 + (Math.random() / 20), stars = [], w = Browser.width, h = Browser.height, slideX = w / 2, slideY = h / 2, speedInfo; class PIXI_Example_04 { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // ...
来源: Laya2.0_示例 发布时间: 20241119