摘要
为了解决传统在线游戏软件设计过程中存在耦合度高、难以引入一种统一的开发模式问题,在研究MVC软件设计模式和Silverlight技术特点的基础上,选用Silverlight技术设计在线互动游戏,并引入MVC的软件设计模式。使用观察者模型,实现游戏元素表现逻辑和控制逻辑的分离,降低应用程序耦合度。并用事例说明使用MVC设计模式是有效和可行的,提出了在该模式基础上构建游戏开发框架的设想。
To solve the problem of the traditional online game software design exist high coupling and difficult to introduce a unified development model is presented. Based on research the MVC design pattern and the technical features of Silverlight,the game is designed with Silverlight and MVC pattern. In order to reduce application coupling degree , the observer model is used to separate the game element performance logic from the program logic. The game example shows that design with the pattern is effective and feasible. The idea of build game frameworks is proposed.
出处
《科学技术与工程》
2009年第21期6547-6550,6557,共5页
Science Technology and Engineering