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

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

211. laya.ani.bone.Skeleton [ 48%]

...agmove拖动中调度。Sprite dragstart开始拖动后调度。Sprite  label自定义事件。Skeleton mousedown在显示对象上按下后调度。Sprite mousemove鼠标在对象身上进行移动后调度Sprite mouseout鼠标离开对象后调度。Sprite mouseover鼠标经过对象后调...

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

212. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 48%]

...this.getComponent(LoveControl);  //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame();  //点击重置按钮,重新开始 this.button_reset.on(Laya.Event.CLICK, this, this.onClickReset);  let partPath = "res/aixin_bao....

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

213. 分享:使用 Chart.js 创建图标 [ 47%]

...// 初始化舞台 Laya.init(400,400); // 图标数据 var data:Object = { labels: [ //最上方矩形的标签提示和颜色设置 "Red", "Blue", "Yellow" ], datasets: [ { data: [300, 50, 100],//所占整个扇形的比率,以及分割份数 backgroundColor: [ //默认的饼图背景色 "#FF6384...

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

214. 微信小游戏利用开放域好友关系链做排行榜 [ 46%]

...:/wxdemo/demo-main/src/myOpenDataContext 5.主域这边代码: import Label = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader;  class GameBootstrap{      public constructor(){         this.init();     }      private init():void{         //初...

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

215. emoji表情文字乱码 [ 45%]

...直居中 请问 在LayaAir中怎么显示和隐藏文字? Morn UI中的Label文字颜色显示不正确 文本显示错误,多个文字被不相关的同一个文字替换了,如下图 laya引擎在3D中如何在人物头顶加上文字(对话框)? 官网文档真的太垃圾了了,...

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

216. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 45%]

...:给文本组件设置位图字体 我们分别在场景中创建Text、Label、TextInput,三个组件, 这几个文本组件,正常情况下都是使用的是系统字体,由于我们已在IDE里注册了位图字体,所以就可以直接为这几个组件设置位图字体。 分别点...

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

217. laya.display.Animation_API3.0 [ 43%]

...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...

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

218. Button属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 43%]

...Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?...

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

219. Button属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 43%]

...Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } new GameMain(); ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/C...

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

220. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 42%]

...ton相关的属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } } ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.h...

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