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

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

51. 物理引擎-Slingshot [ 75%]

...esize); } function initMatter() { var gameWorld = new Sprite(); Laya.stage.addChild(gameWorld); // 初始化物理引擎 engine = Matter.Engine.create( { enableSleeping: true }); Matter.Engine.run(engine); var render = LayaRender.create( { engine: engine, width: 800, height: 600, options: { backgrou...

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

52. laya.d3.core.particleShuriKen.module.GradientDataInt [ 75%]

...radientDataInt() 创建一个 GradientDataInt 实例。 GradientDataInt  add(key:Number, value:int):void 增加整形渐变。 GradientDataInt  clone():* 克隆。 GradientDataInt  cloneTo(destObject:*):void 克隆。 GradientDataIntProperty DetailgradientCountpropertygradientCount:int  [rea...

来源: laya_api 发布时间: 20170929

53. laya.d3.core.particleShuriKen.module.GradientDataInt [ 75%]

...radientDataInt() 创建一个 GradientDataInt 实例。 GradientDataInt  add(key:Number, value:int):void 增加整形渐变。 GradientDataInt  clone():* 克隆。 GradientDataInt  cloneTo(destObject:*):void 克隆。 GradientDataIntProperty DetailgradientCountpropertygradientCount:int  [rea...

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

54. 我用as3调试的matter.js,刚体发生碰撞后不会旋转,我的代码在附件里 [ 74%]

...       engine.world.gravity.y = 2;             Matter.World.add(engine.world, [   ground1,ground2,ground3,ground4]);             Laya.timer.loop(1000, this, add_F);         }         private function add_F():void         {             var rockOption...

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

55. screenMode问题 [ 74%]

...第一次是先设置stage的screenMode为垂直,接着把loginView界面add到stage上,然后登陆成功后,把loginView界面removeSelf,并改变stage的screenMode为水平,然后把loadedView界面add到stage上,但是还是垂直的

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

56. laya.d3.core.particleShuriKen.module.GradientDataVector2 [ 73%]

...ector2() 创建一个 GradientDataVector2 实例。 GradientDataVector2  add(key:Number, value:Vector2):void 增加二维向量渐变。 GradientDataVector2  clone():* 克隆。 GradientDataVector2  cloneTo(destObject:*):void 克隆。 GradientDataVector2Property DetailgradientCountpropertygra...

来源: laya_api 发布时间: 20170929

57. laya.d3.core.particleShuriKen.module.GradientDataVector2 [ 73%]

...ector2() 创建一个 GradientDataVector2 实例。 GradientDataVector2  add(key:Number, value:Vector2):void 增加二维向量渐变。 GradientDataVector2  clone():* 克隆。 GradientDataVector2  cloneTo(destObject:*):void 克隆。 GradientDataVector2Property DetailgradientCountpropertygra...

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

58. laya.d3.core.particleShuriKen.module.GradientDataNumber [ 72%]

...taNumber() 创建一个 GradientDataNumber 实例。 GradientDataNumber  add(key:Number, value:Number):void 增加浮点渐变。 GradientDataNumber  clone():* 克隆。 GradientDataNumber  cloneTo(destObject:*):void 克隆。 GradientDataNumber  getAverageValue():Number 获取平均值。 G...

来源: laya_api 发布时间: 20170929

59. laya.d3.core.particleShuriKen.module.GradientDataNumber [ 72%]

...taNumber() 创建一个 GradientDataNumber 实例。 GradientDataNumber  add(key:Number, value:Number):void 增加浮点渐变。 GradientDataNumber  clone():* 克隆。 GradientDataNumber  cloneTo(destObject:*):void 克隆。 GradientDataNumber  getAverageValue():Number 获取平均值。 G...

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

60. 用 texturepacker .json+.png File [ 72%]

...】input file上传图片,有些安卓机黑屏或卡死,为什么? add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一句代码都会出现这个问题 微信游戏多次加载出现:copyFile:fail the maximum size of the file storage limit is exceeded 问...

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