看来目前quickx的发展方向比较定型了。就是cocos2dx的东西不能动,只能在这个基础上在自己的框架下修修改改。 我也把quickx api的生成文件及文档放上来吧。 地址: http://git.oschina.net/lonewolf/quickx_api_b...
有一个递归查询在10g上运行很快,但在11g上运行不出来。
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 1...
分类:
数据库 时间:
2014-11-05 17:25:37
阅读次数:
277
1;首先来说in/not in的用法
in/not in是确定单个属性的值是否和给定的值或子查询的值相匹配;
select * from Student s where s.id in(1,2,3);
select * from Student s where s.name in( select distinct name from Proje...
分类:
数据库 时间:
2014-11-05 17:25:36
阅读次数:
270
游戏嘛,没图片没画面能叫游戏吗,所以我们还是先看用Quick的方式怎么创建精灵。
Quick的api中对精灵的创建讲解得还是很详细,所以创建起来很简单。
display.newSprite(filename, x, y, params)
filename:精灵文件名
x:x位置坐标
y:y位置坐标
params:表参数(不常用)
...
分类:
其他好文 时间:
2014-11-05 14:52:46
阅读次数:
166
class?DB
{
????private?$db_config?=?‘./config.php‘;
????private?static?$_instance;
????private?function?__construct()
????{
????????if?(file_exists($this->db_conf...
分类:
数据库 时间:
2014-11-05 13:13:47
阅读次数:
210
Description
Given n segments in the two dimensional space, write a program, which determines if there exists a line such that after projecting these segments on it, all projected segments have at...
分类:
其他好文 时间:
2014-11-04 22:55:12
阅读次数:
258
前些天印尼客户要求在高通平台7251上加一个摇摇切歌功能。查了些资料,基本实现了此功能。
直接上源码,用svn查看修改点。
前面两个ic_mp_shake_off_btn是两张图片,资源随便让UI做两张即可。
接下来就是audio_player.xml文件的修改:(这个就是你要将你的图标按钮放在哪个地方)
对应的修改其他分辨率的布局文件audio_player.xml
接...
分类:
移动开发 时间:
2014-11-04 17:30:56
阅读次数:
351
Quick 修改后的 Cocos2d-x 提供一些底层事件支持。这些事件按照功能和用途分为:
节点事件 (cc.NODE_EVENT)帧事件 (cc.NODE_ENTER_FRAME_EVENT)触摸事件键盘事件重力感应事件应用程序事件
节点事件 (cc.NODE_EVENT)
节点事件在一个 Node 对象进入、退出场景时触发。
local node = display.ne...
分类:
其他好文 时间:
2014-11-04 17:26:34
阅读次数:
206
问题描述:
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become
4 5 6 7 0 1 2).
Find the minimum element.
You may assume no duplicate exists ...
分类:
其他好文 时间:
2014-11-04 17:26:17
阅读次数:
253
今天在quick-cocos2d-x生成的sln,需要添加一个新的自己的lib,以前就是直接把.h和.cc文件直接添加过去(为了省事呗),今天时间宽裕索性还是新建一个vcxproj吧,然后用静态lib调用的方式。一切按照既定的方式进行着,但是新生成的vcxproj不知道为什么没有$(Engine.....
分类:
其他好文 时间:
2014-11-04 14:48:57
阅读次数:
155