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

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

741. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 61%]

...(runGame); var sp = new laya.display.Sprite(); sp.x = 100; sp.y = 100; var texture = Laya.loader.getRes('player/chara_01.png'); sp.graphics.drawTexture(texture, 0, 0, 96, 96); Laya.stage.addChild(sp); console.log(texture); } 这里大家可能有疑问 为什么路径地址是”player/chara_01.png...

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

742. 二进制图片(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 61%]

...]),null,Loader.IMAGE); } private function showImg(url:String):void { var t:Texture = Laya.loader.getRes(url); var ape:Sprite = new Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200, 0); } ``` 第三种我们直接创建一个纹理来 ```java private function completeH...

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

743. laya.ui.HScrollBar_API3.0 [ 61%]

... scrollSize showButtons sizeGrid skewX skewY skin stage staticCache target texture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance...

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

744. laya.ui.VScrollBar_API3.0 [ 61%]

... scrollSize showButtons sizeGrid skewX skewY skin stage staticCache target texture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance...

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

745. laya.display.Stage_API3.0 [ 61%]

...de scaleX scaleY scene screenMode scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy...

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

746. laya.ui.Button_API3.0 [ 61%]

...selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLate...

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

747. laya.ui.CheckBox_API3.0 [ 61%]

...selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLate...

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

748. laya.ui.ColorPicker_API3.0 [ 61%]

...X scaleY scene scrollRect selectedColor skewX skewY skin stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains cu...

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

749. laya.ui.ProgressBar_API3.0 [ 61%]

...scaleX scaleY scene scrollRect sizeGrid skewX skewY skin stage staticCache texture timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer co...

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

750. laya.ui.Radio_API3.0 [ 61%]

...selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent ca...

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