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

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

891. 画了一个封闭的曲线,获取鼠标点击处的像素,为何坐标对不上导致拿不到正确位置的Texture? [ 62%]

...坐标对不上导致拿不到正确位置的Texture? package { import laya.display.Sprite; import laya.display.Stage; import laya.events.Event; import laya.resource.HTMLCanvas; import laya.resource.Texture; import rain.core.StageReferance; public class Main { private var _view:Sprite; public func...

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

892. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 62%]

...何做的指教一二   现附上代码望各位指点一二:      Laya.init(1334, 750, WebGL);     Laya.stage.scaleMode = Stage.SCALE_FIXED_AUTO;     Laya.stage.alignV = Stage.ALIGN_MIDDLE;     Laya.stage.alignH = Stage.ALIGN_CENTER;     Laya.stage.bgColor = '#0000ff';   ...

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

893. laya.ui.UIGroup_API3.0 [ 62%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/UIGroup" UIGroup Class UIGroup Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实...

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

894. QQ小游戏,Laya.MiniAdpter.nativefiles 报错 [ 62%]

QQ小游戏,Laya.MiniAdpter.nativefiles 报错 Laya.MiniAdpter.init(); Laya.MiniAdpter.nativefiles = [ "res/design_data",   MAC  Laya 2.5,qq模拟器V0.1.29-beta56 上面的代码发布qq小游戏后在模拟器里面报错,检查了lib里面已经有laya.qqmini.js,貌似好像找不到Mi...

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

895. 关于graphics._saveToCmd的问题 [ 62%]

...的绘制给清理掉。代码如下:   // 程序入口 import Sprite = Laya.Sprite; import Stage = Laya.Stage; class GameMain{     private sp:Sprite;     constructor()     {         Laya.init(600,400);         this.sp = new Laya.Sprite();         Laya.stage.addChild(this.sp); ...

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

896. [laya3d 2.0.0beta2]destroy带有PhysicsCollider组件的Sprite3D对象时报错 [ 62%]

[laya3d 2.0.0beta2]destroy带有PhysicsCollider组件的Sprite3D对象时报错 laya3d示例项目,在box上附加一个PhysicsCollider组件,然后调用box的destroy函数,报错。报错信息如下: 工程见附件。 附件 : --> crash.zip 2018-09-26 添加评论 免费帖 --> 分享 微...

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

897. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 62%]

... > this.osizex && this.tsizez > this.osizez) { var eat = new Laya.Vector3(0, 0.5, 0);//龙卷风方法直接上升 other.owner.transform.translate(eat,true,false); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._own...

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

898. 如何使得出的Android包中,点击按钮能用系统默认浏览器打开指定网页? [ 62%]

...定网页?   文档中给的例子,是无继承的类。https://ldc.layabox.com/doc/?nav=zh-as-7-2-3 而想实现,Android系统中打开浏览器访问网站,就需要 Intent intent = new Intent();         intent.setAction("android.intent.action.VIEW");         Uri content_url = Uri...

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

899. laya.ui.FontClip_API3.0 [ 62%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/FontClip" FontClip Class FontClip 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可...

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

900. laya.ui.AdvImage_API3.0 [ 62%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/AdvImage" AdvImage Class AdvImage 广告插件 author 小松 date -2018-09-19 Hierarchy Image AdvImage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouse...

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