egret-labs / egret-ios-support Goto Github PK
View Code? Open in Web Editor NEWEgret ios packager project
Egret ios packager project
this.socket = new egret_native.WebSocket("wss://zc.wokac.com:3080");
// this.socket = new egret_native.WebSocket("ws://192.168.0.155:3080");
var skt = this.socket;
skt['onOpen'] = function (e) {
console.log("daley 连接1" + e);
};
skt['onMessage'] = function (e) {
};
skt['onError'] = function (e) {
console.log("daley 连接不上1" + e);
};
skt['onClose'] = function (e) {
console.log("daley 关闭1" + e);
};
console.log("daley hello");
现在的Graphics在draw的时候和浏览器渲染的效果依然有很大出入,主要是消除锯齿方面
希望能尽快解决这个问题
2.0.0版本开始支持加密,但怎么加密呢?
Xcode 版本:7.1.1
iOS 版本:9.1
设备:ipad mini2
界面中有多处需要绘制圆形,在chrome上均能正确绘制但无法在iOS设备上绘制
截取某段代码如下
this.graphics.beginFill(0x00ccff, 1);
this.graphics.drawCircle(this.physicsBody.position[0], this.physicsBody.position[1], 30);
this.graphics.endFill();
除了圆形以外,线条可以正确绘制,其他的尚未测试
其他信息:
Undefined symbols for architecture arm64:
"FT_Load_Glyph", referenced from:
FTFont::getGlyphBitmapWithOutline(unsigned short, FT_BBox&) in libEgretFrameworkNative.a(FTFont.o)
FTFont::getGlyphBitmap(unsigned short, long&, long&, egret::Rect&, int&) in libEgretFrameworkNative.a(FTFont.o)
"FT_Glyph_StrokeBorder", referenced from:
FTFont::getGlyphBitmapWithOutline(unsigned short, FT_BBox&) in libEgretFrameworkNative.a(FTFont.o)
"FT_Glyph_Get_CBox", referenced from:
FTFont::getGlyphBitmapWithOutline(unsigned short, FT_BBox&) in libEgretFrameworkNative.a(FTFont.o)
"_FT_Set_Char_Size", referenced from:
FTFont::createFontObject(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in libEgretFrameworkNative.a(FTFont.o)
"FT_Outline_Render", referenced from:
FTFont::getGlyphBitmapWithOutline(unsigned short, FT_BBox&) in libEgretFrameworkNative.a(FTFont.o)
"FT_Done_Glyph", referenced from:
FTFont::getGlyphBitmapWithOutline(unsigned short, FT_BBox&) in libEgretFrameworkNative.a(FTFont.o)
"_FT_Init_FreeType", referenced from:
FTFont::createFontObject(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in libEgretFrameworkNative.a(FTFont.o)
FTFont::FTFont(int) in libEgretFrameworkNative.a(FTFont.o)
"_FT_Stroker_Done", referenced from:
FTFont::~FTFont() in libEgretFrameworkNative.a(FTFont.o)
"_FT_Select_Charmap", referenced from:
FTFont::createFontObject(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in libEgretFrameworkNative.a(FTFont.o)
"FT_Get_Char_Index", referenced from:
FTFont::getGlyphBitmapWithOutline(unsigned short, FT_BBox&) in libEgretFrameworkNative.a(FTFont.o)
FTFont::getGlyphBitmap(unsigned short, long&, long&, egret::Rect&, int&) in libEgretFrameworkNative.a(FTFont.o)
"_FT_Stroker_Set", referenced from:
FTFont::FTFont(int) in libEgretFrameworkNative.a(FTFont.o)
"FT_Get_Glyph", referenced from:
FTFont::getGlyphBitmapWithOutline(unsigned short, FT_BBox&) in libEgretFrameworkNative.a(FTFont.o)
"FT_Outline_Translate", referenced from:
FTFont::getGlyphBitmapWithOutline(unsigned short, FT_BBox&) in libEgretFrameworkNative.a(FTFont.o)
"_FT_Done_Face", referenced from:
FTFont::~FTFont() in libEgretFrameworkNative.a(FTFont.o)
"_FT_Stroker_New", referenced from:
FTFont::FTFont(int) in libEgretFrameworkNative.a(FTFont.o)
"_FT_New_Memory_Face", referenced from:
FTFont::createFontObject(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in libEgretFrameworkNative.a(FTFont.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
用的IOS8.1的sdk
写代码能不能负点责任?
wss://host: port?param=test
只有iOS native环境下无法连接, web 以及 android环境下可以正常连接
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.