Font Size: a A A

Study On The Adaptation Of PureMVC Framework And Seed Fill Algorithm

Posted on:2015-11-20Degree:MasterType:Thesis
Country:ChinaCandidate:L J SunFull Text:PDF
GTID:2308330479489960Subject:Information and Communication Engineering
Abstract/Summary:PDF Full Text Request
The three most profitable modes in internet are games, E-commerce and advertising, of which games take the largest share. In recent years, simple puzzle games have swept the whole world. People have lots of interest in the realization of such games. Game development generally involves two aspects: the framework and the logic algorithm. A good framework can reduce the coupling of game function, provide convenience for game developers, and also make the game more extended and maintainable; while a good logic algorithm can improve the robustness of game, reduce bugs and improve the user experience. But in most cases, the framework and logic algorithm do not fit well together, which leads to the poor performance of both the good framework and the good logic algorithm. This is a major problem that exists in simple puzzle games development. The purpose of this dissertation is to optimize the combination of a good framework and a classical algorithm, and implement the algorithm process based on the framework, in order to make the framework and algorithm fit together. In addition this dissertation also provides a universal solution for the development of match-three game.Through the research on lightweight and heavyweight framework, we choose a lightweight framework of Pure MVC(Pure Model-View-Controller Framework), which is more suitable for developing simple puzzle games. This dissertation makes a research on the three-part structure of Pure MVC, including model, view and controller, and studies the function of each part. Then it investigates the message mechanism running in the framework. This dissertation also has an in-depth analysis on the controller part of the framework, which is responsible for business logic and complex operations, to understand the importance of this part. While it also studies and implements the classic seed filling algorithm. Then it has an in-depth research on scan line seed fill algorithm,which is an improved algorithm of seed fill algorithm. This dissertation implements the scan line seed fill algorithm based on Pure MVC framework, and completes a visual and interactive system, which makes the Pure MVC framework and scan line seed fill algorithm fit together.Finally, based on the above findings, we use the fitted Pure MVC framework and scan line seed fill algorithm to develop match-three games, design the flow of match-three game. Then we split the flow into three parts, implements and analyzes each part of the whole flow. At last we develop a new simplematch-three game-Cavity Rush.
Keywords/Search Tags:Pure MVC, Controller, Scan line seed fill algorithm, Cavity Rush
PDF Full Text Request
Related items