├── rsTest-12.11 ├── proj.blackberry │ ├── empty │ │ └── empty │ ├── icon.png │ ├── main.cpp │ └── .project ├── proj.winrt │ ├── pch.cpp │ ├── pch.h │ ├── Assets │ │ ├── Logo.png │ │ ├── SmallLogo.png │ │ ├── StoreLogo.png │ │ ├── WideLogo.png │ │ └── SplashScreen.png │ ├── TemporaryKey.pfx │ ├── App.xaml │ ├── Package.appxmanifest │ ├── MainPage.xaml │ ├── Package_2013.appxmanifest │ ├── App.xaml.h │ ├── MainPage.xaml.h │ ├── rsTest_2013.vcxproj.filters │ ├── rsTest.vcxproj.filters │ ├── MainPage.xaml.cpp │ └── App.xaml.cpp ├── proj.marmalade │ ├── src │ │ ├── Main.h │ │ └── Main.cpp │ └── rsTest.mkb ├── proj.mac │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Icon.icns │ ├── Info.plist │ ├── main.m │ ├── AppController.h │ └── AppController.mm ├── Resources │ ├── b.png │ ├── bg.png │ ├── shoot.png │ ├── HelloWorld.png │ ├── CloseNormal.png │ ├── CloseSelected.png │ ├── fonts │ │ ├── arial.ttf │ │ └── Marker Felt.ttf │ └── sound │ │ ├── bullet.mp3 │ │ ├── button.mp3 │ │ ├── game_over.mp3 │ │ ├── get_bomb.mp3 │ │ ├── out_porp.mp3 │ │ ├── use_bomb.mp3 │ │ ├── achievement.mp3 │ │ ├── enemy0_down.mp3 │ │ ├── enemy1_down.mp3 │ │ ├── enemy2_down.mp3 │ │ ├── game_music.mp3 │ │ ├── get_double_laser.mp3 │ │ └── big_spaceship_flying.mp3 ├── Classes │ ├── GameScene.h │ ├── EndedScene.cpp │ ├── GameScene.cpp │ ├── HelloWorldScene.cpp │ ├── Bullet.h │ ├── Bullet.cpp │ ├── EndedScene.h │ ├── Enemy.h │ ├── Player.h │ ├── HelloWorldScene.h │ ├── Enemy.cpp │ ├── AppDelegate.h │ ├── AppDelegate.cpp │ └── Player.cpp ├── proj.ios │ ├── Default.png │ ├── Icon-114.png │ ├── Icon-120.png │ ├── Icon-144.png │ ├── Icon-152.png │ ├── Icon-57.png │ ├── Icon-72.png │ ├── Icon-76.png │ ├── Default@2x.png │ ├── Default-568h@2x.png │ ├── RootViewController.h │ ├── AppController.h │ ├── main.m │ ├── Info.plist │ ├── RootViewController.mm │ └── AppController.mm ├── proj.wp8 │ ├── Assets │ │ ├── AlignmentGrid.png │ │ ├── ApplicationIcon.png │ │ └── Tiles │ │ │ ├── IconicTileSmall.png │ │ │ ├── FlipCycleTileLarge.png │ │ │ ├── FlipCycleTileSmall.png │ │ │ ├── FlipCycleTileMedium.png │ │ │ └── IconicTileMediumLarge.png │ ├── rsTest.h │ ├── WMAppManifest.xml │ └── rsTest.vcxproj.filters ├── proj.android │ ├── jni │ │ ├── Application.mk │ │ ├── Android.mk │ │ └── hellocpp │ │ │ └── main.cpp │ ├── res │ │ ├── drawable-hdpi │ │ │ └── icon.png │ │ ├── drawable-ldpi │ │ │ └── icon.png │ │ ├── drawable-mdpi │ │ │ └── icon.png │ │ └── values │ │ │ └── strings.xml │ ├── .classpath │ ├── project.properties │ ├── ant.properties │ ├── proguard-project.txt │ ├── AndroidManifest.xml │ ├── build_native.sh │ ├── src │ │ └── com │ │ │ └── MyCompany │ │ │ └── Game │ │ │ └── rsTest.java │ ├── README.md │ ├── build.xml │ └── .project ├── proj.win32 │ ├── main.h │ ├── main.cpp │ ├── rsTest.vcxproj.filters │ └── rsTest.sln └── proj.linux │ ├── main.cpp │ ├── Makefile │ ├── build.sh │ └── .project ├── buttonsTest ├── 程序说明.txt ├── proj.win32 │ ├── test.opensdf │ ├── res │ │ └── game.ico │ ├── main.h │ ├── resource.h │ ├── main.cpp │ ├── test.vcxproj.filters │ ├── game.rc │ └── test.sln ├── Resources │ ├── Button1.png │ ├── Button2.png │ ├── Button3.png │ ├── Button1Sel.png │ ├── Button2Sel.png │ ├── Button3Sel.png │ ├── ButtonMinus.png │ ├── ButtonPlus.png │ ├── ButtonStar.png │ ├── CloseNormal.png │ ├── HelloWorld.png │ ├── ButtonMinusSel.png │ ├── ButtonPlusSel.png │ ├── ButtonStarSel.png │ ├── CloseSelected.png │ └── fonts │ │ └── Marker Felt.ttf ├── proj.ios_mac │ ├── ios │ │ ├── Default.png │ │ ├── Icon-29.png │ │ ├── Icon-40.png │ │ ├── Icon-50.png │ │ ├── Icon-57.png │ │ ├── Icon-58.png │ │ ├── Icon-72.png │ │ ├── Icon-76.png │ │ ├── Icon-80.png │ │ ├── Icon-100.png │ │ ├── Icon-114.png │ │ ├── Icon-120.png │ │ ├── Icon-144.png │ │ ├── Icon-152.png │ │ ├── Default@2x.png │ │ ├── Default-568h@2x.png │ │ ├── RootViewController.h │ │ ├── AppController.h │ │ ├── main.m │ │ ├── Info.plist │ │ ├── RootViewController.mm │ │ └── AppController.mm │ └── mac │ │ ├── Icon.icns │ │ ├── Info.plist │ │ └── main.cpp ├── proj.android │ ├── res │ │ ├── drawable-hdpi │ │ │ └── icon.png │ │ ├── drawable-ldpi │ │ │ └── icon.png │ │ ├── drawable-mdpi │ │ │ └── icon.png │ │ └── values │ │ │ └── strings.xml │ ├── jni │ │ ├── Application.mk │ │ ├── hellocpp │ │ │ └── main.cpp │ │ └── Android.mk │ ├── .classpath │ ├── project.properties │ ├── ant.properties │ ├── proguard-project.txt │ ├── src │ │ └── org │ │ │ └── cocos2dx │ │ │ └── cpp │ │ │ └── Cocos2dxActivity.java │ ├── AndroidManifest.xml │ ├── .project │ ├── README.md │ └── build.xml ├── proj.linux │ ├── main.cpp │ └── build.sh └── Classes │ ├── RadioMenu.h │ ├── HelloWorldScene.h │ ├── AppDelegate.h │ ├── AppDelegate.cpp │ ├── RadioMenu.cpp │ └── HelloWorldScene.cpp ├── SickHero └── res │ ├── sound │ ├── fall.ogg │ ├── kick.ogg │ ├── button.ogg │ ├── death.ogg │ ├── score.ogg │ ├── victory.ogg │ ├── stick_grow_loop.ogg │ └── musicConfig.txt │ └── image │ ├── bg │ ├── bg1.jpg │ ├── bg2.jpg │ ├── bg3.jpg │ ├── bg4.jpg │ ├── bg5.jpg │ └── moon.png │ ├── btnbg1.png │ ├── close.png │ ├── close1.png │ ├── empty1.png │ ├── empty2.png │ ├── empty3.png │ ├── empty4.png │ ├── hero1.png │ ├── hero2.png │ ├── hero3.png │ ├── hero4.png │ ├── listbg.png │ ├── lovered.png │ ├── scoreBg.png │ ├── stage1.png │ ├── stick1.png │ ├── uires_1.png │ ├── uires_2.png │ ├── uires_3.png │ ├── uires_5.png │ ├── uires_6.png │ ├── uires_7.png │ ├── uires_8.png │ ├── uires_9.png │ ├── listarrow.png │ ├── propres1.png │ ├── propres2.png │ ├── propres3.png │ ├── propres4.png │ ├── propsBg1.png │ ├── proptips1.png │ ├── proptips2.png │ ├── proptips3.png │ ├── renamebg.png │ ├── scoreAdd1.png │ ├── uires_10.png │ ├── uires_11.png │ ├── zhidaole.png │ ├── zhidaole1.png │ ├── anim1 │ ├── kick1.png │ ├── kick2.png │ ├── kick3.png │ ├── kick4.png │ ├── kick5.png │ ├── stay1.png │ ├── stay2.png │ ├── stay3.png │ ├── stay4.png │ ├── stay5.png │ ├── walk1.png │ ├── walk2.png │ ├── walk3.png │ ├── walk4.png │ └── walk5.png │ ├── anim2 │ ├── kick1.png │ ├── kick2.png │ ├── kick3.png │ ├── kick4.png │ ├── kick5.png │ ├── stay1.png │ ├── stay2.png │ ├── stay3.png │ ├── stay4.png │ ├── stay5.png │ ├── walk1.png │ ├── walk2.png │ ├── walk3.png │ ├── walk4.png │ └── walk5.png │ ├── anim3 │ ├── kick1.png │ ├── kick2.png │ ├── kick3.png │ ├── kick4.png │ ├── kick5.png │ ├── stay1.png │ ├── stay2.png │ ├── stay3.png │ ├── stay4.png │ ├── stay5.png │ ├── walk1.png │ ├── walk2.png │ ├── walk3.png │ ├── walk4.png │ └── walk5.png │ ├── anim4 │ ├── kick1.png │ ├── kick2.png │ ├── kick3.png │ ├── kick4.png │ ├── kick5.png │ ├── stay1.png │ ├── stay2.png │ ├── stay3.png │ ├── stay4.png │ ├── stay5.png │ ├── walk1.png │ ├── walk2.png │ ├── walk3.png │ ├── walk4.png │ └── walk5.png │ ├── clickrename.png │ ├── mainqiehuan.png │ ├── newherotry.png │ ├── reviveTips1.png │ ├── sureexitsure.png │ ├── weixinhaoyou.png │ ├── weixinpyquan.png │ ├── propsDistance.png │ ├── sureexitcancel.png │ ├── clickrenamecancle.png │ ├── clickrenamesure.png │ └── sureexitcontent.png ├── cocos2dx_3.4game ├── 教程 │ ├── GO.png │ ├── new.png │ ├── run.png │ ├── create.png │ ├── debug.png │ ├── fight.png │ ├── player.png │ ├── setup.png │ ├── monster.png │ └── HelloWorld.png ├── player-hd.png ├── monster-hd.png ├── projectile-hd.png ├── AppDelegate.h ├── HelloWorldScene.h └── AppDelegate.cpp ├── README.md └── RadioMenu ├── RadioMenu.h └── RadioMenu.cpp /rsTest-12.11/proj.blackberry/empty/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/pch.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | #include "App.xaml.h" 5 | -------------------------------------------------------------------------------- /buttonsTest/程序说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/程序说明.txt -------------------------------------------------------------------------------- /buttonsTest/proj.win32/test.opensdf: -------------------------------------------------------------------------------- 1 | AdministratorAQFW02HBPL3JPH0 -------------------------------------------------------------------------------- /rsTest-12.11/proj.marmalade/src/Main.h: -------------------------------------------------------------------------------- 1 | #ifndef MAIN_H 2 | #define MAIN_H 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /SickHero/res/sound/fall.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/sound/fall.ogg -------------------------------------------------------------------------------- /SickHero/res/sound/kick.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/sound/kick.ogg -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/GO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/GO.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/new.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/run.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.mac/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /SickHero/res/image/bg/bg1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/bg/bg1.jpg -------------------------------------------------------------------------------- /SickHero/res/image/bg/bg2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/bg/bg2.jpg -------------------------------------------------------------------------------- /SickHero/res/image/bg/bg3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/bg/bg3.jpg -------------------------------------------------------------------------------- /SickHero/res/image/bg/bg4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/bg/bg4.jpg -------------------------------------------------------------------------------- /SickHero/res/image/bg/bg5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/bg/bg5.jpg -------------------------------------------------------------------------------- /SickHero/res/image/bg/moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/bg/moon.png -------------------------------------------------------------------------------- /SickHero/res/image/btnbg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/btnbg1.png -------------------------------------------------------------------------------- /SickHero/res/image/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/close.png -------------------------------------------------------------------------------- /SickHero/res/image/close1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/close1.png -------------------------------------------------------------------------------- /SickHero/res/image/empty1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/empty1.png -------------------------------------------------------------------------------- /SickHero/res/image/empty2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/empty2.png -------------------------------------------------------------------------------- /SickHero/res/image/empty3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/empty3.png -------------------------------------------------------------------------------- /SickHero/res/image/empty4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/empty4.png -------------------------------------------------------------------------------- /SickHero/res/image/hero1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/hero1.png -------------------------------------------------------------------------------- /SickHero/res/image/hero2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/hero2.png -------------------------------------------------------------------------------- /SickHero/res/image/hero3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/hero3.png -------------------------------------------------------------------------------- /SickHero/res/image/hero4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/hero4.png -------------------------------------------------------------------------------- /SickHero/res/image/listbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/listbg.png -------------------------------------------------------------------------------- /SickHero/res/image/lovered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/lovered.png -------------------------------------------------------------------------------- /SickHero/res/image/scoreBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/scoreBg.png -------------------------------------------------------------------------------- /SickHero/res/image/stage1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/stage1.png -------------------------------------------------------------------------------- /SickHero/res/image/stick1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/stick1.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_1.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_2.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_3.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_5.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_6.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_7.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_8.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_9.png -------------------------------------------------------------------------------- /SickHero/res/sound/button.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/sound/button.ogg -------------------------------------------------------------------------------- /SickHero/res/sound/death.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/sound/death.ogg -------------------------------------------------------------------------------- /SickHero/res/sound/score.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/sound/score.ogg -------------------------------------------------------------------------------- /SickHero/res/sound/victory.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/sound/victory.ogg -------------------------------------------------------------------------------- /cocos2dx_3.4game/player-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/player-hd.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/create.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/debug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/debug.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/fight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/fight.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/player.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/setup.png -------------------------------------------------------------------------------- /rsTest-12.11/Resources/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/b.png -------------------------------------------------------------------------------- /rsTest-12.11/Resources/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/bg.png -------------------------------------------------------------------------------- /SickHero/res/image/listarrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/listarrow.png -------------------------------------------------------------------------------- /SickHero/res/image/propres1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/propres1.png -------------------------------------------------------------------------------- /SickHero/res/image/propres2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/propres2.png -------------------------------------------------------------------------------- /SickHero/res/image/propres3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/propres3.png -------------------------------------------------------------------------------- /SickHero/res/image/propres4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/propres4.png -------------------------------------------------------------------------------- /SickHero/res/image/propsBg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/propsBg1.png -------------------------------------------------------------------------------- /SickHero/res/image/proptips1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/proptips1.png -------------------------------------------------------------------------------- /SickHero/res/image/proptips2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/proptips2.png -------------------------------------------------------------------------------- /SickHero/res/image/proptips3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/proptips3.png -------------------------------------------------------------------------------- /SickHero/res/image/renamebg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/renamebg.png -------------------------------------------------------------------------------- /SickHero/res/image/scoreAdd1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/scoreAdd1.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_10.png -------------------------------------------------------------------------------- /SickHero/res/image/uires_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/uires_11.png -------------------------------------------------------------------------------- /SickHero/res/image/zhidaole.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/zhidaole.png -------------------------------------------------------------------------------- /SickHero/res/image/zhidaole1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/zhidaole1.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/monster-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/monster-hd.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/monster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/monster.png -------------------------------------------------------------------------------- /rsTest-12.11/Classes/GameScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Classes/GameScene.h -------------------------------------------------------------------------------- /rsTest-12.11/Resources/shoot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/shoot.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.mac/Icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.mac/Icon.icns -------------------------------------------------------------------------------- /SickHero/res/image/anim1/kick1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/kick1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/kick2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/kick2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/kick3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/kick3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/kick4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/kick4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/kick5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/kick5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/stay1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/stay1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/stay2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/stay2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/stay3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/stay3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/stay4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/stay4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/stay5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/stay5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/walk1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/walk1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/walk2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/walk2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/walk3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/walk3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/walk4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/walk4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim1/walk5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim1/walk5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/kick1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/kick1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/kick2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/kick2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/kick3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/kick3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/kick4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/kick4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/kick5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/kick5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/stay1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/stay1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/stay2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/stay2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/stay3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/stay3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/stay4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/stay4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/stay5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/stay5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/walk1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/walk1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/walk2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/walk2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/walk3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/walk3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/walk4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/walk4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim2/walk5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim2/walk5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/kick1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/kick1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/kick2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/kick2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/kick3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/kick3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/kick4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/kick4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/kick5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/kick5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/stay1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/stay1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/stay2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/stay2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/stay3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/stay3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/stay4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/stay4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/stay5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/stay5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/walk1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/walk1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/walk2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/walk2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/walk3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/walk3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/walk4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/walk4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim3/walk5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim3/walk5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/kick1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/kick1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/kick2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/kick2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/kick3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/kick3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/kick4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/kick4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/kick5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/kick5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/stay1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/stay1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/stay2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/stay2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/stay3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/stay3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/stay4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/stay4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/stay5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/stay5.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/walk1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/walk1.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/walk2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/walk2.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/walk3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/walk3.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/walk4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/walk4.png -------------------------------------------------------------------------------- /SickHero/res/image/anim4/walk5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/anim4/walk5.png -------------------------------------------------------------------------------- /SickHero/res/image/clickrename.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/clickrename.png -------------------------------------------------------------------------------- /SickHero/res/image/mainqiehuan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/mainqiehuan.png -------------------------------------------------------------------------------- /SickHero/res/image/newherotry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/newherotry.png -------------------------------------------------------------------------------- /SickHero/res/image/reviveTips1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/reviveTips1.png -------------------------------------------------------------------------------- /SickHero/res/image/sureexitsure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/sureexitsure.png -------------------------------------------------------------------------------- /SickHero/res/image/weixinhaoyou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/weixinhaoyou.png -------------------------------------------------------------------------------- /SickHero/res/image/weixinpyquan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/weixinpyquan.png -------------------------------------------------------------------------------- /buttonsTest/Resources/Button1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/Button1.png -------------------------------------------------------------------------------- /buttonsTest/Resources/Button2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/Button2.png -------------------------------------------------------------------------------- /buttonsTest/Resources/Button3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/Button3.png -------------------------------------------------------------------------------- /buttonsTest/proj.win32/res/game.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.win32/res/game.ico -------------------------------------------------------------------------------- /cocos2dx_3.4game/projectile-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/projectile-hd.png -------------------------------------------------------------------------------- /cocos2dx_3.4game/教程/HelloWorld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/cocos2dx_3.4game/教程/HelloWorld.png -------------------------------------------------------------------------------- /rsTest-12.11/Classes/EndedScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Classes/EndedScene.cpp -------------------------------------------------------------------------------- /rsTest-12.11/Classes/GameScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Classes/GameScene.cpp -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Default.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Icon-114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Icon-114.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Icon-120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Icon-120.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Icon-144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Icon-144.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Icon-152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Icon-152.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Icon-57.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Icon-72.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Icon-76.png -------------------------------------------------------------------------------- /SickHero/res/image/propsDistance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/propsDistance.png -------------------------------------------------------------------------------- /SickHero/res/image/sureexitcancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/sureexitcancel.png -------------------------------------------------------------------------------- /buttonsTest/Resources/Button1Sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/Button1Sel.png -------------------------------------------------------------------------------- /buttonsTest/Resources/Button2Sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/Button2Sel.png -------------------------------------------------------------------------------- /buttonsTest/Resources/Button3Sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/Button3Sel.png -------------------------------------------------------------------------------- /buttonsTest/Resources/ButtonMinus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/ButtonMinus.png -------------------------------------------------------------------------------- /buttonsTest/Resources/ButtonPlus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/ButtonPlus.png -------------------------------------------------------------------------------- /buttonsTest/Resources/ButtonStar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/ButtonStar.png -------------------------------------------------------------------------------- /buttonsTest/Resources/CloseNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/CloseNormal.png -------------------------------------------------------------------------------- /buttonsTest/Resources/HelloWorld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/HelloWorld.png -------------------------------------------------------------------------------- /rsTest-12.11/Resources/HelloWorld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/HelloWorld.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.blackberry/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.blackberry/icon.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Default@2x.png -------------------------------------------------------------------------------- /SickHero/res/image/clickrenamecancle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/clickrenamecancle.png -------------------------------------------------------------------------------- /SickHero/res/image/clickrenamesure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/clickrenamesure.png -------------------------------------------------------------------------------- /SickHero/res/image/sureexitcontent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/image/sureexitcontent.png -------------------------------------------------------------------------------- /SickHero/res/sound/stick_grow_loop.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/SickHero/res/sound/stick_grow_loop.ogg -------------------------------------------------------------------------------- /buttonsTest/Resources/ButtonMinusSel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/ButtonMinusSel.png -------------------------------------------------------------------------------- /buttonsTest/Resources/ButtonPlusSel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/ButtonPlusSel.png -------------------------------------------------------------------------------- /buttonsTest/Resources/ButtonStarSel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/ButtonStarSel.png -------------------------------------------------------------------------------- /buttonsTest/Resources/CloseSelected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/CloseSelected.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Default.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-29.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-40.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-50.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-57.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-58.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-72.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-76.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-80.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/mac/Icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/mac/Icon.icns -------------------------------------------------------------------------------- /rsTest-12.11/Classes/HelloWorldScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Classes/HelloWorldScene.cpp -------------------------------------------------------------------------------- /rsTest-12.11/Resources/CloseNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/CloseNormal.png -------------------------------------------------------------------------------- /rsTest-12.11/Resources/CloseSelected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/CloseSelected.png -------------------------------------------------------------------------------- /rsTest-12.11/Resources/fonts/arial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/fonts/arial.ttf -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/bullet.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/bullet.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/button.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/button.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/Assets/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.winrt/Assets/Logo.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.winrt/TemporaryKey.pfx -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-100.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-114.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-120.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-144.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Icon-152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Icon-152.png -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/game_over.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/game_over.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/get_bomb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/get_bomb.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/out_porp.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/out_porp.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/use_bomb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/use_bomb.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.ios/Default-568h@2x.png -------------------------------------------------------------------------------- /buttonsTest/Resources/fonts/Marker Felt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/Resources/fonts/Marker Felt.ttf -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Default@2x.png -------------------------------------------------------------------------------- /rsTest-12.11/Resources/fonts/Marker Felt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/fonts/Marker Felt.ttf -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/achievement.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/achievement.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/enemy0_down.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/enemy0_down.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/enemy1_down.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/enemy1_down.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/enemy2_down.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/enemy2_down.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/game_music.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/game_music.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/Assets/SmallLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.winrt/Assets/SmallLogo.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.winrt/Assets/StoreLogo.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/Assets/WideLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.winrt/Assets/WideLogo.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/Assets/SplashScreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.winrt/Assets/SplashScreen.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.wp8/Assets/AlignmentGrid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.wp8/Assets/AlignmentGrid.png -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.ios_mac/ios/Default-568h@2x.png -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/get_double_laser.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/get_double_laser.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/proj.wp8/Assets/ApplicationIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.wp8/Assets/ApplicationIcon.png -------------------------------------------------------------------------------- /buttonsTest/proj.android/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.android/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /buttonsTest/proj.android/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.android/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /buttonsTest/proj.android/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/buttonsTest/proj.android/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 3 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.android/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.android/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.android/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /rsTest-12.11/Resources/sound/big_spaceship_flying.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/Resources/sound/big_spaceship_flying.mp3 -------------------------------------------------------------------------------- /rsTest-12.11/proj.wp8/Assets/Tiles/IconicTileSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.wp8/Assets/Tiles/IconicTileSmall.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/RootViewController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | @interface RootViewController : UIViewController { 5 | 6 | } 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.wp8/Assets/Tiles/FlipCycleTileLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.wp8/Assets/Tiles/FlipCycleTileLarge.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.wp8/Assets/Tiles/FlipCycleTileSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.wp8/Assets/Tiles/FlipCycleTileSmall.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.wp8/Assets/Tiles/FlipCycleTileMedium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.wp8/Assets/Tiles/FlipCycleTileMedium.png -------------------------------------------------------------------------------- /rsTest-12.11/proj.wp8/Assets/Tiles/IconicTileMediumLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/renshan/game/HEAD/rsTest-12.11/proj.wp8/Assets/Tiles/IconicTileMediumLarge.png -------------------------------------------------------------------------------- /buttonsTest/proj.android/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | test 4 | 5 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | rsTest 4 | 5 | -------------------------------------------------------------------------------- /buttonsTest/proj.android/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char 3 | -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/RootViewController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | @interface RootViewController : UIViewController { 5 | 6 | } 7 | - (BOOL) prefersStatusBarHidden; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### rsTest-2013.12.11 - 微信打飞机游戏Demo; 2 | 3 | ### buttonsTest - 在Cocos2d-x中创建各种按钮; 4 | 5 | ### RadioMenu - 封装的一个单选按钮类,cocos2d-x版本的。 6 | 7 | ### cocos2dx_3.4game - 如何使用cocos2dx_3.4制作一个简单的游戏 8 | 9 | ### SickHero - 一个休闲益智的小游戏 -------------------------------------------------------------------------------- /rsTest-12.11/Classes/Bullet.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "cocos2d.h" 3 | using namespace cocos2d; 4 | class Bullet:public cocos2d::CCSprite 5 | { 6 | public: 7 | static Bullet* createBullet(CCSpriteFrameCache* cache, char* s); 8 | 9 | }; 10 | 11 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/AppController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @class RootViewController; 4 | 5 | @interface AppController : NSObject { 6 | UIWindow *window; 7 | RootViewController *viewController; 8 | } 9 | 10 | @end 11 | 12 | -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/AppController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @class RootViewController; 4 | 5 | @interface AppController : NSObject { 6 | UIWindow *window; 7 | RootViewController *viewController; 8 | } 9 | 10 | @end 11 | 12 | -------------------------------------------------------------------------------- /buttonsTest/proj.win32/main.h: -------------------------------------------------------------------------------- 1 | #ifndef __MAIN_H__ 2 | #define __MAIN_H__ 3 | 4 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 5 | 6 | // Windows Header Files: 7 | #include 8 | #include 9 | 10 | // C RunTime Header Files 11 | #include "CCStdC.h" 12 | 13 | #endif // __MAIN_H__ 14 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.win32/main.h: -------------------------------------------------------------------------------- 1 | #ifndef __MAIN_H__ 2 | #define __MAIN_H__ 3 | 4 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 5 | 6 | // Windows Header Files: 7 | #include 8 | #include 9 | 10 | // C RunTime Header Files 11 | #include "CCStdC.h" 12 | 13 | #endif // __MAIN_H__ 14 | -------------------------------------------------------------------------------- /rsTest-12.11/Classes/Bullet.cpp: -------------------------------------------------------------------------------- 1 | #include "Bullet.h" 2 | 3 | 4 | Bullet* Bullet::createBullet(CCSpriteFrameCache* cache, char* s){ 5 | 6 | Bullet *bullet = new Bullet(); 7 | if (bullet->initWithSpriteFrame(cache->spriteFrameByName(s))) 8 | { 9 | bullet->autorelease(); 10 | return bullet; 11 | 12 | } 13 | CC_SAFE_DELETE(bullet); 14 | return NULL; 15 | } 16 | 17 | 18 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.marmalade/src/Main.cpp: -------------------------------------------------------------------------------- 1 | // Application main file. 2 | 3 | #include "Main.h" 4 | #include "../Classes/AppDelegate.h" 5 | 6 | // Cocos2dx headers 7 | #include "cocos2d.h" 8 | 9 | // Marmaladeheaders 10 | #include "IwGL.h" 11 | 12 | USING_NS_CC; 13 | 14 | int main() 15 | { 16 | AppDelegate app; 17 | 18 | return cocos2d::CCApplication::sharedApplication()->Run(); 19 | } 20 | -------------------------------------------------------------------------------- /rsTest-12.11/Classes/EndedScene.h: -------------------------------------------------------------------------------- 1 | #ifndef __ENDED_SCENE_H__ 2 | #define __ENDED_SCENE_H__ 3 | #include "cocos2d.h" 4 | 5 | class EndedScene : public cocos2d::CCLayer 6 | { 7 | public: 8 | virtual bool init(); 9 | 10 | CREATE_FUNC(EndedScene); 11 | void menuRestartCallback(CCObject* pSender); 12 | void initScene(); 13 | void addScoreLabel(); 14 | 15 | int highestScore ; 16 | }; 17 | 18 | #endif -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.ios/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | // Under iOS and the Simulator, we can use an alternate Accelerometer interface 4 | #import "AccelerometerSimulation.h" 5 | 6 | int main(int argc, char *argv[]) { 7 | 8 | NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 9 | int retVal = UIApplicationMain(argc, argv, nil, @"AppController"); 10 | [pool release]; 11 | return retVal; 12 | } 13 | -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/ios/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | // Under iOS and the Simulator, we can use an alternate Accelerometer interface 4 | #import "AccelerometerSimulation.h" 5 | 6 | int main(int argc, char *argv[]) { 7 | 8 | NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 9 | int retVal = UIApplicationMain(argc, argv, nil, @"AppController"); 10 | [pool release]; 11 | return retVal; 12 | } 13 | -------------------------------------------------------------------------------- /buttonsTest/proj.linux/main.cpp: -------------------------------------------------------------------------------- 1 | #include "../Classes/AppDelegate.h" 2 | #include "cocos2d.h" 3 | #include "CCEGLView.h" 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | USING_NS_CC; 11 | 12 | int main(int argc, char **argv) 13 | { 14 | // create the application instance 15 | AppDelegate app; 16 | EGLView eglView; 17 | eglView.init("Cocos2d-x Game",900,640); 18 | return Application::getInstance()->run(); 19 | } 20 | -------------------------------------------------------------------------------- /buttonsTest/proj.android/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /buttonsTest/proj.android/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-10 12 | 13 | android.library.reference.1=../cocos2d/cocos/2d/platform/android/java 14 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-8 12 | 13 | android.library.reference.1=../../../cocos2dx/platform/android/java 14 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.linux/main.cpp: -------------------------------------------------------------------------------- 1 | #include "../Classes/AppDelegate.h" 2 | #include "cocos2d.h" 3 | #include "CCEGLView.h" 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | USING_NS_CC; 11 | 12 | int main(int argc, char **argv) 13 | { 14 | // create the application instance 15 | AppDelegate app; 16 | CCEGLView* eglView = CCEGLView::sharedOpenGLView(); 17 | eglView->setFrameSize(800, 480); 18 | return CCApplication::sharedApplication()->run(); 19 | } 20 | -------------------------------------------------------------------------------- /buttonsTest/proj.android/jni/hellocpp/main.cpp: -------------------------------------------------------------------------------- 1 | #include "AppDelegate.h" 2 | #include "cocos2d.h" 3 | #include "CCEventType.h" 4 | #include "platform/android/jni/JniHelper.h" 5 | #include 6 | #include 7 | 8 | #define LOG_TAG "main" 9 | #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) 10 | 11 | using namespace cocos2d; 12 | 13 | void cocos_android_app_init (struct android_app* app) { 14 | LOGD("cocos_android_app_init"); 15 | AppDelegate *pAppDelegate = new AppDelegate(); 16 | } 17 | -------------------------------------------------------------------------------- /buttonsTest/proj.linux/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Exit on error 4 | set -e 5 | 6 | rm -rf ../bin 7 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 8 | 9 | #make global libs 10 | cd ../cocos2d 11 | #install depend libs 12 | sudo ./build/install-deps-linux.sh 13 | mkdir -p linux-build 14 | cd linux-build 15 | cmake .. -DBUILD_LIBS_LUA=OFF -DBUILD_HelloCpp=OFF -DBUILD_TestCpp=OFF -DBUILD_HelloLua=OFF -DBUILD_TestLua=OFF 16 | make -j4 17 | 18 | #make bin 19 | cd $DIR 20 | rm -rf bin 21 | mkdir -p build 22 | cd build 23 | cmake ../.. 24 | make -j4 25 | cd .. 26 | mv ../bin bin 27 | -------------------------------------------------------------------------------- /buttonsTest/proj.win32/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by game.RC 4 | // 5 | 6 | #define IDS_PROJNAME 100 7 | #define IDR_TESTJS 100 8 | 9 | #define ID_FILE_NEW_WINDOW 32771 10 | 11 | // Next default values for new objects 12 | // 13 | #ifdef APSTUDIO_INVOKED 14 | #ifndef APSTUDIO_READONLY_SYMBOLS 15 | #define _APS_NEXT_RESOURCE_VALUE 201 16 | #define _APS_NEXT_CONTROL_VALUE 1000 17 | #define _APS_NEXT_SYMED_VALUE 101 18 | #define _APS_NEXT_COMMAND_VALUE 32775 19 | #endif 20 | #endif 21 | -------------------------------------------------------------------------------- /buttonsTest/proj.win32/main.cpp: -------------------------------------------------------------------------------- 1 | #include "main.h" 2 | #include "AppDelegate.h" 3 | #include "CCEGLView.h" 4 | 5 | USING_NS_CC; 6 | 7 | int APIENTRY _tWinMain(HINSTANCE hInstance, 8 | HINSTANCE hPrevInstance, 9 | LPTSTR lpCmdLine, 10 | int nCmdShow) 11 | { 12 | UNREFERENCED_PARAMETER(hPrevInstance); 13 | UNREFERENCED_PARAMETER(lpCmdLine); 14 | 15 | // create the application instance 16 | AppDelegate app; 17 | EGLView eglView; 18 | eglView.init("TestCPP",900,640); 19 | return Application::getInstance()->run(); 20 | } 21 | -------------------------------------------------------------------------------- /rsTest-12.11/Classes/Enemy.h: -------------------------------------------------------------------------------- 1 | #ifndef _Enemy_H_ 2 | #define _Enemy_H_ 3 | #include "cocos2d.h" 4 | using namespace cocos2d; 5 | 6 | struct EnemyInfo{ 7 | int type; 8 | int lifNum; 9 | int score; 10 | int speed; 11 | }; 12 | class Enemy : public cocos2d::CCSprite 13 | { 14 | public: 15 | static Enemy *createEnemy( CCSpriteFrameCache* cache, char* s, int type); 16 | 17 | float getSpeed(); 18 | 19 | void setType(int Type); 20 | int getType(); 21 | 22 | int lifeNum; 23 | int score; 24 | EnemyInfo* enemyInfo; 25 | 26 | private: 27 | int type; 28 | float speed; 29 | 30 | }; 31 | 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /rsTest-12.11/Classes/Player.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "cocos2d.h" 3 | using namespace cocos2d; 4 | 5 | 6 | class Player:public CCSprite, public CCTouchDelegate 7 | { 8 | public: 9 | static Player* creates( CCSpriteFrameCache* cache, char* s ); 10 | bool GetPressDownState(); 11 | 12 | private: 13 | bool isPressDown; 14 | bool isMove; 15 | private: 16 | virtual void onEnter(); 17 | virtual void onExit(); 18 | 19 | virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent); 20 | virtual void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent); 21 | virtual void ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent); 22 | }; 23 | 24 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.win32/main.cpp: -------------------------------------------------------------------------------- 1 | #include "main.h" 2 | #include "AppDelegate.h" 3 | #include "CCEGLView.h" 4 | 5 | USING_NS_CC; 6 | 7 | int APIENTRY _tWinMain(HINSTANCE hInstance, 8 | HINSTANCE hPrevInstance, 9 | LPTSTR lpCmdLine, 10 | int nCmdShow) 11 | { 12 | UNREFERENCED_PARAMETER(hPrevInstance); 13 | UNREFERENCED_PARAMETER(lpCmdLine); 14 | 15 | // create the application instance 16 | AppDelegate app; 17 | CCEGLView* eglView = CCEGLView::sharedOpenGLView(); 18 | eglView->setViewName("rsTest"); 19 | eglView->setFrameSize(480, 852); 20 | return CCApplication::sharedApplication()->run(); 21 | } 22 | -------------------------------------------------------------------------------- /buttonsTest/proj.android/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := cocos2dcpp_shared 6 | 7 | LOCAL_MODULE_FILENAME := libcocos2dcpp 8 | 9 | LOCAL_SRC_FILES := hellocpp/main.cpp \ 10 | ../../Classes/AppDelegate.cpp \ 11 | ../../Classes/HelloWorldScene.cpp 12 | 13 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes 14 | 15 | LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static 16 | LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static 17 | LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static 18 | 19 | 20 | include $(BUILD_SHARED_LIBRARY) 21 | 22 | $(call import-module,2d) 23 | $(call import-module,audio/android) 24 | $(call import-module,Box2D) 25 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.blackberry/main.cpp: -------------------------------------------------------------------------------- 1 | #include "cocos2d.h" 2 | #include "AppDelegate.h" 3 | 4 | USING_NS_CC; 5 | 6 | int main(int argc, char **argv) 7 | { 8 | // create the application instance 9 | AppDelegate app; 10 | 11 | int width, height; 12 | const char *width_str, *height_str; 13 | width_str = getenv("WIDTH"); 14 | height_str = getenv("HEIGHT"); 15 | if (width_str && height_str) 16 | { 17 | width = atoi(width_str); 18 | height = atoi(height_str); 19 | } 20 | else 21 | { 22 | width = 1024; 23 | height = 600; 24 | } 25 | 26 | CCEGLView* eglView = CCEGLView::sharedOpenGLView(); 27 | eglView->setFrameSize(width, height); 28 | 29 | return CCApplication::sharedApplication()->run(); 30 | } 31 | -------------------------------------------------------------------------------- /buttonsTest/proj.android/ant.properties: -------------------------------------------------------------------------------- 1 | # This file is used to override default values used by the Ant build system. 2 | # 3 | # This file must be checked into Version Control Systems, as it is 4 | # integral to the build system of your project. 5 | 6 | # This file is only used by the Ant script. 7 | 8 | # You can use this to override default values such as 9 | # 'source.dir' for the location of your java source folder and 10 | # 'out.dir' for the location of your output folder. 11 | 12 | # You can also use it define how the release builds are signed by declaring 13 | # the following properties: 14 | # 'key.store' for the location of your keystore and 15 | # 'key.alias' for the name of the key to use. 16 | # The password will be asked during the build when you use the 'release' target. 17 | 18 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/ant.properties: -------------------------------------------------------------------------------- 1 | # This file is used to override default values used by the Ant build system. 2 | # 3 | # This file must be checked into Version Control Systems, as it is 4 | # integral to the build system of your project. 5 | 6 | # This file is only used by the Ant script. 7 | 8 | # You can use this to override default values such as 9 | # 'source.dir' for the location of your java source folder and 10 | # 'out.dir' for the location of your output folder. 11 | 12 | # You can also use it define how the release builds are signed by declaring 13 | # the following properties: 14 | # 'key.store' for the location of your keystore and 15 | # 'key.alias' for the name of the key to use. 16 | # The password will be asked during the build when you use the 'release' target. 17 | 18 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.marmalade/rsTest.mkb: -------------------------------------------------------------------------------- 1 | options 2 | { 3 | module_path="../../../cocos2dx/proj.marmalade/;../../../CocosDenshion/proj.marmalade/;../../../extensions/proj.marmalade/;../../../external/chipmunk/proj.marmalade/;../../../external/Box2D/proj.marmalade/" 4 | s3e-data-dir = "../Resources/" 5 | } 6 | 7 | includepaths 8 | { 9 | ../Classes 10 | } 11 | subprojects 12 | { 13 | IwGL 14 | cocos2dx 15 | cocos2dx-ext 16 | Box2D 17 | CocosDenshion 18 | # chipmunk 19 | } 20 | 21 | defines 22 | { 23 | CC_ENABLE_BOX2D_INTEGRATION=1 24 | } 25 | assets 26 | { 27 | (../Resources) 28 | } 29 | 30 | files 31 | { 32 | [Main] 33 | (src) 34 | Main.h 35 | Main.cpp 36 | 37 | (../Classes) 38 | AppDelegate.cpp 39 | AppDelegate.h 40 | HelloWorldScene.cpp 41 | HelloWorldScene.h 42 | 43 | } 44 | 45 | 46 | -------------------------------------------------------------------------------- /rsTest-12.11/Classes/HelloWorldScene.h: -------------------------------------------------------------------------------- 1 | #ifndef __HELLOWORLD_SCENE_H__ 2 | #define __HELLOWORLD_SCENE_H__ 3 | 4 | #include "cocos2d.h" 5 | 6 | class HelloWorld : public cocos2d::CCLayer 7 | { 8 | public: 9 | // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone 10 | virtual bool init(); 11 | 12 | // there's no 'id' in cpp, so we recommend returning the class instance pointer 13 | static cocos2d::CCScene* scene(); 14 | 15 | // a selector callback 16 | void menuCloseCallback(CCObject* pSender); 17 | 18 | // implement the "static node()" method manually 19 | CREATE_FUNC(HelloWorld); 20 | 21 | void startClicked(CCObject* pSender); 22 | void startGame(float t); 23 | }; 24 | 25 | #endif // __HELLOWORLD_SCENE_H__ 26 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.linux/Makefile: -------------------------------------------------------------------------------- 1 | EXECUTABLE = rsTest 2 | 3 | INCLUDES = -I.. -I../Classes 4 | 5 | SOURCES = main.cpp \ 6 | ../Classes/AppDelegate.cpp \ 7 | ../Classes/HelloWorldScene.cpp 8 | 9 | COCOS_ROOT = ../../.. 10 | include $(COCOS_ROOT)/cocos2dx/proj.linux/cocos2dx.mk 11 | 12 | SHAREDLIBS += -lcocos2d 13 | COCOS_LIBS = $(LIB_DIR)/libcocos2d.so 14 | 15 | $(TARGET): $(OBJECTS) $(STATICLIBS) $(COCOS_LIBS) $(CORE_MAKEFILE_LIST) 16 | @mkdir -p $(@D) 17 | $(LOG_LINK)$(CXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(SHAREDLIBS) $(STATICLIBS) 18 | 19 | $(OBJ_DIR)/%.o: %.cpp $(CORE_MAKEFILE_LIST) 20 | @mkdir -p $(@D) 21 | $(LOG_CXX)$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) $(VISIBILITY) -c $< -o $@ 22 | 23 | $(OBJ_DIR)/%.o: ../%.cpp $(CORE_MAKEFILE_LIST) 24 | @mkdir -p $(@D) 25 | $(LOG_CXX)$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) $(VISIBILITY) -c $< -o $@ 26 | -------------------------------------------------------------------------------- /RadioMenu/RadioMenu.h: -------------------------------------------------------------------------------- 1 | #ifndef _Hello_RadioMenu_ 2 | #define _Hello_RadioMenu_ 3 | 4 | #include "cocos2d.h" 5 | 6 | USING_NS_CC; 7 | 8 | class RadioMenu : public cocos2d::Menu 9 | { 10 | public: 11 | 12 | static RadioMenu* create(cocos2d::MenuItem* item, ...); 13 | static RadioMenu* createWithArray(const Vector& arrayOfItems); 14 | static RadioMenu* createWithItem(MenuItem* item); 15 | static RadioMenu* createWithItems(MenuItem *firstItem, va_list args); 16 | 17 | 18 | virtual bool onTouchBegan(Touch* touch, Event* event); 19 | virtual void onTouchEnded(Touch* touch, Event* event); 20 | virtual void onTouchCancelled(Touch* touch, Event* event); 21 | virtual void onTouchMoved(Touch* touch, Event* event); 22 | 23 | void setSelectedItem_(cocos2d::MenuItem *item); 24 | 25 | cocos2d::MenuItem *_curHighlighted; 26 | 27 | }; 28 | 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /buttonsTest/Classes/RadioMenu.h: -------------------------------------------------------------------------------- 1 | #ifndef _Hello_RadioMenu_ 2 | #define _Hello_RadioMenu_ 3 | 4 | #include "cocos2d.h" 5 | 6 | USING_NS_CC; 7 | 8 | class RadioMenu : public cocos2d::Menu 9 | { 10 | public: 11 | 12 | static RadioMenu* create(cocos2d::MenuItem* item, ...); 13 | static RadioMenu* createWithArray(const Vector& arrayOfItems); 14 | static RadioMenu* createWithItem(MenuItem* item); 15 | static RadioMenu* createWithItems(MenuItem *firstItem, va_list args); 16 | 17 | 18 | virtual bool onTouchBegan(Touch* touch, Event* event); 19 | virtual void onTouchEnded(Touch* touch, Event* event); 20 | virtual void onTouchCancelled(Touch* touch, Event* event); 21 | virtual void onTouchMoved(Touch* touch, Event* event); 22 | 23 | void setSelectedItem_(cocos2d::MenuItem *item); 24 | 25 | cocos2d::MenuItem *_curHighlighted; 26 | 27 | }; 28 | 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /buttonsTest/proj.android/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /SickHero/res/sound/musicConfig.txt: -------------------------------------------------------------------------------- 1 | [{ 2 | "readMe" : "这是游戏中所有音乐和特效文件的全局配置文件,组织格式为JSON,文本格式为UTF-8,tag为别名,name为资源路径,和配置文件同级目录或者子目录下.isBGM为是否为背景音乐,如果不是写0或者不写." 3 | }, 4 | {"tag" : "bg1","name" : "sound/bg.ogg","isBGM" : 1}, 5 | {"tag" : "bg2","name" : "sound/bg.ogg","isBGM" : 1}, 6 | {"tag" : "bg3","name" : "sound/bg.ogg","isBGM" : 1}, 7 | {"tag" : "bg4","name" : "sound/bg.ogg","isBGM" : 1}, 8 | {"tag" : "bg5","name" : "sound/bg.ogg","isBGM" : 1}, 9 | {"tag" : "button","name" : "sound/button.ogg","isBGM" : 0}, 10 | {"tag" : "death","name" : "sound/death.ogg","isBGM" : 0}, 11 | {"tag" : "score","name" : "sound/score.ogg","isBGM" : 0}, 12 | {"tag" : "stick_fallen","name" : "sound/fall.ogg","isBGM" : 0}, 13 | {"tag" : "stick_grow_loop","name" : "sound/stick_grow_loop.ogg","isBGM" : 0}, 14 | {"tag" : "woodhit","name" : "sound/kick.ogg","isBGM" : 0}, 15 | {"tag" : "victory","name" : "sound/victory.ogg","isBGM" : 0} 16 | 17 | ] 18 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := cocos2dcpp_shared 6 | 7 | LOCAL_MODULE_FILENAME := libcocos2dcpp 8 | 9 | LOCAL_SRC_FILES := hellocpp/main.cpp \ 10 | ../../Classes/AppDelegate.cpp \ 11 | ../../Classes/HelloWorldScene.cpp 12 | 13 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes 14 | 15 | LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static 16 | LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static 17 | LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static 18 | LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static 19 | LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static 20 | 21 | include $(BUILD_SHARED_LIBRARY) 22 | 23 | $(call import-module,cocos2dx) 24 | $(call import-module,cocos2dx/platform/third_party/android/prebuilt/libcurl) 25 | $(call import-module,CocosDenshion/android) 26 | $(call import-module,extensions) 27 | $(call import-module,external/Box2D) 28 | $(call import-module,external/chipmunk) 29 | -------------------------------------------------------------------------------- /rsTest-12.11/Classes/Enemy.cpp: -------------------------------------------------------------------------------- 1 | #include "Enemy.h" 2 | 3 | USING_NS_CC; 4 | Enemy * Enemy::createEnemy( CCSpriteFrameCache* cache, char* s, int type) 5 | { 6 | Enemy *e = new Enemy(); 7 | CCSize visibleSize = CCDirector::sharedDirector()->getVisibleSize(); 8 | if (e && e->initWithSpriteFrame(cache->spriteFrameByName(s))) 9 | { 10 | e->autorelease(); 11 | if(type == 0){ 12 | e->speed = 8.0f; 13 | e->lifeNum = 1; 14 | e->score = 100; 15 | } 16 | else if(type == 1){ 17 | e->speed = 6.0f; 18 | e->lifeNum = 4; 19 | e->score =200; 20 | } 21 | else if(type ==2){ 22 | e->speed = 4.0f; 23 | e->lifeNum = 8; 24 | e->score = 1000; 25 | } 26 | e->setType( type ); 27 | e->setPosition(ccp(CCRANDOM_0_1()*visibleSize.width, visibleSize.height + e->getContentSize().height)); 28 | return e; 29 | } 30 | 31 | CC_SAFE_DELETE(e); 32 | return NULL; 33 | } 34 | 35 | void Enemy::setType(int Type){ 36 | type = Type; 37 | } 38 | 39 | int Enemy::getType() 40 | { 41 | return type; 42 | } 43 | float Enemy::getSpeed(){ 44 | 45 | return speed; 46 | } 47 | 48 | -------------------------------------------------------------------------------- /buttonsTest/Classes/HelloWorldScene.h: -------------------------------------------------------------------------------- 1 | #ifndef __HELLOWORLD_SCENE_H__ 2 | #define __HELLOWORLD_SCENE_H__ 3 | 4 | #include "cocos2d.h" 5 | 6 | USING_NS_CC; 7 | 8 | class HelloWorld : public cocos2d::Layer 9 | { 10 | public: 11 | // there's no 'id' in cpp, so we recommend returning the class instance pointer 12 | static cocos2d::Scene* createScene(); 13 | 14 | // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone 15 | virtual bool init(); 16 | 17 | // a selector callback 18 | void menuCloseCallback(Object* pSender); 19 | void starMenuCallback(Object* pSender); 20 | void plusMinusButtonCallback(Object* pSender); 21 | 22 | void but1Callback(Object* pSender); 23 | void but2Callback(Object* pSender); 24 | void but3Callback(Object* pSender); 25 | 26 | 27 | // implement the "static create()" method manually 28 | CREATE_FUNC(HelloWorld); 29 | 30 | private: 31 | cocos2d::LabelTTF* label; 32 | cocos2d::MenuItem *_plusItem; 33 | cocos2d::MenuItem *_minusItem; 34 | }; 35 | 36 | #endif // __HELLOWORLD_SCENE_H__ 37 | -------------------------------------------------------------------------------- /buttonsTest/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java: -------------------------------------------------------------------------------- 1 | package org.cocos2dx.cpp; 2 | 3 | import android.app.NativeActivity; 4 | import android.os.Bundle; 5 | 6 | public class Cocos2dxActivity extends NativeActivity{ 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | // TODO Auto-generated method stub 11 | super.onCreate(savedInstanceState); 12 | 13 | //For supports translucency 14 | 15 | //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp 16 | /*const EGLint attribs[] = { 17 | EGL_SURFACE_TYPE, EGL_WINDOW_BIT, 18 | EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, 19 | //EGL_BLUE_SIZE, 5, -->delete 20 | //EGL_GREEN_SIZE, 6, -->delete 21 | //EGL_RED_SIZE, 5, -->delete 22 | EGL_BUFFER_SIZE, 32, //-->new field 23 | EGL_DEPTH_SIZE, 16, 24 | EGL_STENCIL_SIZE, 8, 25 | EGL_NONE 26 | };*/ 27 | 28 | //2.Set the format of window 29 | // getWindow().setFormat(PixelFormat.TRANSLUCENT); 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /buttonsTest/Classes/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #ifndef _APP_DELEGATE_H_ 2 | #define _APP_DELEGATE_H_ 3 | 4 | #include "cocos2d.h" 5 | 6 | /** 7 | @brief The cocos2d Application. 8 | 9 | The reason for implement as private inheritance is to hide some interface call by Director. 10 | */ 11 | class AppDelegate : private cocos2d::Application 12 | { 13 | public: 14 | AppDelegate(); 15 | virtual ~AppDelegate(); 16 | 17 | /** 18 | @brief Implement Director and Scene init code here. 19 | @return true Initialize success, app continue. 20 | @return false Initialize failed, app terminate. 21 | */ 22 | virtual bool applicationDidFinishLaunching(); 23 | 24 | /** 25 | @brief The function be called when the application enter background 26 | @param the pointer of the application 27 | */ 28 | virtual void applicationDidEnterBackground(); 29 | 30 | /** 31 | @brief The function be called when the application enter foreground 32 | @param the pointer of the application 33 | */ 34 | virtual void applicationWillEnterForeground(); 35 | }; 36 | 37 | #endif // _APP_DELEGATE_H_ 38 | 39 | -------------------------------------------------------------------------------- /rsTest-12.11/Classes/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #ifndef _APP_DELEGATE_H_ 2 | #define _APP_DELEGATE_H_ 3 | 4 | #include "cocos2d.h" 5 | 6 | /** 7 | @brief The cocos2d Application. 8 | 9 | The reason for implement as private inheritance is to hide some interface call by CCDirector. 10 | */ 11 | class AppDelegate : private cocos2d::CCApplication 12 | { 13 | public: 14 | AppDelegate(); 15 | virtual ~AppDelegate(); 16 | 17 | /** 18 | @brief Implement CCDirector and CCScene init code here. 19 | @return true Initialize success, app continue. 20 | @return false Initialize failed, app terminate. 21 | */ 22 | virtual bool applicationDidFinishLaunching(); 23 | 24 | /** 25 | @brief The function be called when the application enter background 26 | @param the pointer of the application 27 | */ 28 | virtual void applicationDidEnterBackground(); 29 | 30 | /** 31 | @brief The function be called when the application enter foreground 32 | @param the pointer of the application 33 | */ 34 | virtual void applicationWillEnterForeground(); 35 | }; 36 | 37 | #endif // _APP_DELEGATE_H_ 38 | 39 | -------------------------------------------------------------------------------- /cocos2dx_3.4game/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #ifndef _APP_DELEGATE_H_ 2 | #define _APP_DELEGATE_H_ 3 | 4 | #include "cocos2d.h" 5 | 6 | /** 7 | @brief The cocos2d Application. 8 | 9 | The reason for implement as private inheritance is to hide some interface call by Director. 10 | */ 11 | class AppDelegate : private cocos2d::Application 12 | { 13 | public: 14 | AppDelegate(); 15 | virtual ~AppDelegate(); 16 | 17 | virtual void initGLContextAttrs(); 18 | 19 | /** 20 | @brief Implement Director and Scene init code here. 21 | @return true Initialize success, app continue. 22 | @return false Initialize failed, app terminate. 23 | */ 24 | virtual bool applicationDidFinishLaunching(); 25 | 26 | /** 27 | @brief The function be called when the application enter background 28 | @param the pointer of the application 29 | */ 30 | virtual void applicationDidEnterBackground(); 31 | 32 | /** 33 | @brief The function be called when the application enter foreground 34 | @param the pointer of the application 35 | */ 36 | virtual void applicationWillEnterForeground(); 37 | }; 38 | 39 | #endif // _APP_DELEGATE_H_ 40 | 41 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.mac/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | Icon 11 | CFBundleIdentifier 12 | com.MyCompany.Game 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSMinimumSystemVersion 26 | ${MACOSX_DEPLOYMENT_TARGET} 27 | NSHumanReadableCopyright 28 | Copyright © 2012. All rights reserved. 29 | NSMainNibFile 30 | MainMenu 31 | NSPrincipalClass 32 | NSApplication 33 | 34 | 35 | -------------------------------------------------------------------------------- /cocos2dx_3.4game/HelloWorldScene.h: -------------------------------------------------------------------------------- 1 | #ifndef __HELLOWORLD_SCENE_H__ 2 | #define __HELLOWORLD_SCENE_H__ 3 | 4 | #include "cocos2d.h" 5 | USING_NS_CC; 6 | class HelloWorld : public cocos2d::Layer 7 | { 8 | public: 9 | // there's no 'id' in cpp, so we recommend returning the class instance pointer 10 | static cocos2d::Scene* createScene(); 11 | 12 | // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone 13 | virtual bool init(); 14 | 15 | // a selector callback 16 | void menuCloseCallback(cocos2d::Ref* pSender); 17 | void addMonster(float dt); 18 | void GameUpdate(float); 19 | // implement the "static create()" method manually 20 | virtual bool onTouchBegan(Touch* pTouch, Event* pEvent); 21 | virtual void onTouchMoved(Touch* pTouch, Event* pEvent); 22 | virtual void onTouchEnded(Touch* pTouch, Event* pEvent); 23 | 24 | bool onContactBegin(const PhysicsContact& contact); 25 | 26 | 27 | CREATE_FUNC(HelloWorld); 28 | private: 29 | std::vector Monster; 30 | std::vector projectile; 31 | EventListenerTouchOneByOne* touch_listener; 32 | EventListenerPhysicsContact* contact_listener; 33 | Sprite* _player; 34 | int i,j; 35 | }; 36 | 37 | #endif // __HELLOWORLD_SCENE_H__ 38 | -------------------------------------------------------------------------------- /buttonsTest/proj.ios_mac/mac/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | Icon 11 | CFBundleIdentifier 12 | org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSApplicationCategoryType 26 | public.app-category.games 27 | LSMinimumSystemVersion 28 | ${MACOSX_DEPLOYMENT_TARGET} 29 | NSHumanReadableCopyright 30 | Copyright © 2013. All rights reserved. 31 | NSMainNibFile 32 | MainMenu 33 | NSPrincipalClass 34 | NSApplication 35 | 36 | 37 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.android/jni/hellocpp/main.cpp: -------------------------------------------------------------------------------- 1 | #include "AppDelegate.h" 2 | #include "cocos2d.h" 3 | #include "CCEventType.h" 4 | #include "platform/android/jni/JniHelper.h" 5 | #include 6 | #include 7 | 8 | #define LOG_TAG "main" 9 | #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) 10 | 11 | using namespace cocos2d; 12 | 13 | extern "C" 14 | { 15 | 16 | jint JNI_OnLoad(JavaVM *vm, void *reserved) 17 | { 18 | JniHelper::setJavaVM(vm); 19 | 20 | return JNI_VERSION_1_4; 21 | } 22 | 23 | void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thiz, jint w, jint h) 24 | { 25 | if (!CCDirector::sharedDirector()->getOpenGLView()) 26 | { 27 | CCEGLView *view = CCEGLView::sharedOpenGLView(); 28 | view->setFrameSize(w, h); 29 | 30 | AppDelegate *pAppDelegate = new AppDelegate(); 31 | CCApplication::sharedApplication()->run(); 32 | } 33 | else 34 | { 35 | ccGLInvalidateStateCache(); 36 | CCShaderCache::sharedShaderCache()->reloadDefaultShaders(); 37 | ccDrawInit(); 38 | CCTextureCache::reloadAllTextures(); 39 | CCNotificationCenter::sharedNotificationCenter()->postNotification(EVENT_COME_TO_FOREGROUND, NULL); 40 | CCDirector::sharedDirector()->setGLDefaultValues(); 41 | } 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/Package.appxmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HelloCpp 6 | dalestam 7 | Assets\StoreLogo.png 8 | 9 | 10 | 6.2.1 11 | 6.2.1 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.mac/main.m: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2010 cocos2d-x.org 3 | 4 | http://www.cocos2d-x.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | ****************************************************************************/ 24 | 25 | #import 26 | 27 | int main(int argc, char *argv[]) 28 | { 29 | return NSApplicationMain(argc, (const char **)argv); 30 | } 31 | -------------------------------------------------------------------------------- /buttonsTest/Classes/AppDelegate.cpp: -------------------------------------------------------------------------------- 1 | #include "AppDelegate.h" 2 | #include "HelloWorldScene.h" 3 | 4 | USING_NS_CC; 5 | 6 | AppDelegate::AppDelegate() { 7 | 8 | } 9 | 10 | AppDelegate::~AppDelegate() 11 | { 12 | } 13 | 14 | bool AppDelegate::applicationDidFinishLaunching() { 15 | // initialize director 16 | auto director = Director::getInstance(); 17 | auto eglView = EGLView::getInstance(); 18 | 19 | director->setOpenGLView(eglView); 20 | 21 | // turn on display FPS 22 | director->setDisplayStats(true); 23 | 24 | // set FPS. the default value is 1.0/60 if you don't call this 25 | director->setAnimationInterval(1.0 / 60); 26 | 27 | // create a scene. it's an autorelease object 28 | auto scene = HelloWorld::createScene(); 29 | 30 | // run 31 | director->runWithScene(scene); 32 | 33 | return true; 34 | } 35 | 36 | // This function will be called when the app is inactive. When comes a phone call,it's be invoked too 37 | void AppDelegate::applicationDidEnterBackground() { 38 | Director::getInstance()->stopAnimation(); 39 | 40 | // if you use SimpleAudioEngine, it must be pause 41 | // SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic(); 42 | } 43 | 44 | // this function will be called when the app is active again 45 | void AppDelegate::applicationWillEnterForeground() { 46 | Director::getInstance()->startAnimation(); 47 | 48 | // if you use SimpleAudioEngine, it must resume here 49 | // SimpleAudioEngine::sharedEngine()->resumeBackgroundMusic(); 50 | } 51 | -------------------------------------------------------------------------------- /rsTest-12.11/Classes/AppDelegate.cpp: -------------------------------------------------------------------------------- 1 | #include "AppDelegate.h" 2 | #include "HelloWorldScene.h" 3 | 4 | USING_NS_CC; 5 | 6 | AppDelegate::AppDelegate() { 7 | 8 | } 9 | 10 | AppDelegate::~AppDelegate() 11 | { 12 | } 13 | 14 | bool AppDelegate::applicationDidFinishLaunching() { 15 | // initialize director 16 | CCDirector* pDirector = CCDirector::sharedDirector(); 17 | CCEGLView* pEGLView = CCEGLView::sharedOpenGLView(); 18 | 19 | pDirector->setOpenGLView(pEGLView); 20 | 21 | // turn on display FPS 22 | pDirector->setDisplayStats(true); 23 | 24 | // set FPS. the default value is 1.0/60 if you don't call this 25 | pDirector->setAnimationInterval(1.0 / 60); 26 | 27 | // create a scene. it's an autorelease object 28 | CCScene *pScene = HelloWorld::scene(); 29 | 30 | // run 31 | pDirector->runWithScene(pScene); 32 | 33 | return true; 34 | } 35 | 36 | // This function will be called when the app is inactive. When comes a phone call,it's be invoked too 37 | void AppDelegate::applicationDidEnterBackground() { 38 | CCDirector::sharedDirector()->stopAnimation(); 39 | 40 | // if you use SimpleAudioEngine, it must be pause 41 | // SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic(); 42 | } 43 | 44 | // this function will be called when the app is active again 45 | void AppDelegate::applicationWillEnterForeground() { 46 | CCDirector::sharedDirector()->startAnimation(); 47 | 48 | // if you use SimpleAudioEngine, it must resume here 49 | // SimpleAudioEngine::sharedEngine()->resumeBackgroundMusic(); 50 | } 51 | -------------------------------------------------------------------------------- /rsTest-12.11/proj.winrt/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 |