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

大约有 282 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0035 秒)

121. 同步龙骨插槽动画方案 [ 73%]

同步龙骨插槽动画方案 Laya Ver2.1.1   export class MSketon {      private mFactory: Laya.Templet;     public mArmature: Laya.Skeleton     private _handler: Laya.Handler;      constructor(url: string, handler: Laya.Handler, aniMode: number = 0) {     ...

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

122. [LayaAirIDE3]2d相机打包后问题 [ 73%]

...stick } from "./Joystick"; import { Player } from "./Player";  const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {     @property({ type: Laya.Sprite })     public player: Laya.Sprite;      @property({ type: Laya.Sprite })     public joystick: Laya.Spr...

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

123. laya.maths.Rectangle [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区...

来源: laya_api 发布时间: 20170929

124. laya1.8的字体 显示不全 [ 72%]

...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: class TextRender getFontSizeInfo 函数,最后部分    var xoff:int = Math.max( orix - pixelBBX[0], 0);    var yoff:int = Math.max( oriy - pixelBBX[1], 0);    var bbxw:int = pixelBBX[2] - pixelBBX[0];    var bbxh:int ...

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

125. 请问这是原因? [ 72%]

...s.Browser; import laya.webgl.WebGL; import laya.wx.mini.MiniAdpter; public class LayaSample { public var sprite:Sprite = new Sprite(); public function LayaSample() { //初始化引擎 MiniAdpter.init(); Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor...

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

126. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 72%]

... import laya.display.Sprite;     import laya.ui.Image;     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640,WebGL);              var image:Image = new ...

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

127. laya.maths.Rectangle [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区...

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

128. 颜色滤镜 差值变化 [ 72%]

.../ module touch {     /**      * 颜色工具类      */ export class ColorTool { private _targetsValue: number = 16777215; private _targetsLastValue: number = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool = null; private targetsFilter: Laya.Col...

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

129. 文字设置自动大小和字体后显示切边。 [ 72%]

...请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: class TextRender getFontSizeInfo 函数,最后部分    var xoff:int = Math.max( orix - pixelBBX[0], 0);    var yoff:int = Math.max( oriy - pixelBBX[1], 0);    var bbxw:int = pixelBBX[2] - pixelBBX[0];    var bbxh:int ...

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

130. [LayaAirIDE3]咋么实现鼠标点击角色移动 [ 72%]

...确实难以判断 ZmySir • 2025-12-22 15:40 @LayaAir小牛:const { regClass, property } = Laya; @regClass() export default class iceMonster extends Laya.Script { declare owner: Laya.Sprite; /** 用于兜底的 Animator2D(可选) */ private _animator: Laya.Animator2D; /** 承载 .mc 的动画...

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