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

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

51. TypeError Uncaught TypeError: Object #<error> has no method '_addReference' [ 55%]

...错误 IDE不能运行调试提示:Chrome error: Error:... Warning!,this class[MiniAdpter] already exist: Object {init: } Error: asBitmap no size! 问题状态 最新活动: 2018-03-09 10:29 浏览: 764 关注: 2 人

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

52. exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 [ 55%]

...为object层,层级设置无效的问题 Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Warning!,this class[MiniAdpter] already exist: Object {init: } 鼠标自定义样...

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

53. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 54%]

...据实际情况修改。有需要的可以参考下/* * 位图字体; */ class BPFont extends Laya.Sprite { // 文本内容 private _text: string; // 水平排列方式 private _align: string; // 资源前缀 private resFix: string; // 间距 private _padding: number; // 位图集合 private chars: ...

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

54. Resources already exist,is repeated loading 加载特效报重复加载 [ 54%]

...ready exist,is repeated loading 加载特效报重复加载 export default class TransformDemo{     private scene:Laya.Scene3D;     private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private rotate:Laya.Vector...

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

55. 微信小游戏,请先初始化小游戏适配库 [ 53%]

...适配库 Wechat Lib:1.9.94, 2018.3.15 14:07:52 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} code.js:7132 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error Browser.__init__ @ code.js:7132 (anonymous) @ code.js:7057 (an...

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

56. socket通讯返回数据 [ 51%]

...讯返回数据 下面是复制的代码,标“*”处为有问题。  class Game { private socket: Laya.Socket; private byte: Laya.Byte; constructor() { //初始化引擎 Laya.init(600, 400, Laya.WebGL); this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_...

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

57. 分享:Panel下动态修改子容器宽高并刷新显示! [ 51%]

...aya.ui.Panel; import laya.utils.Browser; import laya.utils.Handler; public class LayaUISample { public function LayaUISample() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height); //ui组件,除了image和clip外,其他皮肤均需要预加载资源,此处添...

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

58. EXT:webgl support OES_vertex_array_object! [ 51%]

...defined? 关于同为object层,层级设置无效的问题 Warning!,this class[MiniAdpter] already exist: Object {init: } LayaAirIDE2.2 - Laya3D init error ,must support webGL 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? 2.5引擎版本webgl使用遮罩...

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

59. socket大型项目回调 [ 49%]

...型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; pri...

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

60. 微信开发者工具问题 [ 46%]

...AGame.js:14 Wechat Lib:2.0.8, 2018.5.17 17:08:32 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM698:1 gameThirdScriptError Unexpected token in JSON at position 134;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 134     at JSON.p...

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