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

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

101. 请教一个图片处理成黑白的问题 [ 78%]

...有一点 ,需求中往往是希望一批图片都变色,比如一个sprite里面的元素都变成灰色,而后在某个时候这个sprite里面的元素都变回彩色,并且这个sprite里面的元素是变化的,有添加和删除 2017-06-15 0 0 分享 微博 QZONE 微信 189*****192 ...

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

102. UI编辑界面中的Graphics(续) [ 78%]

UI编辑界面中的Graphics(续) 添加在Sprite上的Graphics无法获取(但Graphics上有个name属性)?需要改变这个Graphics只能通过Sprite重新draw? 2018-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

103. laya.display.EffectAnimation [ 78%]

...ass EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动...

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

104. laya.ui.DialogManager [ 78%]

...nts Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通...

来源: laya_api 发布时间: 20170929

105. laya.map.GridSprite [ 78%]

...cumentationAll Packages | All Classes | Index | Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properti...

来源: laya_api 发布时间: 20170929

106. laya animation播放图片集合,切换时会闪烁一下 [ 78%]

...下,使用graphics就没个问题,放弃animation,直接使用更换 sprite的graphics,自己封装了类,爱加什么功能自己写。 kura • 2019-03-25 12:17 明显可以看到每切换一下动画,都会闪烁一便 kura • 2019-03-25 12:16 https://andyskaura.github.io/ 简单demo...

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

107. laya.ui.Tree [ 78%]

... Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

来源: laya_api 发布时间: 20170929

108. laya.display.Stage [ 78%]

...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...

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

109. Tween.to 执行失败 [ 78%]

...en.to 执行失败  //使精灵走到鼠标位置 function walkToMousePos(sprite){ console.log(Laya.stage.mouseX) ; console.log(Laya.stage.mouseY) ; console.log(sprite.x) ; console.log(sprite.y) ; var hDir = Laya.stage.mouseX>sprite.x? "right" : "left" ; var vDir = Laya.stage.mouseY>sprite.y?...

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

110. laya.display.FrameAnimation [ 77%]

...sspublic class FrameAnimationInheritanceFrameAnimation AnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 关键帧动画播放类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值...

来源: laya_api 发布时间: 20170929