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

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

21. 怎么加载网络上的图片 [ 61%]

...2019-06-11 15:37 loadUrlImage():void{ let img = new Laya.Image(); Laya.URL.basePath = "http://10.89.20.32:8081/"; Laya.loader.load("game/texture.png",Laya.Handler.create(this,this.loadOver)); } loadOver():void{ let res = Laya.loader.getRes("game/texture.png"); console.l...

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

22. laya.ani.swf.MovieClip [ 60%]

...Bounds方法获取。设置为true,对性能有一定影响。 Sprite  basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生...

来源: laya_api 发布时间: 20170929

23. laya.ani.swf.MovieClip [ 60%]

...Bounds方法获取。设置为true,对性能有一定影响。 Sprite  basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生...

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

24. 粒子释放问题 [ 59%]

...e = "showall"; Laya.stage.bgColor = "#232628";   Stat.show();   Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })();   function onAssetsLoaded(settings) { sp = new Particle2D(settings); sp.emitter.start()...

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

25. 求HTTP相关的文档或者例子谢谢了 [ 59%]

...档帮助 希望Laya3D的入门提供一个unity的项目例子 Laya.URL.basePath 相关 .bat脚本能调用layaIDE的相关功能吗? layaNative 接入SDK 用marketName 这种方式太绕了,官方能出个文档或者DEMO吗? 问题状态 最新活动: 2015-12-18 12:59 浏览: 2507 关注: 2...

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

26. viewport 的用法 [ 54%]

...法疑问 请问关于遮罩的用法,在哪块可以找到? Laya.URL.basePathLaya.loader.load用法 const 用法 关于几种文本的区别与用法 能否恢复Animation.getGraphicBounds在1.6时的用法 关于__JS__的用法有没有相关教程或者例子链接 贝塞尔用法 Laya.Poo...

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

27. 粒子在webgl情况和canvas情况存在显著差异,请看图 [ 54%]

...aleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.URL.basePath += "../../"; Laya.loader.load("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { data = { "minStartColor": { "0": 1, "1": 0, "2": 0, ...

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

28. laya.ani.swf.MovieClip_API3.0 [ 53%]

...nstructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize basePath hitTestPrior interval loop mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed display...

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

29. oppo小游戏修改逻辑发布不生效,且包体包含资源太大 [ 49%]

...效。删除了手机里面的rpk包也不行。 我在main.ts设置了url.basepath,按理说应该是去读的服务器资源,可是我上传到服务器也不生效。 还有rpk包打出来是包含了所有资源,包体太大,oppo那边要求首包8M以内。这个要怎么剥离? 附...

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

30. Laya.Pool用法 [ 43%]

...法疑问 请问关于遮罩的用法,在哪块可以找到? Laya.URL.basePathLaya.loader.load用法 const 用法 关于几种文本的区别与用法 能否恢复Animation.getGraphicBounds在1.6时的用法 关于__JS__的用法有没有相关教程或者例子链接 贝塞尔用法 Matrix4x...

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