上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 图形界面自制粒子系统。真的很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 阅读(2613) 评论(1) 推荐(1) 编辑
摘要: http://www.google.com.hk/webhp?source=g_cn还能玩,还有音乐。 阅读全文
posted @ 2010-05-22 00:27 AlexLiu 阅读(382) 评论(0) 推荐(1) 编辑
摘要: 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 阅读(5707) 评论(0) 推荐(3) 编辑
摘要: 本来想找一个如何能把HTML的String,解析出来的工具。暂时还没有找到。但是找到一段很不错的code。可以移调里面的标签。} 阅读全文
posted @ 2010-05-21 23:17 AlexLiu 阅读(1725) 评论(4) 推荐(1) 编辑
摘要: // 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 阅读(1557) 评论(0) 推荐(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 阅读(1082) 评论(0) 推荐(1) 编辑
摘要: 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 阅读(2765) 评论(1) 推荐(1) 编辑
摘要: 今天先不写了。累倒了。。原始人寻找失去的图腾的故事。 终于wait for review了。一个人搞音乐,策划,美工,程序。。。。搞不了啊。 阅读全文
posted @ 2010-05-16 00:14 AlexLiu 阅读(455) 评论(0) 推荐(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 阅读(2140) 评论(0) 推荐(1) 编辑
摘要: 最近终于有时间,慢慢搞我的demo,美化美化。争取陆续上线了。经过3天的折腾,第一款游戏开始wait forreview了。真不容易。最大的感想就是自己的ps水平有了很大的提高。自己搞就这样,从设计美工啊,都要自己来。好吧。晚上继续改良下第二个demo,可是动作类的哦。呵呵。 阅读全文
posted @ 2010-05-08 17:53 AlexLiu 阅读(973) 评论(0) 推荐(0) 编辑
摘要: 本文简单介绍下,如何不同的应用系统,对应于同一个应用程序来说,显示不同的名字。例如我的这个游戏,中文是水果连连看,那么中文系统下载来显示这个名字,修改了系统之后,显示可能显示的是FruitPuzzle,如果是日本语的话,显示‘フールツパゼル’。1. 将Info.plist本地化在Info.plist上右键点选Get Info,在General标签下,点击Make File ... 阅读全文
posted @ 2010-05-07 14:46 AlexLiu 阅读(5827) 评论(0) 推荐(0) 编辑
摘要: (id) init{ self = [super init]; if ( self ) { // Add the Label (in cocos2D universe) BitmapFontAtlas *label = [BitmapFontAtlas bitmapFontAtlasWithString:@"Initializing Game" fntFile: @"comic_atlas.... 阅读全文
posted @ 2010-05-05 17:13 AlexLiu 阅读(2284) 评论(1) 推荐(0) 编辑
摘要: Learning cocos2d with samples Published by riq on March 3, 2010 in cocos2d. 9 Comments Arguably the most unknown cocos2d feature is the tests/samples.cocos2d contains almost a test for each feature th... 阅读全文
posted @ 2010-04-21 12:48 AlexLiu 阅读(1962) 评论(0) 推荐(0) 编辑
摘要: 简要说明一下SQLite数据库执行SQL语句的过程** 调用sqlite3_prepare()将SQL语句编译为sqlite内部一个结构体(sqlite3_stmt).该结构体中包含了将要执行的的SQL语句的信息.** 如果需要传入参数,在SQL语句中用'?'作为占位符,再调用sqlite3_bind_XXX()函数将对应的参数传入.** 调用sqlite3_step(),这时候SQL语句才真正执... 阅读全文
posted @ 2010-04-21 00:23 AlexLiu 阅读(2355) 评论(0) 推荐(1) 编辑
摘要: 这是关于这个整形的定义。#define SQLITE_OK 0 /* Successful result *//* beginning-of-error-codes */#define SQLITE_ERROR 1 /* SQL error or missing database */#define SQLITE_INTERNAL 2 /* Internal logic error in S... 阅读全文
posted @ 2010-04-21 00:01 AlexLiu 阅读(14181) 评论(2) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页