Hi,
WeChat publish small game platform recently, when i use it's ide (write code in cocos2djs+sfs2x js client), it throw a exception as following:
ReferenceError: DataStream is not defined
at sfs2x-api-1.7.6.js:4899
at require (WAGame.js:11)
at WAGame.js:11
at n (cocos2d-js-min.js:1)
at cocos2d-js-min.js:1
at g.js (cocos2d-js-min.js:1)
at g.134.g.handle (cocos2d-js-min.js:1)
at n (cocos2d-js-min.js:1)
at cocos2d-js-min.js:1
at window.WXDownloader.WXDownloader.handle (wx-downloader.js:44)
window.onerror
help!help! In china WeChat like facebook, it's a big market.
ReferenceError: DataStream is not defined
Re: ReferenceError: DataStream is not defined
Hello.
Our SpaceWar example (distributed in the JavaScript examples package) was developed in Cocos2D and we didn't encounter issues.
What if you setup a very small project without including other libraries except the SFS API? Do you get the same error?
Our SpaceWar example (distributed in the JavaScript examples package) was developed in Cocos2D and we didn't encounter issues.
What if you setup a very small project without including other libraries except the SFS API? Do you get the same error?
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Who is online
Users browsing this forum: No registered users and 119 guests