运行的Demo是 https://github.com/m249212419/tankwarNet.git882
附上服务端 https://github.com/m249212419/tankwarNet.git8
2018-08-28T06:57:49.981Z - error: Simulator: E/jswrapper (270): ERROR: Uncaught TypeError: Cannot read property ‘length’ of null, location: src/cocos2d-jsb.js:0:0
STACK:
[0]_activateNodeRecursively@src/cocos2d-jsb.js:21518
[1]activateNode@src/cocos2d-jsb.js:21567
[2]_activate@src/cocos2d-jsb.js:8644
[3]runSceneImmediate@src/cocos2d-jsb.js:6611
[4]anonymous@main.js:53
[5]anonymous@src/cocos2d-jsb.js:24221
[6]anonymous@src/cocos2d-jsb.js:19670
[7]anonymous@src/cocos2d-jsb.js:28775
[8]fireTimeout@jsb-adapter/jsb-builtin.js:2058
[9]tick@jsb-adapter/jsb-builtin.js:2023
at HTMLElement.print-simulator-log (C:\CocosCreator\resources\app.asar\editor\builtin\scene\panel\messages\scene.js:1:1487)
at Object.e._dispatch (C:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\panel.js:1:1941)
at EventEmitter.o.on.s (C:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\ipc.js:1:2917)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:204:7)
2018-08-28T06:57:49.981Z - error: Simulator: E/jswrapper (521): [ERROR] (…\cocos\scripting\js-bindings\jswrapper\v8\Object.cpp, 521): Invoking function (049AD7E0) failed!
at HTMLElement.print-simulator-log (C:\CocosCreator\resources\app.asar\editor\builtin\scene\panel\messages\scene.js:1:1487)
at Object.e._dispatch (C:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\panel.js:1:1941)
at EventEmitter.o.on.s (C:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\ipc.js:1:2917)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:204:7)