lasertowerspp:一个简单的塔防游戏,使用 C++ OpenGL GLUT

上传者: 42105570 | 上传时间: 2022-12-04 13:50:30 | 文件大小: 933KB | 文件类型: ZIP
C++
激光塔 一个简单的塔防游戏,使用 C++/OpenGL/GLUT 和一个简单的 2D 投影相机(鸟瞰图)。 依赖关系 (CMake) OpenGL 过剩 构建说明 CMake(所有系统,例如 OS X): brew install cmake mkdir build cd build && cmake .. && make -j8 ./lasertowerspp 或者,在 Mac 上,打开并编译 XCode 项目。 待办事项 软件模式(+想法): 模型-视图-控制器 通知(单例 + 观察者) 敌人/塔工厂 基本游戏布局的模板方法 增强塔功能的装饰器(+视图) 执行特殊炸弹的命令模式(和取消选项?) 粒子生成器,效果不错 能够与字段交互 卖塔 升级塔 升级系统以获得更强大的塔 抬头显示: 切换调试信息 显示资源 显示点数(被摧毁的敌人数量/每场比赛的敌人总数)

文件下载

资源详情

[{"title":"( 58 个子文件 933KB ) lasertowerspp:一个简单的塔防游戏,使用 C++ OpenGL GLUT","children":[{"title":"lasertowerspp-master","children":[{"title":"CMakeLists.txt <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"lasertowerspp.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"xcshareddata","children":[{"title":"lasertowerspp.xccheckout <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 29.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"UnitTestEnemyGenerator.h <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"test.cpp <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"UnitTestGameLose.h <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"UnitTestGameWin.h <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"UnitTestTemplate.h <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"screenshot.png <span style='color:#111;'> 105.42KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.cpp <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"opengl","children":[{"title":"gl_util.h <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"Input.cpp <span style='color:#111;'> 5.91KB </span>","children":null,"spread":false},{"title":"Texture2D.cpp <span style='color:#111;'> 4.39KB </span>","children":null,"spread":false},{"title":"gl_util.cpp <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false},{"title":"Texture2D.h <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"Input.h <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"System.h <span style='color:#111;'> 111B </span>","children":null,"spread":false}],"spread":true},{"title":"globals.h <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"lasertowerspp","children":[{"title":"LevelController.h <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false},{"title":"CostValueModel.h <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"LevelView.cpp <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"LevelView.h <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"GameController.cpp <span style='color:#111;'> 7.79KB </span>","children":null,"spread":false},{"title":"Tower.h <span style='color:#111;'> 938B </span>","children":null,"spread":false},{"title":"Image.h <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"NotificationCenter.h <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"util.h <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"GameFigureModel.h <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"Enemy.cpp <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"globals.h <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"GameControllerTemplate.cpp <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"Sprite.h <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"Sprite.cpp <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"SpriteFactory.cpp <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"LevelModel.h <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"GameModel.h <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"Attack.h <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"GameController.h <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"AttackController.h <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false},{"title":"SpriteFactoryAbstract.h <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"GameView.h <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"Enemy.h <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"SpriteFactory.h <span style='color:#111;'> 806B </span>","children":null,"spread":false},{"title":"GameControllerTemplate.h <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"Tower.cpp <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"util.cpp <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"GameView.cpp <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"InterfaceDrawable.h <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"LevelModel.cpp <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"EnemyGenerator.h <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"EnemyGenerator.cpp <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"Player.h <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"doc","children":[{"title":"Manual-Spanish.pdf <span style='color:#111;'> 300.53KB </span>","children":null,"spread":false},{"title":"Manual-Spanish.pages <span style='color:#111;'> 535.38KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明