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

大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0068 秒)

1931. ts继承后,代码压缩的问题 [ 54%]

...ror: LayerManager is not a constructor的错误 我看到Laya有一个Laya.class的方法,请问这个能解决这个问题吗 2017-12-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: TS...

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

1932. laya.resource.Texture2D [ 54%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Texture2DProperties | Methods | Constants Packagelaya.resourceClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Bitmap Texture2D 类用于生成2D纹理。 Public Properties Hide Inherited Public...

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

1933. 怎样把一个精灵从父节点完全删除 就是读取不到这个精灵的意思 [ 54%]

... qian 赞同来自: http://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.Sprite#destroy() 看api   2018-01-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 oy2419498011 相关问题 两个对象new了一个相同的...

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

1934. sprite 设置为静态变量后,无法从舞台移除 [ 54%]

...t laya.net.Loader; import laya.utils.Stat; import laya.webgl.WebGL; public class HtmlDemo { private static var sp:Sprite; public function HtmlDemo() { Laya.init(800, 480,WebGL); Stat.show(); sp=new Sprite(); sp.loadImage("background.jpg"); Laya.stage.addChild(sp); Laya.stage.on(Event.CLICK,this,onCl...

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

1935. Android Studio发布apk报错 [ 54%]

...-08 14:03:53.346 18569-18569/com.lightpaw.dietyroad E/MPlugin: Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport 08-08 14:03:53.381 18569-18569/com.lightpaw.dietyroad E/LayaGameEngine: game_plugin_init soPath= jarfile= appcache=/data/user/0/com.lightpaw.dietyroad/ 08-08 14:03:53....

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

1936. Sprite-新手引导 [ 54%]

...ya.Stage; import HitArea = Laya.HitArea; import WebGL = Laya.WebGL; export class Sprite_Guide { private red:Sprite; private guideContainer:Sprite; private tipContainer:Sprite; private guideSteps:Array = [ { x: 151, y: 575, radius:150, tip:"../../res/guide/help6.png", tipx:200, tipy:250 }, { x: 883, ...

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

1937. LayaAir中字符串转xml [ 54%]

...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 老项目类库升级到 LayaAir 2.1.0beta报错! 按官网上的文档 使用LayaNative运行LayaAir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 LayaAir 2.0 TS版编译出错GameConfig...

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

1938. 如何用Tween 给graphics.drawLine 设置缓动 [ 54%]

...scale属性,进行拉伸!package { import laya.display.Sprite; public class LayaAirDemo { private var sp:Sprite; private var endX:Number; private var endY:Number; public function LayaAirDemo() { Laya.init(600,600); sp=new Sprite(); Laya.stage.addChild(sp); endX=0; endY=0; sp.graphics.drawLine(10...

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

1939. UI-Clip [ 54%]

...ya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "../../res/ui/button-7.png"; private clipSkin: string = "../../res/ui/num0-9.png"; private bgSkin: string = "../../res/ui/coutDown.png"; private counter: Clip; private currFrame: n...

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

1940. laya.ani.AnimationPlayer [ 54%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationPlayerProperties | Methods | Events Packagelaya.aniClasspublic class AnimationPlayerInheritanceAnimationPlayer EventDispatcher ObjectImplements laya.resource.IDestroy AnimationPlayer 类用于动画播放器。...

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