大约有 726 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya_社区(429) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(31) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(7)
...一个圆,然后输入以下代码。 以下是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
...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_示例 发布时间: 20260303
...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_示例 发布时间: 20260303
...018-10-12 21:06 ghj 流闻名 • 2018-10-12 21:06 发布微信小游戏:module "code.js" is not defined
来源: Laya_社区 发布时间: 20181012
... .particleShuriKen.module.shape.SphereShape",e);var n=t.prototype;return n._getShapeBoundBox=function ReferenceError: ConchShader is not defined ...
来源: Laya_社区 发布时间: 20180428
...log("进度:" + Math.floor(value * 100) + "%"); } } new UI_ProgressBar();module laya { import Stage = Laya.Stage; import ProgressBar = Laya.ProgressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ProgressBar { private progressBar: ProgressBar; constructor() { // 不...
来源: Laya2.0_示例 发布时间: 20260303
...n animateFrameRateBased() { rotateFrameRateBasedText.rotation += 1; } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_Interval { private rotateTimeBasedText: Text; private rotateFrameRateBasedText: Te...
来源: Laya_示例 发布时间: 20260303
...高人知识咋回事?代码如下: /**Created by the LayaAirIDE*/ module view { export class Guide extends ui.GuideUI { constructor() { super(); // 创建Video元素 let videoElmt: any = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElmt); // 设置Video元...
来源: Laya_社区 发布时间: 20180802
...FUL HTML5 ENGINE ON FLASH TECHNICAL"; return text; } } new Text_AutoSize();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,...
来源: Laya2.0_示例 发布时间: 20260303
...e); } function animate(e) { ape1.rotation += 2; ape2.rotation -= 4; } })();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_NodeControl { private ape1: Sprite; private ape2: ...
来源: Laya_示例 发布时间: 20260303