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

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

841. UI-ProgressBar [ 72%]

...gressBar.changeHandler = new Handler(this, this.onChange); Laya.timer.loop(100, this, this.changeValue); } changeValue() { if (this.progressBar.value >= 1) { this.progressBar.value = 0; } this.progressBar.value += 0.05; } onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } ...

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

842. OPPO小游戏发布与调试指南(TypeScript-小游戏适配文档-OPPO小游戏) [ 72%]

# OPPO小游戏发布与调试指南 > update : 2019-07-06 > ## 1、OPPO小游戏发布、调试环境准备 1、OPPO品牌的手机。 2、下载安装OPPO真机测试APP "快应用"(OPPO 小游戏调试器 ) 前往OPPO官网文档([https://cdofs.oppomobile.com/cdo-activity/static/201810/26/q...

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

843. 初始化Laya.init(200,200,Laya.WebGl)报错 [ 72%]

初始化Laya.init(200,200,Laya.WebGl)报错   附件 : --> 2018-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ippon 赞同来自: 请注明您的引擎是1.x还是2.x,以及详细的IDE版本。 ...

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

844. 怎么把世界坐标系转为屏幕坐标系? [ 72%]

...(x,y,z)的三维坐标,想转化成屏幕上显示2D坐标。   2018-09-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 讨厌起名字=0= camera.viewport.project(layaMonkey3D...

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

845. 骨骼动画-藤蔓 [ 72%]

...or() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play()...

来源: Laya_示例 发布时间: 20241001

846. 分享:销毁龙骨动画! [ 72%]

...ndler); } private function createButton(label:String):Sprite { var w:int = 110; var h:int = 40; var button:Sprite = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2 , 8, "25px SimHei", "#FFFFFF", "center"); Laya.stage.addChild(bu...

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

847. 动态创建img 或 sprite [ 72%]

... = new Laya.Sprite(); dd.graphics.drawTexture(this.img.texture, 0, 0, 750, 1334); dd.x = 50; dd.y = 50; this.addChild(dd);   this.img 绝对不为空,我想用一个sprite来画它,请问什么画(不是拷贝)?   2018-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

848. apk打包动画卡顿 [ 72%]

...卡顿 FPS显示有60帧,但是动画一卡一卡的,比网页版卡 2017-12-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 wudi199553 赞同来自: 能给个外网地址么 2017-12-18 0 4 分享 微博 QZO...

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

849. 骨骼动画-橡胶人 [ 72%]

...or() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play...

来源: Laya_示例 发布时间: 20241001

850. 绘制的直线如何修改它的位置,使它产生连续绕一个点旋转的效果 [ 72%]

...! IDE中有看到toX和toY属性,但是代码中不知如何获取 2018-02-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 把线放在sprite里操作 sprite旋转。 2018-02-25 0 0 ...

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