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

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

51. 贪吃蛇大作战 桢同步的问题 [ 37%]

...间差乘以速度 这样同步后的误差就小;时间t = Laya.Brower.now();  例如开始帧时间点是t0,那么第2帧第3帧的位置就是  S1 = (t1-t0)*v;   S2 = (t2-t0)*v; ..........   反正所有操作点都要取时间点计算;你可以用客服端的时间也可用服务端...

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

52. 问一个关于小游戏加载图片的问题 [ 37%]

...R2 and Windows 7 are the only 2 OS which support TLS 1.1 and TLS 1.2 as of now. All the OS’s before this don’t support these 2 protocols.   好了,看了这个图大家应该明白 什么系统可以用了~~ 另附一个查询版本支持的网站,输入你搭好的服务器然后测试一...

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

53. [LayaAirIDE3]xcode切入切出声音不播放 [ 36%]

...lbackMap: Map<string, () => void> = new Map();     private lastKnownPositions: Map<string, number> = new Map();      private originalBGMVolume: number = 1;     private isBGMAttenuated: boolean = false;      private constructor() {         /* 在ios中             ...

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

54. 为什么会出现报错 ani not found:ufo1_down [ 34%]

...shootType > 0) { // 获取当前浏览器时间 var time = Laya.Browser.now(); // 如果当前时间大于下次射击时间 if(time > role.shootTime) { // 更新下次射击时间 role.shootTime = time + role.shootInterval; // 根据不同子弹类型,设置不同的数量及位置 this.pos...

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

55. laya.utils.PerfHUD [ 34%]

...ull):Point 把本地坐标转换为相对stage的全局坐标。 Sprite  now():NumberPerfHUD off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 Even...

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

56. 为什么会出现报错 ani not found:ufo1_down [ 33%]

...shootType > 0) { // 获取当前浏览器时间 var time = Laya.Browser.now(); // 如果当前时间大于下次射击时间 if(time > role.shootTime) { // 更新下次射击时间 role.shootTime = time + role.shootInterval; // 根据不同子弹类型,设置不同的数量及位置 this.pos...

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

57. 微信小游戏加载资源问题 [ 25%]

...y] = { md5: tempFileName, readyUrl: readyUrl, size: 0, times: Laya.Browser.now(), encoding: encoding }; //DEB("新加文件" + fileurlkey) var totalSize = 50 * 1024 * 1024; var chaSize = 4 * 1024 * 1024; var fileUseSize = MiniFileMgr.getCacheUseSize(); DEB("当前总大小"+fileU...

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

58. socket大型项目回调 [ 25%]

... self.heartbeatId = null; self.send(obj); self.nextHeartbeatTimeout = Date.now() + self.heartbeatTimeout; self.heartbeatTimeoutId = self.heartbeatTimeoutCb.bind(self,data); Laya.timer.once( self.heartbeatTimeout,self,self.heartbeatTimeoutCb.bind(self,data)); }) } private heartbeatTimeoutCb(data) { v...

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

59. 引擎 TiledMap 居然不支持图块翻转 [ 21%]

....animate);                 this._preFrameTime = Laya.ILaya.Browser.now();                 this._frameIndex = 0;                 this._time = 0;                 this._interval = 0;             }             this._spriteNum++;             this._aniDic[...

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

60. 构建apk后,java报错 [ 13%]

...919)         at com.android.server.pm.PackageManagerService.-wrap33(Unknown Source:0)         at com.android.server.pm.PackageManagerService$8.run(PackageManagerService.java:16323)         at android.os.Handler.handleCallback(Handler.java:790)         at android.os.Handler.dispatchMe...

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