posted @ 2010-04-09 14:49 AlexLiu 阅读(218) | 评论(0) | 编辑
     摘要: cocos2d入门基础教程,翻译+一点描述体会  阅读全文
posted @ 2010-01-25 23:30 AlexLiu 阅读(2285) | 评论(5) | 编辑
     摘要: 最近有幸接触了一点Unity3d的东西,和大家分享一下。Unity3d 简介  是一款可视化的,3d游戏开发软件。可以进行手动绘制3d场景,自己添加摄像机角度,3d模型设计,事件触发,对于园子里大家很感兴趣的地方在于,它的脚本语言支持JS,可以用C#来开发游戏的动作。并且支持MacOS系统,windows系统。Unity3d 主要功能概述1.能在iPhone上发布游戏  这个我体验过了,也玩过几个...  阅读全文
posted @ 2009-11-27 16:20 AlexLiu 阅读(2549) | 评论(11) | 编辑
     摘要: MAC OS- Snow Leopard 安装详解  阅读全文
posted @ 2009-10-21 20:51 AlexLiu 阅读(3633) | 评论(32) | 编辑
     摘要: 我总觉的,贴了这段代码,是一件很‘杯具’的事情。作为一个iphone的码农,竟然就这样,懒得手写添加plist文件,而用代码生成。需求呢。就是把当前文件夹里面所有的某种或者某几种类型的文件,做一个目录。本例中,用的是txt当作示范。最终生成一个标准的,可以在xcode里面使用的一个plist文件。其实后来想想,完全可以使用ObjectiveC 实现,但是对于c#熟悉程度确实...  阅读全文
posted @ 2010-07-19 00:10 AlexLiu 阅读(86) | 评论(0) | 编辑
     摘要: sqlite3_step 的时候,返回19,也就是sqlite预定义的一个返回结果,Abort due to constraint violation根据本人的经验研究,发现这个错误大多是由于在sqlite数据库创建的时候,表在创建的时候,加了某些约束,比如某个地方使用的是not null,或者PK使用的不是Integer而是Text类型。尝试检查这几个地方,应该就能解决真正的问题所在了。that...  阅读全文
posted @ 2010-07-04 19:59 AlexLiu 阅读(79) | 评论(0) | 编辑
     摘要: 每每升级SDK,总是遇到向下兼容的问题。如果编译出现这个错误,那么用Interface builder打开出错文件。改变SDK即可。  阅读全文
posted @ 2010-07-03 18:14 AlexLiu 阅读(60) | 评论(0) | 编辑
     摘要: 在升级了SDK4之后,由于Base SDK 那里只能选择3.2和4.0,而我们又要支持更低版本的设备。 所以我们需要做以下步骤: 打开工程,右键,get info点击build tab找到Deployment Target,建议选择最低的3.0  阅读全文
posted @ 2010-07-03 18:10 AlexLiu 阅读(104) | 评论(0) | 编辑
     摘要: 不得已,不升级4无法上传新的程序了。没办法,过期的苹果会烂掉  阅读全文
posted @ 2010-07-03 18:04 AlexLiu 阅读(145) | 评论(0) | 编辑
     摘要: 图形界面自制粒子系统。真的很cool,很方便啊!有如下特点:Added radial and tangential accelerationiPhone and iPad supportPortrait & landscape orientationsOnline shared emittersSet your own particle textureExport toCocos 2DEx...  阅读全文
posted @ 2010-05-28 13:18 AlexLiu 阅读(374) | 评论(1) | 编辑
     摘要: http://www.google.com.hk/webhp?source=g_cn还能玩,还有音乐。  阅读全文
posted @ 2010-05-22 00:27 AlexLiu 阅读(133) | 评论(0) | 编辑
     摘要: 1.去RegexKitLite下载类库,解压出来会有一个例子包及2个文件,其实用到的就这2个文件,添加到工程中。2.工程中添加libicucore.dylib frameworks。3.现在所有的nsstring对象就可以调用RegexKitLite中的方法了。NSString *email = @”kkk@aaa.com”;[email isMatchedByRegex:...  阅读全文
posted @ 2010-05-21 23:23 AlexLiu 阅读(165) | 评论(0) | 编辑
     摘要: 本来想找一个如何能把HTML的String,解析出来的工具。暂时还没有找到。但是找到一段很不错的code。可以移调里面的标签。}  阅读全文
posted @ 2010-05-21 23:17 AlexLiu 阅读(169) | 评论(3) | 编辑
     摘要: // start by retrieving day, weekday, month and year components for yourDate NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar]; NSDateComponents *todayCompon...  阅读全文
posted @ 2010-05-21 16:39 AlexLiu 阅读(220) | 评论(0) | 编辑
     摘要: #import "ProgrammaticAdViewController.h"#import "AdMobView.h"@implementation ProgrammaticAdViewController// The designated initializer. Override if you create the controller programmatically// and wan...  阅读全文
posted @ 2010-05-20 14:04 AlexLiu 阅读(105) | 评论(0) | 编辑
     摘要: C) 在 tableView里面添加一个广告Create an AdMob delegate class; it can be as simple as a class that only implements -publisherId and -currentViewController.Add to your -tableView:cellForRowAtIndexPath: method (...  阅读全文
posted @ 2010-05-20 13:39 AlexLiu 阅读(138) | 评论(0) | 编辑
     摘要: 今天先不写了。累倒了。。原始人寻找失去的图腾的故事。 终于wait for review了。一个人搞音乐,策划,美工,程序。。。。搞不了啊。  阅读全文
posted @ 2010-05-16 00:14 AlexLiu 阅读(111) | 评论(0) | 编辑
     摘要: Tutorial: Detecting When A User Blows Into The MicbyDan GrigsbyonAugust 19, 2009·28 commentsIf, a couple of years back, you’d told me that people would expect to be able to shake their phon...  阅读全文
posted @ 2010-05-14 22:18 AlexLiu 阅读(106) | 评论(0) | 编辑
     摘要: 最近终于有时间,慢慢搞我的demo,美化美化。争取陆续上线了。经过3天的折腾,第一款游戏开始wait forreview了。真不容易。最大的感想就是自己的ps水平有了很大的提高。自己搞就这样,从设计美工啊,都要自己来。好吧。晚上继续改良下第二个demo,可是动作类的哦。呵呵。  阅读全文
posted @ 2010-05-08 17:53 AlexLiu 阅读(211) | 评论(0) | 编辑