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

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

131. Sprite-缓存为静态图像 [ 96%]

...peScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_Cache { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = S...

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

132. laya.ui.UIGroup [ 96%]

...Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box UIComponent Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Publ...

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

133. Laya集成Matter.js库layaSprite水平翻转无法显示的bug [ 96%]

Laya集成Matter.js库layaSprite水平翻转无法显示的bug layaair版本:1.7.19.1beta 项目类型:全部(目前测试的有JS和TS) 环境:Win7 x64 问题描述: laya集成matters.js, 1、创建一个sprite,水平翻转sprite(scalex=-1) 2、创建matter.js刚体body,并且设...

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

134. 透明区域点击问题 [ 96%]

透明区域点击问题 var sprite0 = new Sprite(); sprite0.graphics.drawTexture(Loader.getRes("comp/image.png")); sprite0.pos(10, 10); sprite0.mouseEnabled = true; sprite0.name = 'sprite0'; Laya.stage.addChild(sprite0); sprite0.on(Event.CLICK, this, handler_click); 怎么让sp透明区域不可...

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

135. laya.ui.UIGroup [ 96%]

...s Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box Component Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Pub...

来源: laya_api 发布时间: 20170929

136. 绘制图形的BUG [ 96%]

绘制图形的BUG BUG1:package ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"...

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

137. 使用Laya.Pool缓存Sprite在ipone7上测试Sprite数量持续增加 [ 96%]

使用Laya.Pool缓存Sprite在ipone7上测试Sprite数量持续增加   使用Laya.Pool缓存Sprite在iphone7上测试Sprite数量持续增加,用华为v20真机测试Sprite数量维持在稳定的数量。 测试方式:发布微信小游戏,用iphone7和华为v20分别扫码真机测试。  ...

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

138. 使用Laya.Pool缓存Sprite在ipone7上测试Sprite数量持续增加 [ 96%]

使用Laya.Pool缓存Sprite在ipone7上测试Sprite数量持续增加 使用Laya.Pool缓存Sprite在iphone7上测试Sprite数量持续增加,用华为v20真机测试Sprite数量维持在稳定的数量。 测试方式:发布微信小游戏,用iphone7和华为v20分别扫码真机测试。   ip...

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

139. laya.display.Sprite [ 96%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectImplements laya.display.ILayoutSubclasses AnimationPlayerBase, Component, DialogManager, GridSprit...

来源: laya_api 发布时间: 20170929

140. laya.ui.Label [ 96%]

... Events Packagelaya.uiClasspublic class LabelInheritanceLabel UIComponent Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties Property...

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