Tip
抵制不良游戏 拒绝盗版游戏 注意自我保护 谨防受骗上当
适度游戏益脑 沉迷游戏伤身 合理安排时间 享受健康生活
Teamfight_Tactics
A project of Teamfight Tactics based on Cocos2d-x 3.17.2.
基于 Cocos2d-x 3.17.2 开发的金铲铲之战游戏项目。
Relevant course
- Programing Paradigm 2023 (2023年同济大学程序设计范式)
This project is a Teamfight Tactics game developed based on Cocos2d-x 3.17.2, inspired by games such as "Dota Auto Chess". It boasts a wealth of basic features, including captivating initial and settings interfaces, background music, a variety of cards and their upgrade systems, movement for tiny heroes, and in-game cards with red and blue health bars that can unleash abilities when the blue bar is full. Moreover, the game supports room creation and joining, offers practice mode and online gameplay, allowing players to compete against AI or other human players. The project also expands on multiple synergy enhancement functions and a strengthened rune system, along with sound effects during combat, providing a more rich and immersive gaming experience.
该项目是一个基于 Cocos2d-x 3.17.2 开发的金铲铲之战游戏,灵感来自于《Dota 自走棋》《云顶之弈》《金铲铲之战》等游戏。游戏拥有丰富的基础功能,如具有引人入胜的初始和设置界面、背景音效、多种卡牌及其升级系统、小小英雄的移动以及带有红蓝血条的场上卡牌,卡牌蓝条满时还能释放技能。此外,游戏支持创建和加入房间,提供练习模式和联机对弈,允许玩家与AI或其他人类玩家进行游戏。项目还扩展了多种羁绊的加强功能和强化符文系统,以及战斗中的音效,为玩家带来更加丰富和沉浸式的游戏体验。
姓名 | 学号 | 分工 |
---|---|---|
林继申 (组长) | 2250758 | 项目后端工作统筹 项目任务分工 代码审查 项目框架搭建 网络环境搭建 练习模式与联机模式 AppDelegate 类 Battle 类 HoverButton 类 Champion 类 Control 类及其派生类 ChampionAttributesLayer 类 PlacementMarkerLayer 类 ScoreBoardLayer 类 LocationMap 类 Player 类及其派生类 Scene 类及其派生类 Server 类 |
刘淑仪 | 2251730 | 项目前端工作统筹 练习模式与联机模式 Champion 类 ChampionAttributesLayer 类 PlacementMarkerLayer 类 ScoreBoardLayer 类 Scene 类及其派生类 图标绘制 按钮绘制 战斗英雄与小小英雄绘制 图像元素绘制 场景绘制 音频引擎 背景音乐与音效 |
杨兆镇 | 2252712 | 项目 AI 玩家算法统筹 练习模式 Player 类及其派生的 AIPlayer 类 |
杨宇琨 | 2252843 | 项目测试统筹 练习模式与联机模式 Battle 类 Champion 类 OfflineModeControl 类 HumanPlayer 类 OfflineModeBattleScene 类 OnlineModeBattleScene 类 战斗英雄绘制 项目答辩 PPT 制作 |
姓名 | 学号 | 代码行数 | 工作量 |
---|---|---|---|
林继申 (组长) | 2250758 | 5082 | 35% |
刘淑仪 | 2251730 | 1385 | 25% |
杨兆镇 | 2252712 | 467 | 15% |
杨宇琨 | 2252843 | 2282 | 25% |
git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' -; done
-
/Cocos2dx_Guide_LaTeX
从零开始的 Cocos2d-x 开发指南$\LaTeX$ 源代码 -
/src
项目源代码-
/Classes
类定义与类实现 -
/Resources
资源文件 -
/Server
服务器程序 -
/cocos2d
依赖文件 -
/proj.win32
游戏程序
-
-
Cocos2dx_Guide.pdf
从零开始的 Cocos2d-x 开发指南 -
Documentation.md
项目实现功能与项目技术细节文档 -
Project_Defense.pptx
项目答辩汇报
- Python 2.7.10 环境配置
- CMake 3.28.0 环境配置
- Cocos2d-x 4.0 环境配置
- 明确团队项目代码规范
- Markdown 语言掌握
- 学习 Cocos2d-x
- 项目托管 GitHub 仓库
- git 工具掌握
- GitHub Desktop 工具掌握
- 明确项目 git 提交规范
- 放弃 Cocos2d-x 4.0 环境,配置 Cocos2d-x 3.17.2 环境
- 编译 Cocos2d-x 3.17.2 测试项目
- 明确项目仓库组成
- Boost 网络环境配置
- 初步确定团队成员分工
- 放弃 Boost 网络环境,配置 socket 网络环境
- 初步搭建项目框架
- 实现
AppDelegate
类
- 初步搭建 socket 网络环境
- 基本搭建 socket 网络环境
- 基本实现
Server
类
- 基本确定团队成员分工
- 基本搭建项目框架
- 实现
HoverButton
类 - 实现
GBKToUTF8
类
- 绘制图标
- 初步实现商店功能
- 完善初始场景背景图与细节
- 实现
Champion
类的鼠标事件监听功能
- 完善项目框架
- 初步实现
Champion
类 - 初步实现
OfflineModeControl
类 - 初步实现
Player
类 - 初步实现
HumanPlayer
类 - 实现
InitialScene
类与交互细节 - 实现
LocationMap
类
- 调整
Resources 文件夹
- 调整
GBKToUTF8
类 - 调整
LocationMap
类 - 实现
StartupScene
类与交互细节 - 实现
MenuScene
类与交互细节 - 初步实现
OfflineModePreparationScene
类与交互细节 - 初步实现
Battle
类 - 确定战斗英雄属性参数
- 完成战斗英雄绘制
- 初步实现
ChampionAttributesLayer
类
- 实现
ChampionAttributesLayer
类 - 实现
PlacementMarkerLayer
类 - 绘制商店相关按钮
- 基本实现
HumanPlayer
类 - 基本实现
OfflineModePreparationScene
类与交互细节
- 实现金币系统
- 调整命名空间
- 实现
OfflineModePreparationScene
类与交互细节
- 实现
Battle
类 - 实现
Champion
类 - 实现
OfflineModeBattleScene
类 - 实现
OfflineModeControl
类 - 实现
ScoreBoardLayer
类 - 工作对接与项目仓库整合
- 基本实现练习模式
- 实现
Control
类 - 实现生命条与经验条效果
- 实现武器动画效果
- 完善游戏功能性与平衡性
- 实现商店推荐算法
- 实现 AI 落子算法
- 实现
Player
类 - 实现
AIPlayer
类 - 实现
HumanPlayer
类 - 工作对接与项目仓库整合
- 实现练习模式
- 完善商店推荐算法
- 完善 AI 落子算法
- 基本实现
OnlineModeMenuScene
类与交互细节
- 初步实现
OnlineModeControl
类 - 初步实现
OnlineModePreparationScene
类与交互细节 - 初步实现
OnlineModeBattleScene
类与交互细节 - 实现
SelectionScene
类与交互细节 - 实现
SettingsScene
类与交互细节 - 初步实现联机模式
- 实现小小英雄移动功能
- 实现羁绊系统
- 弃用
GBKToUTF8
类 - 基本实现
OnlineModeControl
类 - 基本实现
OnlineModePreparationScene
类与交互细节 - 基本实现
OnlineModeBattleScene
类与交互细节 - 实现
OfflineModeRuneScene
类与交互细节 - 基本实现联机模式
- 实现音频引擎
- 实现天赋符文系统
- 调整
Resources 文件夹
- 实现
OnlineModeControl
类 - 实现
OnlineModePreparationScene
类与交互细节 - 实现
OnlineModeBattleScene
类与交互细节 - 实现
OnlineModeMenuScene
类与交互细节 - 实现
ReferenceScene
类与交互细节 - 实现
Server
类 - 实现联机模式
- 游戏功能性与平衡性测试
- 项目收尾工作
- 完善项目自述文档
README.md
- Project Defense Slides 制作
- 答辩验收
- Microsoft Visual Studio 2022
- 本项目仅适用于x86架构
The code and materials contained in this repository are intended for personal learning and research purposes only and may not be used for any commercial purposes. Other users who download or refer to the content of this repository must strictly adhere to the principles of academic integrity and must not use these materials for any form of homework submission or other actions that may violate academic honesty. I am not responsible for any direct or indirect consequences arising from the improper use of the contents of this repository. Please ensure that your actions comply with the regulations of your school or institution, as well as applicable laws and regulations, before using this content. If you have any questions, please contact me via email.
本仓库包含的代码和资料仅用于个人学习和研究目的,不得用于任何商业用途。请其他用户在下载或参考本仓库内容时,严格遵守学术诚信原则,不得将这些资料用于任何形式的作业提交或其他可能违反学术诚信的行为。本人对因不恰当使用仓库内容导致的任何直接或间接后果不承担责任。请在使用前务必确保您的行为符合所在学校或机构的规定,以及适用的法律法规。如有任何问题,请通过电子邮件与我联系。
2024年12月1日