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

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

831. 跟着老师打地鼠游戏写的代码,JS为什么会出错 [ 71%]

...on Game(){ Game.super(this); this.mole=new Mole() //这里会报错 } Laya.class(Game,"Game",_super); return Game; })(ui.GameUI) var GameUI=(function(_super){ function GameUI(){ this.btn_start=null; this.audio=null; GameUI.__super.call(this); } CLASS$(GameUI,'ui.GameUI',_super); var __proto__=GameUI...

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

832. LayaIDE 2.13.0 添加组件菜单无法显示二级继承的子类 [ 71%]

...组件菜单无法显示二级继承的子类 实例代码 export default class View1 extends Laya.Script { }   import View1 from "./View1"; export default class View2 extends View1 { }升级到2.13.0后,在编辑模式属性面板点击【添加组件】按钮,显示的【Code】菜单下只...

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

833. laya.net.Socket [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SocketProperties | Methods | Events | Constants Packagelaya.netClasspublic class SocketInheritanceSocket EventDispatcher Object Socket 封装了 HTML5 WebSocket ,允许服务器端与客户端进行全双工(full-d...

来源: laya_api 发布时间: 20170929

834. 屏幕适配的缩放模式详解(ActionScript-2D基础篇(AS3)-屏幕适配) [ 71%]

....display.Text;     import laya.ui.Image;            public class SmartScale_T {                    //全局文本信息         private var txt:Text;                    public function SmartScale_T()          {        ...

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

835. Sprite-轴心点 [ 71%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_Pivot { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alig...

来源: Laya2.0_示例 发布时间: 20241001

836. laya.d3.math.BoundBox [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class BoundBoxInheritanceBoundBox ObjectImplements laya.d3.core.IClone BoundBox 类用于创建包围盒。 Public Properties PropertyDefined By  max : Vecto...

来源: laya_api 发布时间: 20170929

837. 骨骼动画-多纹理 [ 71%]

...。let mFactory, mArmature, mStartX = 400, mStartY = 500, mCurrIndex = 0; class Skeleton_MultiTexture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeigh...

来源: Laya2.0_示例 发布时间: 20241001

838. laya.d3.core.render.ScreenQuad_API3.0 [ 71%]

...als Only exported Menu Globals "laya/d3/core/render/ScreenQuad" ScreenQuad Class ScreenQuad ScreenQuad 类用于创建全屏四边形。 Hierarchy GeometryElement ScreenQuad Index Constructors constructor Properties _geometryElementOBj Accessors bufferState destroyed drawType indexFormat instanceCou...

来源: Laya3.0_api 发布时间: 20231115

839. LayaAir2.0的GameConfig.ts [ 71%]

...写方式 : module app{ /** * 登录加载界面 * @author Husz */ export class LoadingView extends Laya.View implements small_lib.ILoadingView那么在GameConfig将会报错 , 因为会自动刷新.  除非采用 , 如下: /** * 登录加载界面 * @author Husz */ export default class LoadingVie...

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

840. laya.filters.GlowFilter [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GlowFilterProperties | Methods Packagelaya.filtersClasspublic class GlowFilterInheritanceGlowFilter Filter Object 发光滤镜(也可以当成阴影滤使用) Public Properties Hide Inherited Public Properties Show Inh...

来源: Laya2.0_api 发布时间: 20190513