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

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

751. 小白请教 为什么我的ts文件里的Laya显示找不到名称“Laya” [ 54%]

...的链接 提交 1 个回复 bpmf_d 赞同来自: class test_HelloLaya { constructor() { //创建舞台,默认背景色是黑色的 Laya.init(1280, 720); var txt = new Laya.Text(); //设置文本内容 txt.text = "Hello Layabox"; //设置文本颜色为白色,默认颜色为黑色 txt.color = "#...

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

752. laya.d3.core.particleShuriKen.module.TextureSheetAnimation [ 54%]

...typeproperty public var type:int类型,0为whole sheet、1为singal row。Constructor DetailTextureSheetAnimation()Constructorpublic function TextureSheetAnimation(frame:FrameOverTime, startFrame:StartFrame) 创建一个 TextureSheetAnimation 实例。 Parameters frame:FrameOverTime — 动画帧...

来源: laya_api 发布时间: 20170929

753. 设置pivot后,精灵位置显示位置不正确 [ 54%]

...位置不正确 // 程序入口 class GameMain { private sp: Laya.Sprite; constructor() { Laya.init(2000, 1500); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" this.sp = new Laya.Sprite(); let width = 660 let height = 420 this.sp.size(width, height) this.sp.pivot(Math.round(width / 2), Math....

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

754. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 54%]

...外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailSphereShape()Constructorpublic function SphereShape() 创建一个 SphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void Parameters b...

来源: laya_api 发布时间: 20170929

755. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 54%]

...外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailSphereShape()Constructorpublic function SphereShape() 创建一个 SphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void Parameters b...

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

756. 弹出提示的对话框用什么来做?(其中有确定和取消选项) [ 54%]

...装包或网络 new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor 问题状态 最新活动: 2017-02-02 01:50 浏览: 1772 关注: 2 人 jason18380447822 • 2016-09-01 15:52 @cuixueying:谢谢。

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

757. laya.d3.core.particleShuriKen.module.shape.HemisphereShape [ 54%]

...外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailHemisphereShape()Constructorpublic function HemisphereShape() 创建一个 HemisphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void ...

来源: laya_api 发布时间: 20170929

758. laya.d3.core.particleShuriKen.module.shape.HemisphereShape [ 54%]

...外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailHemisphereShape()Constructorpublic function HemisphereShape() 创建一个 HemisphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void ...

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

759. 鼠标交互-双指缩放(多点触控) [ 53%]

...让项目开发更高效。let lastDistance = 0; class Interaction_Scale { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, We...

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

760. Uncaught TypeError: tex.once is not a function [ 53%]

...ene undefined 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor 问题状态 最新活动: 2019-06-24 10:22 浏览: 3625 关注: 4 人

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