1,用self._topUIWidget = ccs.GUIReader:getInstance():widgetFromJsonFile("mapTopUI.json")就还是用的以前c++的那套,时间机制和现有的quick不兼容。所以得用local node = cc.uiloader:load...
分类:
其他好文 时间:
2015-01-01 10:03:03
阅读次数:
294
Linux下通过vmplayer安装CactiEZ一安装vmwareplayer在vmware官网www.vmware.com上下载免费的vmwareplayer虚拟软件。将载好的软件传送到服务器上准备安装。chmod755VMware-Player-6.0.1-1379776.x86_64.bundle----提高权限./VMware-Player-6.0.1-1379776.x86_64.bundle----安装..
分类:
系统相关 时间:
2014-12-31 16:34:40
阅读次数:
269
今天开始,回溯法强化阶段。Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, ...
分类:
其他好文 时间:
2014-12-31 14:28:05
阅读次数:
211
子查询独立子查询相关子查询 in(sql) exists(sql)连接查询交叉连接 cross join 和 ,内链接 inner join 外链接 left outer join right outer join 笛卡儿积 on为筛选 视图 view查询语句封装create vi...
分类:
数据库 时间:
2014-12-31 14:22:03
阅读次数:
198
Unity Web Player | alice runUnity Web Player | alice run « created with Unity »
分类:
编程语言 时间:
2014-12-31 12:39:54
阅读次数:
149
SlideInViewThis is a quick and lightweight example of how to present a notification like view from the bottom of a view. Using SlideInView, the code y...
分类:
其他好文 时间:
2014-12-31 09:53:18
阅读次数:
137
在虚拟机上安装Ubuntu14.04 后安装ibus输入法,万万没想到在切换输入法的时候居然出错了!无语了,再网上查了一下,这个错误出现的还是比较少的。先说Ubuntu输入法(ibus)安装的一般步骤吧。一、安装语言包System Settings-->Language Support-->Inst...
分类:
其他好文 时间:
2014-12-31 06:18:38
阅读次数:
716
游戏引擎一般提供两种输入框:editbox和textfielttf。editbox比较简单,在ios上效果也还行,但是在android上就比较丑了,每次输入都会悬浮一个小框框。对于游戏来说eidtbox可以满足基本需求,毕竟输入还是少数情况。textfielttf是一种特殊的label,显示效果比较好,但是计算起来比较麻烦,要自己绘制光标,要自己绘制文字,自己计算增加和删除。
这里还是说一下自己...
分类:
其他好文 时间:
2014-12-30 23:46:41
阅读次数:
562
环境:centos 6.5 64位+php 5.3.28+nginx 1.291.编译安装nginx时加上--with-http_mp4_module --with-http_flv_module这两个参数,开启FLV MP4支持2.修改nginx配置文件vi /usr/local/nginx/co...
分类:
其他好文 时间:
2014-12-30 18:28:50
阅读次数:
685
windows下quick-cocos2dx的IDE中的断点调试...