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

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

571. Sprite-容器 [ 45%]

...ate); } animate() { this.apesCon.rotation += 1; } } new Sprite_Container();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图...

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

572. 【LayaAir库编译问题】 [ 45%]

...噜娃 • 2018-07-12 19:52 已经找到问题了。LayaPublish.as3proj和module.def中源文件的引用路径是错误的。已经在github创建了Pull requests。 Laya_Aaron • 2018-07-12 20:54 @呼噜娃:ok,有问题尽管问,肯定是重视的,问题太多,人员少,敬请谅解 呼...

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

573. Sprite-容器 [ 45%]

...p(1, this, animate); } function animate(e) { apesCtn.rotation += 1; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图...

来源: Laya_示例 发布时间: 20241001

574. 缓动-简单的Tween [ 45%]

....stage.addChild(character); return character; } } new Tween_SimpleSample();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Browser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_SimpleSample { constructor() { // 不支持WebGL时...

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

575. 关于graphics.drawPath手机端和PC端不一致的问题 [ 45%]

...一个圆,然后输入以下代码。 以下是ts文件的全部代码。module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import WebGL = Laya.WebGL; import Event = Laya.Event; export class Sprite_DrawShapes { private sp: Sprite; constructor() { // 不支持WebGL时自动切换...

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

576. 2.0.0beta: 模型贴图不显示+点击事件穿透+其他 [ 45%]

...018-10-12 21:06 ghj 流闻名 • 2018-10-12 21:06 发布微信小游戏:module "code.js" is not defined

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

577. ios打包单机版本问题,显示conchShader找不到和Status bar could not find cached time string image. 然后直接黑屏!!!!!! [ 45%]

...                                      .particleShuriKen.module.shape.SphereShape",e);var n=t.prototype;return n._getShapeBoundBox=function                                                            ReferenceError: ConchShader is not defined       ...

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

578. 文本-位图字体 [ 45%]

...idth >> 1, Laya.stage.height - txt.height >> 1); } } new Text_BitmapFont();module laya { import BitmapFont = Laya.BitmapFont; import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Text_BitmapFont { pr...

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

579. 文本-自动调整文本尺寸 [ 45%]

...CAL\n" + "A POWERFUL HTML5 ENGINE ON FLASH TECHNICAL"; return text; } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_AutoSize { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550,...

来源: Laya_示例 发布时间: 20241001

580. 性能测试-虫子(慎入) [ 45%]

...height; maggot.pos(x, y); } tick += 0.1; } } new PerformanceTest_Maggots();module laya { import Sprite = Laya.Sprite; import Browser = Laya.Browser; import Handler = Laya.Handler; import Stat = Laya.Stat; import Rectangle = Laya.Rectangle; import WebGL = Laya.WebGL; export class PerformanceTest_Magg...

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