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

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

321. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 87%]

...在B 上面呢?(怎么感觉这句话有点污。。。。) 1、A的X轴 大于 B的X轴 2、A的X轴 小于 (B的X轴 + B的宽度) 3、A的Y轴 大于 B的Y轴 4、A的Y轴 小于 (B的Y轴 + B的高度) 1,2,4点都很好理解  我这里讲一下第三点 如果A的Y轴不大...

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

322. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 87%]

...; import Const from "../Const"; import UIMain from "../ui/Game/UIMain";  export default class GameWnd extends BaseWin {     public view: UIMain;     /** 角色 */     private character: Laya.Sprite     /** 角色刚体*/     private rig: Laya.RigidBody     /** 医疗包*/     private ...

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

323. laya.display.cmd.DrawEllipseCmd_API3.0 [ 87%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawEllipseCmd" DrawEllipseCmd Class DrawEllipseCmd Hierarchy DrawEllipseCmd Index Properties fillColor height lineColo...

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

324. getimagedata直接调用无法获取有效像素问题 [ 87%]

...要先 c= Laya.stage.drawToCanvas(720,1280, 0,0) 2 然后 调用 t = new Trxture(c); t.getPixels(0,0, 720,1280) 希望官方对这种比较晦涩的的东西做一些说明,不然找来找去太麻烦了 分割线 ------直接调用getimagedata 是永远得不到有效数据的(像素数据都...

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

325. 【简单跑酷--JS版】---Lv.3 添加地板 [ 87%]

...tion(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //背景 this.bg = null; Floor.__super.call(this); } //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; _proto.init = function(){ //如...

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

326. laya.utils.StatUI_API3.0 [ 87%]

Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/StatUI" StatUI Class StatUI 显示Stat的结果。由于stat会引入很多的循环引用,所以把显示部分拆开 author la...

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

327. laya.display.cmd.DrawRectCmd_API3.0 [ 87%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawRectCmd" DrawRectCmd Class DrawRectCmd 绘制矩形 Hierarchy DrawRectCmd Index Properties fillColor height lineCol...

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

328. laya.maths.Vector3_API3.0 [ 87%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors ...

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

329. drawPath的绘制问题 [ 87%]

...oveTo,768,0,lineTo,768,448,closePath显示成了 绘制的代码为: for(x = 0 ; x < gridWidthPx ; x += gridPx) { paths.push(["moveTo" , x , 0]); paths.push(["lineTo" , x , gridHeightPx]); } paths.push(["closePath"]); gridShape.graphics.drawPath(0 , 0 , paths , {fillStyle:"#0000ff"});能麻烦...

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

330. laya.display.Sprite [ 87%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示...

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