基于 MVC 交互框架的塔防游戏的设计与实现The design and Implementation of Tower Defense Game based on MVC Interaction Frame 内容摘要在当前互联发信息大爆发,设备多元化的趋势下,在游戏开发的过程中游戏的优化格外重要,本课题主要通过将软件设计模式与实践操作相互结合,把软件开发中常用的“MVC 交互框架”(即 MVC 设计模式)运用到游戏开发之中,以“塔防游戏”为载体,对其进行实践运用与拓展研究。因为塔防游戏的瞬时数据并发量比较高,对开发的系统有比较高的要求,所以本次实践以其为载体,能够显著地体现出 MVC 交互框架对游戏优化的作用。而在本项目中,主要技术难点在于 MVC 设计模式的实际运用,因为MVC 模式虽然耦合度低,集合度高,但有个问题是内部结构对于不同项目可能不完全适用,所以需要结合项目实际需求,对 MVC 框架进行一定的修改优化,这就要求程序设计人员在设计运用时,要结合面向对象的知识,作出相应的优化。关键词: Unity MVC 设计模式 塔防游戏 Abstract Game performance optimization becoming more and more important in game design with the trend of Internet Information shape Explosion and mutual facilities rapid development.This subject fuses the program design mode and practical utilization,using the MVC frame in game development to utilize and research,by a Tower Defense Game.Because Tower Defense Game `s instant data is extreme huge and has high demand to system,using Tower Defense Game can reflect the function of MVC frame obviously. And the technology diffliculty is the practical utilization of MVC frame.Even though MVC frame has lots of advance,such as low coupling、high integration,the most seriously shortcoming is it`s core frame needs adjust in different project.That means the different peoject needs different frame.We require modify the frame base on our requirement,and do some delete or rebuild in necessary.Key words: Unity MVC Tower Defences Game 目录第一章 绪论..................................................11.1选题的...