09 2016 档案

player: 初始化分析
摘要://1、 //cocos 程序开始运行时执行的函数 bool AppDelegate::applicationDidFinishLaunching() { // initialize director auto director = Director::getInstance(); director->setProjection(Director::Projection:... 阅读全文

posted @ 2016-09-30 17:04 ZhYQ_note 阅读(430) 评论(0) 推荐(0) 编辑

quick player运行分析
摘要:mac应用从AppController.mm源文件的applicationDidFinishLaunching函数启动: 1 1、 2 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification 3 { 4 [self installUncaughtExceptionHandler]; 5... 阅读全文

posted @ 2016-09-29 12:24 ZhYQ_note 阅读(691) 评论(0) 推荐(0) 编辑

quick: setup_mac.sh分析
摘要://quick: setup_mac.sh分析 //quick: setup_mac.sh分析#!/bin/bash //获取并打印根目录QUICK_V3_ROOTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"BASENAME=`bas 阅读全文

posted @ 2016-09-28 12:22 ZhYQ_note 阅读(590) 评论(0) 推荐(0) 编辑

cocos: 链接错误: _lz_adler32 in liblibquickmac.a
摘要:错误: Undefined symbols for architecture x86_64: "_adler32", referenced from: _lz_adler32 in liblibquickmac.a(lua_zlib.o) _png_icc_set_sRGB in libcocos2 阅读全文

posted @ 2016-09-27 18:57 ZhYQ_note 阅读(778) 评论(0) 推荐(0) 编辑

编译错误: file not found with angled include use quotes instead #include <lualib.h> 和 #include "lualib.h"
摘要:http://stackoverflow.com/questions/17465902/use-of-external-c-headers-in-objective-c 问题: 7down votefavorite 6 6 In my iOS project I need to use an ext 阅读全文

posted @ 2016-09-27 15:01 ZhYQ_note 阅读(9877) 评论(0) 推荐(1) 编辑

xcode7: Undefined symbols for architecture i386: "_iconv_open", referenced from:
摘要:在整合cocos和quick时,出现这个错误,我按照以前的方法 link binary with libraries 中add libiconv.2.dylib ,发现已经没有了这个库。 网上找了一下,找到一个: 问题: I use libxml to save game data. in orde 阅读全文

posted @ 2016-09-27 10:30 ZhYQ_note 阅读(1287) 评论(0) 推荐(0) 编辑

js 创建xml元素
摘要:function createXML(pathData) { var xmlDOM = createXMLDOM(); //参考:http://iceworldvip.blog.51cto.com/5438460/1341677 if (xmlDOM) { var data = xmlDOM.cre 阅读全文

posted @ 2016-09-26 13:33 ZhYQ_note 阅读(3175) 评论(0) 推荐(0) 编辑

html: button样式 css生成器
摘要:网址:http://www.bestcssbuttongenerator.com/#/28 阅读全文

posted @ 2016-09-23 19:38 ZhYQ_note 阅读(712) 评论(0) 推荐(0) 编辑

TypeError: BlobBuilder is not a constructor
摘要:今天在chrome浏览器中这样使用时,出线错误TypeError: BlobBuilder is not a constructor。 解决: 原文地址:http://stackoverflow.com/questions/15293694/blob-constructor-browser-comp 阅读全文

posted @ 2016-09-23 19:27 ZhYQ_note 阅读(2420) 评论(0) 推荐(0) 编辑

web: 屏蔽button元素的空格键和enter响应
摘要:用tab键可以在各种元素之间切换焦点,然后键盘上的空格和enter按键触发click事件,我这里不想要这种效果。 所以我需要屏蔽这两个按键。 阅读全文

posted @ 2016-09-23 19:01 ZhYQ_note 阅读(388) 评论(0) 推荐(0) 编辑

html 选择本地图片,显示选择的图片
摘要:主要用的是html5的文件系统部分: 参考: https://developer.mozilla.org/zh-CN/docs/Using_files_from_web_applications http://hushicai.com/2014/03/29/html5-du-qu-ben-di-we 阅读全文

posted @ 2016-09-22 19:24 ZhYQ_note 阅读(2740) 评论(0) 推荐(0) 编辑

cocos Uniforms值的赋值
摘要:cocos Uniforms值的赋值 举个void Renderer::drawBatchedTriangles()的渲染: //Start drawing verties in batch for(const auto& cmd : _batchedCommands) { auto newMaterialID = cmd->getMaterialID(); if(_lastMaterialID... 阅读全文

posted @ 2016-09-13 20:08 ZhYQ_note 阅读(653) 评论(0) 推荐(0) 编辑

unity:坐标变换 - 两个函数
摘要:在cocos中,我们知道有如下的坐标变换函数: CCPoint convertToNodeSpace(const CCPoint& worldPoint);CCPoint convertToWorldSpace(const CCPoint& nodePoint);CCPoint convertToN 阅读全文

posted @ 2016-09-11 14:29 ZhYQ_note 阅读(436) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示