iphone游戏开发 资料索引 cocos2d, OpenGL ES

来源:互联网 发布:sql修改表数据 编辑:程序博客网 时间:2024/06/18 15:39

先推荐个专家博客:

http://blog.csdn.net/dongfengsun/category/597201.aspx

OpenGL ES
游戏是这样写成的 http://cocoachina.com/bbs/read.php?tid-2687.html
西蒙的教程中文版 http://www.cocoachina.com/bbs/read.php?tid-7086.html
cocoaChina讨论区 http://www.cocoachina.com/bbs/thread.php?fid-18.html

Cocos2d
中文版白皮书 http://bbs.weiphone.com/simple/index.php?t296364.html
另一个版本的白皮书 http://www.ezshine.cn/blog/index.php/archives/297
原版白皮书 Monocle Studios http://monoclestudios.com/cocos2d_whitepaper.html
python的API http://cocos2d.org/doc/programming_guide/
两个不错的例子 http://icocoa.cn/iphone
API http://download.csdn.net/source/1246712
一个opensource物理引擎 http://code.google.com/p/chipmunk-physics/



一个号称比较全的电子书下载

http://dev.iphonetw.net/thread-121-1-1.html

对于不知道怎么安装cocos2d的,就看这里好了。http://vawlog.vawidea.com/cn/2009/09/cocos2d的安裝/

COCOS2D 是一個iPhone遊戲開發的框架,
可以省掉設計很多遊戲開發的控件,
用既定的模組套用在自己的想法上。
cocos2d 之前的方法過繁瑣,
現在的 0.81 安裝方法超簡單只要兩個步驟。

1. 首先先下載 COCOS 2D
http://www.cocos2d-iphone.org/download

解壓縮後可以看到:



README是說明檔
install_template.sh是自動安裝檔

2. 開啟Terminal終端機程式來執行它
開啟之後 打cd 然後把下載好的目錄拉到Terminal
也就是切換到解開的cocos2d的意思。

然後打./install-templates.sh -u
來執行安裝,
記得前面要打” ./ ”
才能執行install-templates.sh文件裡面的script

成功的話終端機會顯示:
cocos2d-iphone template installer
…creating destination directory: /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project Templates/Application/cocos2d-0.8.1 Application/
…copying template files
…copying cocos2d files
…copying CocosDenshion files
…copying cocoslive files
…copying cocoslive dependency files
done!

 

3.安装cocos2d帮助文档

http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc (1.7.3不好用,使用下面的链接)

http://ftp.stack.nl/pub/users/dimitri/Doxygen-1.6.1.dmg

下载成功后双击安装文件,将图表拖到应用程序中,然后打开工程文件cocos2d-ios.xcodeproj,

XCode -> Project -> Set Active Target -> cocos2d-documentation

XCode -> Build -> Build