GithubHelp home page GithubHelp logo

egret-ios-support's People

Contributors

jkd2972 avatar lijianegret avatar zerlot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

egret-ios-support's Issues

无法在iOS设备上使用矢量绘图绘制圆形

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();

除了圆形以外,线条可以正确绘制,其他的尚未测试

其他信息:

  • 绘制的线条数量大约有100条,长度很短
  • 原本需要绘制的圆形数量大约有20个,大小100像素

希望考虑更多消锯齿的实现

现在的Graphics在draw的时候和浏览器渲染的效果依然有很大出入,主要是消除锯齿方面
希望能尽快解决这个问题

ios wss connect error

     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");

XCode打包报错

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.