魔塔50层勇者的试炼bug这游戏有bug,在第三层被魔王削弱攻击力后选重新开始就会100攻100防_百度知道cocos2d-x 学习笔记(3)
& & & 自习看了一些这本书中魔塔这个游戏,感觉比其他书中的例子好多了,可以说是一个完整的RPG游戏的框架,现在暂时还未完全敲出来
版本是2.14,等全部实现后,上传留个纪念!
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:16131次
排名:千里之外
原创:17篇
评论:10条
(3)(5)(3)(4)(3)(1)(2)(1)base_nodes
keypad_dispatcher
label_nodes
layers_scenes_transitions_nodes
menu_nodes
misc_nodes
particle_nodes
AccelerometerDelegateWrapper.mm
CCAccelerometer_ios.mm
CCApplication_ios.mm
CCCommon_ios.mm
CCDirectorCaller.mm
CCEGLView_ios.mm
CCFileUtils_ios.mm
CCImage_ios.mm
EAGLView.mm
third_party
elements.dsp
outline.dsp
expatw.dsp
expatw_static.dsp
expat_static.dsp
libexpat.def
libexpatw.def
Makefile.MPW
benchmark.dsp
benchmark.dsw
README.txt
README.txt
xmltest.sh
descrip.mms
README.vms
buffer_demo.adb
readme.txt
zlib-streams.adb
zlib-streams.ads
zlib-thin.adb
zlib-thin.ads
README.586
README.686
readme.txt
zlibd32.mak
DotZLib.csproj
DotZLib.build
DotZLib.chm
DotZLib.sln
LICENSE_1_0.txt
readme.txt
bld_ml64.bat
readme.txt
bld_ml32.bat
readme.txt
ChangeLogUnzip
readme.txt
zlibd32.mak
testzlib.txt
Makefile.msc
miniunz.vcproj
minizip.vcproj
testzlib.vcproj
zlibstat.vcproj
zlibvc.def
zlibvc.sln
zlibvc.vcproj
miniunz.vcproj
minizip.vcproj
testzlib.vcproj
testzlibdll.vcproj
zlibstat.vcproj
zlibvc.def
zlibvc.sln
zlibvc.vcproj
readme.txt
README.contrib
README.examples
zlib_how.html
expat.defines.txt
libcurl.dll
libcurl_imp.lib
libEGL.dll
libEGL.lib
libgles_cm.dll
libgles_cm.lib
libiconv.lib
libjpeg.lib
libpng.lib
libxml2.dll
libxml2.lib
libzlib.lib
third_party_versions.txt
proj.airplay
cocos2dx.mkf
proj.win32
cocos2d-win32.vcproj
cocos2d-win32.vcproj.admin-PC.admin.user
cocos2d-win32.vcproj.TENCENT.sharyuhuang.user
cocos2d-win32.vcxproj
cocos2d-win32.vcxproj.filters
cocos2d-win32.vcxproj.user
proj.wophone
cocos2d-wophone.TMK3
cocos2d-wophone.vcproj
Makefile-dynamic.ARM
Makefile.ARM
script_support
sprite_nodes
data_support
image_support
zip_support
text_input_node
tileMap_parallax_nodes
touch_dispatcher
Android.mk
CocosDenshion
Android.mk
SimpleAudioEngine.mm
proj.airplay
CocosDenshion.mkf
proj.win32
CocosDenshion.win32.vcproj
CocosDenshion.win32.vcproj.admin-PC.admin.user
CocosDenshion.win32.vcproj.TENCENT.sharyuhuang.user
CocosDenshion.win32.vcproj.user
CocosDenshion.win32.vcxproj
CocosDenshion.win32.vcxproj.filters
CocosDenshion.win32.vcxproj.user
proj.wophone
CocosDenshion.wophone.vcproj
Makefile-dynamic.ARM
Makefile.ARM
SimpleAudioEngine_Arm_wophone.TMK3
zip_support
btn_down.png
btn_left.png
btn_normal.png
btn_right.png
btn_up.png
CloseNormal.png
CloseSelected.png
down_floor.png
HelloWorld.png
terrain.png
up_floor.png
MTGame.ico
MTGame.win32.vcproj
MTGame.win32.vcproj.admin-PC.admin.user
MTGame.win32.vcproj.TENCENT.sharyuhuang.user
MTGame.win32.vcproj.user
.gitignore
build-win32.bat
build-wophone.sh
cocos2d-win32.vc2008.sln
LICENSE.artwork
LICENSE.box2d
LICENSE.chipmunk
LICENSE.cocos2d-x
LICENSE.tolua++
README.mdown
* Test program for gzifstream and gzofstream
* by Ludwig Schwardt &schwardt@sun.ac.za&
* original version by Kevin Ruland &kevin@rodin.wustl.edu&
#include &zfstream.h&
#include &iostream&
// for cout
int main() {
char buf[80];
outf.open(&test1.txt.gz&);
outf && &The quick brown fox sidestepped the lazy canine\n&
&& 1.3 && &\nPlan & && 9 && std::
outf.close();
std::cout && &Wrote the following message to 'test1.txt.gz' (check with zcat or zless):\n&
&& &The quick brown fox sidestepped the lazy canine\n&
&& 1.3 && &\nPlan & && 9 && std::
std::cout && &\nReading 'test1.txt.gz' (buffered) produces:\n&;
inf.open(&test1.txt.gz&);
while (inf.getline(buf,80,'\n')) {
std::cout && buf && &\t(& && inf.rdbuf()-&in_avail() && & chars left in buffer)\n&;
inf.close();
outf.rdbuf()-&pubsetbuf(0,0);
outf.open(&test2.txt.gz&);
outf && setcompression(Z_NO_COMPRESSION)
&& &The quick brown fox sidestepped the lazy canine\n&
&& 1.3 && &\nPlan & && 9 && std::
outf.close();
std::cout && &\nWrote the same message to 'test2.txt.gz' in uncompressed form&;
std::cout && &\nReading 'test2.txt.gz' (unbuffered) produces:\n&;
inf.rdbuf()-&pubsetbuf(0,0);
inf.open(&test2.txt.gz&);
while (inf.getline(buf,80,'\n')) {
std::cout && buf && &\t(& && inf.rdbuf()-&in_avail() && & chars left in buffer)\n&;
inf.close();
Copyright(C)
OKBASE.NET All Rights Reserved 好库网 版权所有