大约有 75 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0051 秒)
... ape.graphics.drawTexture(t, 0, 0); ape.graphics.scale(1.01, 1) Laya.stage.addChild(ape); ape.pos(200, 0); })); 上面这段代码并没有得到图片缩放的效果,看到的现象是图片一直在往左移动 2017-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170609
...对齐参照物 let reference: Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(reference); reference.pos(0, 0); reference.size(Laya.stage.width, Laya.stage.height); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); let tipElmt = Laya.Browser.createElement("img"); ...
来源: Laya_社区 发布时间: 20180802
...; soundButton.y = (Laya.stage.height - soundButton.height) / 2; Laya.stage.addChild(soundButton); //创建一个Sprite充当音乐播放按钮 var musicButton: Sprite = this.createButton("播放音乐"); musicButton.x = soundButton.x + gap + soundButton.width; musicButton.y = soundButton.y; Laya.s...
来源: Laya_社区 发布时间: 20190421
...Mode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene3D()); scene.ambientColor = new Laya.Vector3(1, 1, 1); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 6.2, 10.5)); camera.transform.rotate(...
来源: Laya_社区 发布时间: 20191112
...ring>): Laya.Animation { this.animation = new Laya.Animation(); this.ui.addChild(this.animation); this.animation.loadImages(images); this.animation.interval = 70; this.animation.play(0); return this.animation } 我不知道你是怎么做的。这样是没问题的 2019-03-25 0 2 分享 微博...
来源: Laya_社区 发布时间: 20190325
...a.stage.width / 480; bgSprite.scaleY = Laya.stage.height / 852; Laya.stage.addChild(bgSprite); 在安卓和其他的ios设备上都正常,但是在iphone xr上就遇到了显示不全的问题。 有问题的设备的相关信息如下: ios版本:12.2 微信版本:version 7.0.4 刚开...
来源: Laya_社区 发布时间: 20190525
...ayaBox</span><span>欢迎你的加入</span>" Laya.stage.addChild(div);2、获取Html文本的实际内容、获取html文本的实际宽高(contextWidth、contextHeight) 示例如下:var htmlDiv:HTMLDivElement=new HTMLDivElement(); var html:String = "<span color='#e3d26a'...
来源: Laya_社区 发布时间: 20161027
...is.preinitialize is not a function 官方视频教程中飞机大战 "this.addChild is not a function" 微信开发者工具iOS模拟器报错:CharRender_Canvas.ctx.fillAndStrokeText is not a function 问题状态 最新活动: 2015-12-02 14:58 浏览: 3180 关注: 2 人
来源: Laya_社区 发布时间: 20151202
... paihangbang.color="#ffffff"; list.addChild(paihangbang); // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(...
来源: Laya_社区 发布时间: 20210122
...is.preinitialize is not a function 官方视频教程中飞机大战 "this.addChild is not a function" 微信开发者工具iOS模拟器报错:CharRender_Canvas.ctx.fillAndStrokeText is not a function 问题状态 最新活动: 2015-12-04 10:52 浏览: 1786 关注: 2 人
来源: Laya_社区 发布时间: 20151204