修复Quick-Cocos2dx-Community-3.6 macOS 10.15 系统字体显示问题 #if 1 // fix macOS 10.15 system font 修复添加代码#else // 删除代码static bool _initWithString(const char * text, Device::TextAlign align, const char * fontName, int size, tImageInfo* info, const Color3B* strokeColor){ bool ret = false; CCASSERT(text.
Infinity Bath Privacy Policy Privacy Policylovehappy108 built the Infinity Bath app as an Ad Supported app. This SERVICE is provided by lovehappy108 at no cost and is intended for use as is.This page is used to inform visitor...
Parkour Box Privacy Policy Privacy Policybuilt the Parkour Box app as an Ad Supported app. This SERVICE is provided by at no cost and is intended for use as is.This page is used to inform visitors regarding my policies with...
Feed Dog Privacy Policy Privacy Policylovehappy108 built the Feed Dog app as an Ad Supported app. This SERVICE is provided by lovehappy108 at no cost and is intended for use as is.This page is used to inform visitors reg...
PHP中json_encode数据解析为空 1.json_encode问题今天解析json字符发现为空,打印出来观看json又是正确的,最后发json字符头是以EF BB BF开头的,也就是 utf-8 bom。2.怎么删除EF BB BF检查php文件(包括require的文件)是否是带EF BB BF 开头的文件是就转换成不带EF BB BF夈的文件。就是uf8 不带 bom。可以用16进制编辑器直接删除,也可以用其他编辑器另存为 ut...
LuaJIT-2.1.0-beta3 macosx、windows生成32,64位字节码 由于能力和理解有限,如有错误请理解谢谢。1.lj_vm_cpcall方法在哪花了一天时间阅读了luajit一部分源码,读到这个方法lj_vm_cpcall时发现并没有实现,编译后在lj_vm.S文件里了解到这个方法最后是用机器码处理的。下面是生成后的一段代码。 .private_extern _lj_vm_cpcall .no_dead_strip _lj_vm_cpcall_lj_vm_cp...
被放弃的CocosStudio也支持命令发布资源 MacBook-Pro:~ apple$ /Applications/Cocos/Library/Cocos.Tool publish2017-05-24 21:00:06.959 Cocos.Tool[41524:1575455] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and
cocos用RenderTexture截图白色 修改cc.RenderTexture:create(width * scaleSize, height * scaleSize);到cc.RenderTexture:create(width * scaleSize, height * scaleSize, cc.TEXTURE2_D_PIXEL_FORMAT_RGB_A8888, gl.DEPTH24_STENCIL8_OES);
iOS 10 开发适配系列 之 权限Crash问题 遇到录音权限问题 NSMicrophoneUsageDescription microphoneDesciptionhttp://www.jianshu.com/p/c212cde86877
lua string.gsub 替换ios 路径失败 string.gsub(s, pattern, repl[,n])s:替换字符串pattern:匹配方式repl:替换后的内容pattern 由于支持正则表达式有一些特殊字符来表示比如(). % + - * ? [ ^ $ 作为正则表达式匹配用,但是由于ios 路径有-号所以导致gsub替换不了只能加入转义符%ios路径:/var/mobil
error: 'function' in namespace 'std' does not name a template type 导入这个头文件error: 'function' in namespace 'std' does not name a template type#include
resource fork, Finder information, or similar detritus not allowed 关闭xcode然后执行:MacBook-Pro:~ apple$ cd ~/Library/Developer/Xcode/DerivedData/MacBook-Pro:DerivedData apple$ xattr -rc .
luajit 使用云风的int64库 负数 bad light userdata pointer 先下Luajit 代码#define LJ_TLIGHTUD (~3u)#if LJ_64#define checklightudptr(L, p) \ (((uint64_t)(p) >> 47) ? (lj_err_msg(L, LJ_ERR_BADLU), NULL) : (p))#else#define checklightudptr(L, p) (p)#endi
xcode8 libpng error: CgBI: unhandled critical chunk Build Settings => Remove TextMetadata From PNG Files 设置成NO
疏忽导致易接SDK OpenGL error 犹豫把 SFLuaAdapter 初始化OnGLThread 在GL线程中回调写成 OnUiThread了。。导致了OpenGL error 以为是易接没有在GLThread中回调。然后自己实现了一遍同样的接口。后来越想越不对翻看易接文档多次才发现他有注册 GLThread 回调。主要是以前才开始接入什么都拷贝,然后自己修改init回调。然后没在意,强迫症犯了才修改。易接代码: SFLu
XXXXXX Mac[14082:159927] NSConcreteAttributedString initWithString:: nil value cocos2d Mac 模拟器打印报错 NSConcreteAttributedString initWithString:: nil value出现问题是在 SimulatorApp.mm 文件里- (void)handleNotification:(NSNotification *)note{// NSLog(@"Received notification: %@",
channel '537f2e7c com.xxxxx.xxxxx/com.xxxxx.xxxxx.AppActivity (server)' ~ Channel is unrecoverably b cocos2d HttpClient ios没有问题,然而Android报错模拟器报错:channel '537f2e7c com.xxxxx.xxxxx/com.xxxxx.xxxxx.AppActivity (server)' ~ Channel is unrecoverably broken and will be disposed!应该是模拟器没法处理报错内容然后报错。