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

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

511. 图片加载问题 [ 64%]

图片加载问题 var s:Sprite = new Sprite; s.loadImage("res/soil.png"); Laya.stage.addChild(s); chrome报错:Access to Image at 'file:///E:/study/LayaAirStudy/bin/h5/res/soil.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed acces...

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

512. 其他引擎的Demo-Example_23 [ 64%]

...BG.jpg"); Laya.stage.frameLoop(1, this, this.animate); } animate() { const Sprite = Laya.Sprite, Point = Laya.Point; let laser; if (tick > frequency) { tick = 0; // iterate through the dudes and update the positions laser = new Sprite(); laser.loadImage("res/pixi/laser0" + ((type % 5) + 1) + ".png")...

来源: Laya2.0_示例 发布时间: 20251209

513. laya.ui.CheckBox [ 64%]

...agelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...

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

514. 如何实现图片的没有像素部分点击无效? [ 64%]

...itArea来实现,至于你说的不规则图形的话,你可以用添加sprite的方法试试 2017-11-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 HummerMan 相关问题 微信关系链:LayaAir引擎针对微信小游戏好友...

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

515. 转盘界面用tween旋转图片过程中存在点击穿透 [ 64%]

...被折叠 要回复问题请先登录 发起人 问题不大 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 请问LayaAir中如何使图片以圆形的方式显示? Dialog:屏蔽点击Dialog之外的区域关闭弹框 缓动Tween能用在3D物体或者特效上面吗...

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

516. 材质的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 64%]

...我们可以通过它们来获取模型上的材质。 ​ **Tips**:MeshSprite3D模型中为meshRenderer,SkinnedMeshSprite3D模型中为skinnedMeshRenderer。 ###### 这两个类多是一些继承自'父类'的共有的接口,可以查看'父类' **BaseRenderer** 的API([API地址](https://l...

来源: Laya2.0_文档 发布时间: 20210715

517. fillTexture使用问题 [ 64%]

fillTexture使用问题 sprite使用drawTexture是可以正常使用的,但是用fillTexture时无任何效果。 class Map extends laya.display.Sprite { static width: number = 1188; static height: number = 594; constructor() { super(); Laya.loader.load("res/images/map_01.png", Laya.Handler.creat...

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

518. laya.ui.MoreGame [ 64%]

...ts Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarc...

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

519. laya.ui.Radio [ 64%]

... Packagelaya.uiClasspublic class RadioInheritanceRadio Button UIComponent Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当...

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

520. 请问2D怎么做镜头拉近、拉远的效果?对Sprite进行缩放不是我想要的。 [ 64%]

请问2D怎么做镜头拉近、拉远的效果?对Sprite进行缩放不是我想要的。 不希望缩放根节点的,否则全局坐标会变化,会扰乱正常的逻辑。 有没有类似相机缩放的接口? 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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